/* ==========================================================================
   NSGROUPS — DESIGN SYSTEM
   Palette:  Deep Blue #0B1F3A · Gold #D4AF37 · White #FFFFFF
             Light Grey #F4F5F7 · Dark Charcoal #1A1A1A
   Type:     Playfair Display (headings) · Poppins (body/UI)
   ========================================================================== */

:root{
  --navy:        #0B1F3A;
  --navy-deep:   #071426;
  --gold:        #D4AF37;
  --gold-soft:   #E7C766;
  --white:       #FFFFFF;
  --grey-light:  #F4F5F7;
  --grey-mid:    #C9CDD4;
  --charcoal:    #1A1A1A;
  --text-muted:  #5B6472;

  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'Poppins', -apple-system, Segoe UI, sans-serif;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 18px;

  --shadow-soft: 0 20px 45px -20px rgba(11,31,58,0.25);
  --shadow-gold: 0 10px 30px -12px rgba(212,175,55,0.45);

  --container-max: 1240px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,h2,h3,h4, .font-head{
  font-family: var(--font-head);
  color: var(--navy);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.2px;
}

h2.section-title{
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  margin-bottom: 0.6rem;
}

p.section-lead{
  color: var(--text-muted);
  max-width: 620px;
  font-size: 1.05rem;
}

.text-gold{ color: var(--gold) !important; }
.bg-navy{ background-color: var(--navy) !important; }
.bg-grey-light{ background-color: var(--grey-light) !important; }

a{ text-decoration: none; color: inherit; }

.container-narrow{
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

section{ padding: 5.5rem 0; }
@media (max-width: 767px){ section{ padding: 3.5rem 0; } }

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  color: var(--gold);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  margin-bottom: 0.9rem;
}
.eyebrow::before{
  content:"";
  width: 26px; height: 2px;
  background: var(--gold);
  display:inline-block;
}

/* ---------------- Buttons ---------------- */
.btn-gold{
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  color: var(--navy-deep);
  border: none;
  font-weight: 600;
  padding: 0.85rem 1.9rem;
  border-radius: var(--radius-sm);
  transition: transform .25s ease, box-shadow .25s ease;
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover{ transform: translateY(-2px); color: var(--navy-deep); box-shadow: 0 16px 34px -12px rgba(212,175,55,.55); }

.btn-outline-light-custom{
  border: 1.5px solid rgba(255,255,255,0.55);
  color: var(--white);
  font-weight: 600;
  padding: 0.8rem 1.85rem;
  border-radius: var(--radius-sm);
  transition: all .25s ease;
  background: transparent;
}
.btn-outline-light-custom:hover{
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  color: var(--white);
}

.btn-navy-outline{
  border: 1.5px solid var(--navy);
  color: var(--navy);
  font-weight: 600;
  padding: 0.75rem 1.7rem;
  border-radius: var(--radius-sm);
  transition: all .25s ease;
  background: transparent;
  display:inline-block;
}
.btn-navy-outline:hover{ background: var(--navy); color: var(--white); }

/* ---------------- Navbar ---------------- */
.navbar-ns{
  padding: 1.1rem 0;
  transition: background .35s ease, box-shadow .35s ease, padding .35s ease;
  background: rgba(11,31,58,0);
}
.navbar-ns.scrolled{
  background: rgba(7,20,38,0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 26px rgba(0,0,0,0.18);
  padding: 0.65rem 0;
}
.navbar-ns .navbar-brand{
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--white);
}
.navbar-ns .navbar-brand span{ color: var(--gold); }
.navbar-ns .nav-link{
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  font-size: 0.95rem;
  margin: 0 0.65rem;
  position: relative;
  padding: 0.4rem 0 !important;
}
.navbar-ns .nav-link::after{
  content:"";
  position:absolute; left:0; bottom:-2px;
  width:0; height:2px;
  background: var(--gold);
  transition: width .25s ease;
}
.navbar-ns .nav-link:hover::after,
.navbar-ns .nav-link.active::after{ width:100%; }
.navbar-ns .nav-link.active{ color: var(--white); }
.navbar-ns .btn-gold{ padding: 0.55rem 1.4rem; font-size: 0.92rem; }
.navbar-toggler{ border:none; box-shadow:none !important; }
.navbar-toggler .bi{ color:#fff; font-size:1.5rem; }

/* ---------------- Hero ---------------- */
.hero{
  min-height: 100vh;
  display:flex;
  align-items:center;
  position: relative;
  background:
    linear-gradient(180deg, rgba(7,20,38,0.82) 0%, rgba(7,20,38,0.92) 60%, rgba(7,20,38,0.98) 100%),
    radial-gradient(circle at 80% 20%, rgba(212,175,55,0.18), transparent 45%),
    linear-gradient(120deg, #0B1F3A 0%, #12305A 55%, #0B1F3A 100%);
  color: var(--white);
  overflow: hidden;
}
.hero::before{
  content:"";
  position:absolute; inset:0;
  background-image:
    repeating-linear-gradient(115deg, rgba(255,255,255,0.035) 0px, rgba(255,255,255,0.035) 1px, transparent 1px, transparent 90px);
  pointer-events:none;
}
.hero .hero-eyebrow{
  color: var(--gold);
  letter-spacing: 0.08em;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 1.2rem;
}
.hero h1{
  color: var(--white);
  font-size: clamp(2.4rem, 5.2vw, 4.2rem);
  max-width: 820px;
}
.hero .hero-sub{
  color: rgba(255,255,255,0.82);
  max-width: 620px;
  font-size: 1.15rem;
  margin: 1.4rem 0 2.2rem;
}
.hero .hero-actions{ display:flex; gap: 1rem; flex-wrap: wrap; }
.hero-scroll{
  position:absolute; bottom: 2.2rem; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.7); font-size: 0.8rem; text-align:center;
}
.hero-scroll .line{
  width:1px; height: 40px; background: rgba(255,255,255,0.4); margin: 0.5rem auto 0;
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine{ 0%{transform:scaleY(0); transform-origin:top;} 50%{transform:scaleY(1); transform-origin:top;} 51%{transform-origin:bottom;} 100%{transform:scaleY(0); transform-origin:bottom;} }

/* ---------------- Company Cards ---------------- */
.company-card{
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(11,31,58,0.08);
  padding: 2.4rem 2rem;
  height: 100%;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
  position: relative;
  overflow: hidden;
}
.company-card::after{
  content:"";
  position:absolute; left:0; right:0; bottom:0; height:3px;
  background: linear-gradient(90deg, var(--gold-soft), var(--gold));
  transform: scaleX(0); transform-origin:left;
  transition: transform .35s ease;
}
.company-card:hover{
  transform: translateY(-8px);
  box-shadow: var(--shadow-soft);
  border-color: transparent;
}
.company-card:hover::after{ transform: scaleX(1); }
.company-logo-mark{
  width: 62px; height: 62px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-family: var(--font-head);
  font-weight: 700;
  display:flex; align-items:center; justify-content:center;
  font-size: 1.25rem;
  margin-bottom: 1.4rem;
}
.company-card .industry-tag{
  display:inline-block;
  font-size: 0.78rem;
  color: var(--navy);
  background: var(--grey-light);
  padding: 0.3rem 0.75rem;
  border-radius: 30px;
  margin-bottom: 0.9rem;
  font-weight: 600;
}

/* ---------------- Timeline (Journey) ---------------- */
.journey-timeline{ position: relative; }
.journey-timeline::before{
  content:"";
  position:absolute; left: 27px; top: 6px; bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--gold), var(--navy));
}
@media (min-width: 992px){
  .journey-timeline::before{ left: 50%; transform: translateX(-1px); }
}
.timeline-item{
  position: relative;
  padding-left: 68px;
  margin-bottom: 2.6rem;
}
.timeline-item:last-child{ margin-bottom: 0; }
.timeline-dot{
  position:absolute; left: 12px; top: 4px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--navy);
  border: 3px solid var(--gold);
  color: var(--gold);
  font-weight: 700;
  font-size: 0.78rem;
  display:flex; align-items:center; justify-content:center;
}
@media (min-width: 992px){
  .timeline-item{ width: 50%; padding-left: 0; padding-right: 3rem; text-align: right; }
  .timeline-item:nth-child(even){ margin-left: 50%; padding-right: 0; padding-left: 3rem; text-align:left; }
  .timeline-dot{ left: auto; right: -18px; }
  .timeline-item:nth-child(even) .timeline-dot{ left: -18px; right: auto; }
}
.timeline-year{
  color: var(--gold);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

/* ---------------- Why Us / Values icons ---------------- */
.icon-feature{
  padding: 2rem 1.6rem;
  border-radius: var(--radius-md);
  height: 100%;
  transition: transform .3s ease, background .3s ease;
}
.icon-feature:hover{ transform: translateY(-4px); }
.icon-feature .icon-wrap{
  width: 58px; height: 58px;
  border-radius: 50%;
  background: rgba(212,175,55,0.12);
  color: var(--gold);
  display:flex; align-items:center; justify-content:center;
  font-size: 1.5rem;
  margin-bottom: 1.1rem;
}

/* ---------------- Stats ---------------- */
.stats-band{
  background: var(--navy);
  color: var(--white);
  position: relative;
}
.stat-number{
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: var(--gold);
  font-weight: 700;
}
.stat-label{ color: rgba(255,255,255,0.78); font-size: 0.92rem; }

/* ---------------- Testimonials ---------------- */
.testimonial-card{
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.4rem;
  box-shadow: var(--shadow-soft);
  height: 100%;
}
.testimonial-card .bi-quote{ color: var(--gold); font-size: 1.8rem; }
.testimonial-name{ font-weight: 600; color: var(--navy); }
.testimonial-role{ color: var(--text-muted); font-size: 0.86rem; }

/* ---------------- Gallery placeholders ---------------- */
.gallery-tile{
  border-radius: var(--radius-md);
  aspect-ratio: 4/3;
  display:flex; align-items:center; justify-content:center;
  color: rgba(255,255,255,0.85);
  font-family: var(--font-head);
  font-size: 1.05rem;
  text-align: center;
  padding: 1rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, var(--navy), #17325c);
}
.gallery-tile .bi{ font-size: 1.8rem; display:block; margin-bottom:.5rem; color: var(--gold); }
.gallery-tile.tile-gold{ background: linear-gradient(145deg, #7a6323, var(--gold)); color: var(--navy-deep); }
.gallery-tile.tile-gold .bi{ color: var(--navy); }
.gallery-tile.tile-grey{ background: linear-gradient(145deg, #3c4a5e, #6d7c92); }

/* ---------------- Company detail sections ---------------- */
.company-detail{ border-top: 1px solid rgba(11,31,58,0.08); }
.company-detail:first-of-type{ border-top: none; }
.detail-services li{
  padding-left: 1.7rem;
  position: relative;
  margin-bottom: 0.85rem;
}
.detail-services li::before{
  content: "\F633"; /* bootstrap-icons check2-circle */
  font-family: "bootstrap-icons";
  position:absolute; left:0; top: 0;
  color: var(--gold);
}

/* ---------------- Forms ---------------- */
.form-control-ns{
  border: 1px solid rgba(11,31,58,0.15);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
}
.form-control-ns:focus{
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,175,55,0.18);
}
label.form-label-ns{
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

/* ---------------- Footer ---------------- */
footer.site-footer{
  background: var(--navy-deep);
  color: rgba(255,255,255,0.75);
  padding-top: 4.5rem;
}
footer.site-footer h5{
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 1.2rem;
}
footer.site-footer a.footer-link{
  color: rgba(255,255,255,0.7);
  display:block;
  margin-bottom: 0.6rem;
  transition: color .2s ease, padding-left .2s ease;
  font-size: 0.92rem;
}
footer.site-footer a.footer-link:hover{ color: var(--gold); padding-left: 4px; }
footer.site-footer .brand{
  font-family: var(--font-head);
  font-size: 1.4rem;
  color: var(--white);
  font-weight: 700;
}
footer.site-footer .brand span{ color: var(--gold); }
.footer-bottom{
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 3rem;
  padding: 1.4rem 0;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
}
.social-icon{
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  display:inline-flex; align-items:center; justify-content:center;
  margin-right: 0.6rem;
  transition: all .25s ease;
}
.social-icon:hover{ background: var(--gold); border-color: var(--gold); color: var(--navy-deep); }

/* ---------------- WhatsApp float ---------------- */
.whatsapp-float{
  position: fixed; right: 22px; bottom: 22px; z-index: 1050;
  width: 58px; height: 58px;
  background: #25D366;
  border-radius: 50%;
  display:flex; align-items:center; justify-content:center;
  color:#fff; font-size: 1.7rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  transition: transform .2s ease;
}
.whatsapp-float:hover{ transform: scale(1.08); color:#fff; }

/* ---------------- Back to top ---------------- */
.back-to-top{
  position: fixed; right: 22px; bottom: 92px; z-index: 1050;
  width: 46px; height: 46px;
  background: var(--navy);
  color: var(--gold);
  border-radius: 50%;
  display:flex; align-items:center; justify-content:center;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all .3s ease;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}
.back-to-top.show{ opacity:1; visibility:visible; transform: translateY(0); }

/* ---------------- Page header (inner pages) ---------------- */
.page-header{
  background: linear-gradient(180deg, rgba(7,20,38,0.9), rgba(7,20,38,0.96)), linear-gradient(120deg,#0B1F3A,#12305A);
  color:#fff;
  padding: 9rem 0 4.5rem;
  text-align:center;
}
.page-header h1{ color:#fff; font-size: clamp(2rem, 4vw, 3rem); }
.page-header .breadcrumb-ns a{ color: rgba(255,255,255,0.65); }
.page-header .breadcrumb-ns a:hover{ color: var(--gold); }
.page-header .breadcrumb-ns span{ color: var(--gold); }

/* ---------------- Cookie notice ---------------- */
.cookie-banner{
  position: fixed; left:0; right:0; bottom:0; z-index: 1100;
  background: var(--navy-deep);
  color: rgba(255,255,255,0.85);
  padding: 1.1rem 1.5rem;
  transform: translateY(100%);
  transition: transform .4s ease;
}
.cookie-banner.show{ transform: translateY(0); }
.cookie-banner a{ color: var(--gold); text-decoration: underline; }

/* ---------------- Loader ---------------- */
#page-loader{
  position: fixed; inset:0; z-index: 2000;
  background: var(--navy-deep);
  display:flex; align-items:center; justify-content:center;
  transition: opacity .5s ease, visibility .5s ease;
}
#page-loader.loaded{ opacity:0; visibility:hidden; }
#page-loader .loader-mark{
  font-family: var(--font-head);
  color: var(--white);
  font-size: 1.6rem;
  letter-spacing: 0.05em;
}
#page-loader .loader-mark span{ color: var(--gold); }
#page-loader .loader-bar{
  width: 160px; height: 2px; background: rgba(255,255,255,0.15);
  margin-top: 1rem; overflow:hidden; border-radius: 2px;
}
#page-loader .loader-bar::after{
  content:""; display:block; height:100%; width: 40%;
  background: var(--gold);
  animation: loaderMove 1.1s ease-in-out infinite;
}
@keyframes loaderMove{
  0%{ transform: translateX(-100%); }
  100%{ transform: translateX(260%); }
}

/* ---------------- Accessibility ---------------- */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible{
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}
