/* ==========================================================================
   Super Star Safety Net — Stylesheet
   ========================================================================== */

:root {
  --brand-blue: #0b3d91;
  --brand-blue-dark: #082a66;
  --brand-blue-light: #1a5fc4;
  --brand-orange: #ff7a00;
  --brand-orange-dark: #e25f00;
  --brand-white: #ffffff;
  --ink: #1c2733;
  --muted: #6b7686;
  --soft-bg: #f4f7fb;
  --radius-lg: 1.25rem;
  --radius-md: 0.9rem;
  --shadow-soft: 0 10px 30px rgba(11, 61, 145, 0.08);
  --shadow-hover: 0 20px 45px rgba(11, 61, 145, 0.16);
  --accent-color: #ff7a00;
  --accent-secondary-color: #e25f00;
}

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

body {
  font-family: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background-color: var(--brand-white);
  overflow-x: hidden;
  max-width: 100%;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  letter-spacing: -0.01em;
}

.section-padding {
  padding: 5rem 0;
}

@media (max-width: 767.98px) {
  .section-padding {
    padding: 3rem 0;
  }
}

.text-orange {
  color: var(--brand-orange) !important;
}

.bg-soft {
  background-color: var(--soft-bg);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-orange);
  background: rgba(255, 122, 0, 0.1);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

/* ---------------- Buttons ---------------- */
.btn-gradient-orange {
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-orange-dark));
  color: #fff;
  border: none;
  font-weight: 600;
  padding: 0.7rem 1.75rem;
  border-radius: 50px;
  box-shadow: 0 8px 20px rgba(255, 122, 0, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.btn-gradient-orange:hover,
.btn-gradient-orange:focus {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(255, 122, 0, 0.45);
}

.btn-gradient-blue {
  background: linear-gradient(135deg, var(--brand-blue-light), var(--brand-blue-dark));
  color: #fff;
  border: none;
  font-weight: 600;
  padding: 0.7rem 1.75rem;
  border-radius: 50px;
  box-shadow: 0 8px 20px rgba(11, 61, 145, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.btn-gradient-blue:hover,
.btn-gradient-blue:focus {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(11, 61, 145, 0.45);
}

.btn-outline-light-custom {
  border: 2px solid #fff;
  color: #fff;
  font-weight: 600;
  padding: 0.65rem 1.7rem;
  border-radius: 50px;
  background: transparent;
  transition: all 0.25s ease;
}

.btn-outline-light-custom:hover {
  background: #fff;
  color: var(--brand-blue);
}

/* ---------------- Header / Navbar ---------------- */
.navbar-brand-wrap {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.navbar-brand-wrap .logo-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.3rem;
  box-shadow: 0 6px 16px rgba(11, 61, 145, 0.35);
}

.navbar-brand-wrap .brand-text {
  line-height: 1.05;
}

.navbar-brand-wrap .brand-text .brand-main {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--brand-blue);
}

.navbar-brand-wrap .brand-text .brand-sub {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--brand-orange);
  text-transform: uppercase;
}

#mainNav {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  transition: box-shadow 0.3s ease, padding 0.3s ease;
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
}

#mainNav.scrolled {
  box-shadow: 0 8px 24px rgba(11, 61, 145, 0.12);
}

#mainNav .nav-link {
  font-weight: 600;
  color: var(--ink);
  margin: 0 0.35rem;
  position: relative;
}

#mainNav .nav-link.active,
#mainNav .nav-link:hover {
  color: var(--brand-blue);
}

#mainNav .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--brand-orange);
  transition: width 0.25s ease;
}

#mainNav .nav-link:hover::after,
#mainNav .nav-link.active::after {
  width: 100%;
}

.btn-call-header {
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-orange-dark));
  color: #fff !important;
  font-weight: 700;
  border-radius: 50px;
  padding: 0.55rem 1.4rem;
  box-shadow: 0 8px 18px rgba(255, 122, 0, 0.35);
  transition: transform 0.2s ease;
}

.btn-call-header:hover {
  transform: translateY(-2px);
  color: #fff !important;
}

/* ---------------- Hero / Carousel ---------------- */
.hero-carousel {
  margin-top: 0;
}

.hero-slide {
  height: 100vh;
  min-height: 560px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(6, 30, 76, 0.88) 0%, rgba(6, 30, 76, 0.68) 45%, rgba(6, 30, 76, 0.45) 100%);
}

.hero-slide .container {
  position: relative;
  z-index: 2;
}

.hero-slide .hero-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(255, 122, 0, 0.9);
  color: #fff;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.hero-slide h1 {
  color: #fff;
  font-size: clamp(1.9rem, 4.5vw, 3.4rem);
  margin-bottom: 1.1rem;
  text-shadow: 0 4px 18px rgba(0,0,0,0.25);
}

.hero-slide p.lead {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  max-width: 640px;
  margin-bottom: 2rem;
}

.hero-slide .hero-btns .btn {
  margin-right: 0.75rem;
  margin-bottom: 0.5rem;
}

.carousel-indicators [data-bs-target] {
  background-color: var(--brand-orange);
  width: 34px;
  height: 4px;
  border-radius: 2px;
}

.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
  width: 5%;
  opacity: 0.7;
}

/* ---------------- About ---------------- */
.about-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.about-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.about-img-wrap:hover img {
  transform: scale(1.05);
}

.about-experience-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1rem;
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-orange-dark));
  color: #fff;
  border-radius: var(--radius-md);
  padding: 1rem 1.4rem;
  box-shadow: 0 12px 28px rgba(255, 122, 0, 0.4);
  text-align: center;
}

.about-experience-badge .num {
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
}

.about-experience-badge .lbl {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.about-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-bottom: 0.8rem;
  font-weight: 500;
}

.about-check-list i {
  color: var(--brand-orange);
  margin-top: 0.2rem;
}

/* ---------------- Section headings ---------------- */
.section-heading {
  max-width: 700px;
  margin: 0 auto 3rem;
  text-align: center;
}

.section-heading h2 {
  color: var(--brand-blue);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.section-heading p {
  color: var(--muted);
}

/* ---------------- Service Cards ---------------- */
.service-card {
  border: none;
  border-radius: var(--radius-lg);
  overflow: visible;
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  height: 100%;
  background: #fff;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.service-card .img-wrap {
  position: relative;
  overflow: visible;
  height: 220px;
}

.service-card .img-wrap .img-inner {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.service-card .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.service-card:hover .img-wrap img {
  transform: scale(1.12);
}

.service-card .icon-badge {
  position: absolute;
  bottom: -24px;
  left: 20px;
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-light));
  color: #fff;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 8px 18px rgba(11, 61, 145, 0.4);
  z-index: 3;
}

.service-card .card-body {
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  overflow: hidden;
  padding: 2rem 1.3rem 1.4rem;
}

.service-card .card-title {
  color: var(--brand-blue);
  font-weight: 700;
  font-size: 1.15rem;
}

.service-card .card-text {
  color: var(--muted);
  font-size: 0.93rem;
  min-height: 72px;
}

.service-card .btn-row {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.service-card .btn-row .btn {
  flex: 1 1 auto;
  font-size: 0.85rem;
  padding: 0.5rem 0.8rem;
  white-space: nowrap;
}

/* ---------------- Why Choose Us ---------------- */
.feature-card {
  text-align: center;
  padding: 2.2rem 1.4rem;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-soft);
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  background: linear-gradient(160deg, #ffffff, #eef4ff);
}

.feature-icon {
  width: 74px;
  height: 74px;
  margin: 0 auto 1.2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-light));
  box-shadow: 0 10px 22px rgba(11, 61, 145, 0.35);
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: rotate(-8deg) scale(1.08);
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-orange-dark));
}

.feature-card h5 {
  color: var(--brand-blue);
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.feature-card p {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 0;
}

/* ---------------- Gallery ---------------- */
.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  position: relative;
  height: 260px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item .gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,61,145,0) 40%, rgba(11,61,145,0.85) 100%);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay span {
  color: #fff;
  font-weight: 600;
}

/* ---------------- CTA ---------------- */
.cta-section {
  position: relative;
  background: linear-gradient(120deg, rgba(8,42,102,0.93), rgba(11,61,145,0.88)), url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?q=80&w=1740&auto=format&fit=crop') center/cover no-repeat;
  color: #fff;
  overflow: hidden;
}

.cta-section h2 {
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.cta-section p {
  color: rgba(255,255,255,0.9);
  max-width: 600px;
}

/* ---------------- Contact ---------------- */
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.6rem;
}

.contact-info-item .icon-circle {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-light));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 8px 18px rgba(11,61,145,0.35);
}

.contact-info-item h6 {
  color: var(--brand-blue);
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.contact-info-item p {
  color: var(--muted);
  margin-bottom: 0;
}

.form-control, .form-select {
  border-radius: 0.7rem;
  border: 1.5px solid #e3e8f0;
  padding: 0.65rem 1rem;
}

.form-control:focus, .form-select:focus {
  border-color: var(--brand-blue-light);
  box-shadow: 0 0 0 0.2rem rgba(26, 95, 196, 0.15);
}

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  line-height: 0;
}

/* ---------------- Floating Buttons ---------------- */
.floating-btns {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.floating-btns .fab {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.4rem;
  box-shadow: 0 10px 24px rgba(0,0,0,0.25);
  transition: transform 0.25s ease;
}

.floating-btns .fab:hover {
  transform: scale(1.12);
  color: #fff;
}

.fab-call {
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-light));
}

@media (max-width: 575.98px) {
  .floating-btns .fab {
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
  }
}

/* ---------------- Enquire Side Tab (rotated, icon + text in one line) ---------------- */
/* The wrap is the exact rotated footprint (width=thickness, height=length) and
   clips at overflow:hidden so the tab can never bleed past the viewport edge. */
.enquire-tab-wrap {
  position: fixed;
  right: 0;
  top: 50%;
  width: 50px;
  height: 190px;
  transform: translateY(-50%);
  overflow: hidden;
  z-index: 1050;
  pointer-events: none;
}

.enquire-side-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 190px;
  height: 50px;
  transform: translate(-50%, -50%) rotate(-90deg);
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-orange-dark));
  color: #fff;
  font-weight: 700;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  text-decoration: none;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  letter-spacing: 0.03em;
  pointer-events: auto;
  transition: background 0.25s ease;
}

.enquire-side-btn:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--brand-orange-dark), var(--brand-orange));
}

@media (max-width: 575.98px) {
  .enquire-tab-wrap {
    width: 42px;
    height: 150px;
  }

  .enquire-side-btn {
    width: 150px;
    height: 42px;
    font-size: 0.85rem;
  }
}

/* ---------------- Footer ---------------- */
footer {
  background: var(--brand-blue-dark);
  color: rgba(255,255,255,0.85);
}

.footer-bottom {
  background: #061c40;
  padding: 1rem 0;
  font-size: 0.85rem;
}

/* ---------------- Modal ---------------- */
.modal-content {
  border-radius: var(--radius-lg);
  border: none;
}

.modal-header {
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-light));
  color: #fff;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.modal-header .btn-close {
  filter: invert(1);
}

/* ---------------- Misc ---------------- */
.back-to-top {
  position: fixed;
  bottom: 1.2rem;
  left: 1.2rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--brand-blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(11,61,145,0.35);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}
