/* =========================================================
   Vikranta Cargo – Landing Page Styles
   ========================================================= */

/* ---------- Local fonts (Poppins) ---------- */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/poppins/poppins-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/poppins/poppins-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/poppins/poppins-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/poppins/poppins-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/poppins/poppins-latin-800-normal.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
  --navy: #16324F;
  --navy-dark: #0f2439;
  --blue: #245B85;
  --accent: #F28C28;
  --accent-dark: #d9741a;
  --bg-soft: #F5F7FA;
  --text: #252B33;
  --muted: #5f6b7a;
  --white: #FFFFFF;
  --radius: 14px;
  --shadow-sm: 0 4px 14px rgba(22, 50, 79, .08);
  --shadow-md: 0 14px 34px rgba(22, 50, 79, .14);
  --nav-h: 92px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); overflow-x: hidden; }
body {
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 { font-weight: 700; color: var(--navy); line-height: 1.25; }
a { color: var(--blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent); }
img { max-width: 100%; }
address { font-style: normal; }
.text-accent { color: var(--accent) !important; }
.text-light-muted { color: rgba(255, 255, 255, .75) !important; }
.bg-soft { background: var(--bg-soft); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn { font-weight: 600; border-radius: 10px; padding: .6rem 1.25rem; transition: all .25s var(--ease); }
.btn-lg { padding: .8rem 1.6rem; font-size: 1rem; }
.btn-accent { background: var(--accent); border: 2px solid var(--accent); color: #fff; }
.btn-accent:hover, .btn-accent:focus { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(242, 140, 40, .35); }
.btn-outline-navy { border: 2px solid var(--navy); color: var(--navy); background: transparent; }
.btn-outline-navy:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }
.btn-outline-light:hover { color: var(--navy); transform: translateY(-2px); }

/* ---------- Navbar ---------- */
#mainNav {
  background: var(--white);
  min-height: var(--nav-h);
  transition: box-shadow .3s, min-height .3s;
  border-bottom: 1px solid transparent;
}
#mainNav.scrolled { box-shadow: 0 6px 24px rgba(22, 50, 79, .12); border-bottom-color: #e8edf3; min-height: 74px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 10px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: var(--accent); font-size: 1.15rem;
}
.navbar-brand.brand { padding: 0; }
.brand-logo { height: 78px; width: auto; display: block; transition: height .3s; }
#mainNav.scrolled .brand-logo { height: 62px; }
@media (max-width: 575.98px) { .brand-logo { height: 66px; } #mainNav.scrolled .brand-logo { height: 56px; } }
.brand-text { font-size: 1.35rem; font-weight: 800; color: var(--navy); letter-spacing: -.3px; }
.brand-text span { color: var(--accent); margin-left: 4px; }
#mainNav .nav-link { color: var(--text); font-weight: 500; padding: .5rem .85rem; position: relative; }
#mainNav .nav-link::after {
  content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .25rem;
  height: 2px; background: var(--accent); transform: scaleX(0); transition: transform .25s var(--ease);
}
#mainNav .nav-link:hover, #mainNav .nav-link.active { color: var(--navy); }
#mainNav .nav-link:hover::after, #mainNav .nav-link.active::after { transform: scaleX(1); }
.navbar-toggler { border: 0; padding: .5rem; display: flex; flex-direction: column; gap: 5px; }
.navbar-toggler:focus { box-shadow: none; }
.toggler-bar { display: block; width: 26px; height: 3px; border-radius: 3px; background: var(--navy); transition: .3s; }
.navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(2) { opacity: 0; }
.navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 991.98px) {
  #navMenu { padding: .75rem 0 1rem; }
  #mainNav .nav-link::after { display: none; }
  #mainNav .nav-link { border-bottom: 1px solid #eef1f5; padding: .7rem .25rem; }
  .btn-call-nav { width: 100%; }
}

/* ---------- Hero ---------- */
.hero { margin-top: var(--nav-h); }
.hero .carousel-item {
  height: calc(100vh - var(--nav-h));
  min-height: 560px; max-height: 860px;
  background-size: cover; background-position: center;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(15, 36, 57, .92) 0%, rgba(22, 50, 79, .78) 45%, rgba(22, 50, 79, .35) 100%);
}
.hero-content {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; justify-content: center;
  color: #fff; max-width: 1140px;
}
.hero-content > * { max-width: 720px; }
.hero-tag {
  display: inline-flex; align-items: center; align-self: flex-start;
  background: rgba(242, 140, 40, .16); border: 1px solid rgba(242, 140, 40, .55);
  color: #ffd2a6; font-size: .85rem; font-weight: 500;
  padding: .4rem .9rem; border-radius: 50px; margin-bottom: 1.25rem;
}
.hero-title { color: #fff; font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 800; margin-bottom: 1rem; letter-spacing: -.5px; }
.hero-text { font-size: clamp(1rem, 1.6vw, 1.15rem); color: rgba(255, 255, 255, .88); margin-bottom: 2rem; }
.hero-btns { display: flex; flex-wrap: wrap; gap: .85rem; }
.carousel-item.active .hero-tag,
.carousel-item.active .hero-title,
.carousel-item.active .hero-text,
.carousel-item.active .hero-btns { animation: heroUp .9s var(--ease) both; }
.carousel-item.active .hero-title { animation-delay: .12s; }
.carousel-item.active .hero-text { animation-delay: .24s; }
.carousel-item.active .hero-btns { animation-delay: .36s; }
@keyframes heroUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
.carousel-control-prev, .carousel-control-next { width: 7%; opacity: 1; z-index: 3; }
.hero-arrow {
  width: 50px; height: 50px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .35);
  color: #fff; transition: .25s;
}
.carousel-control-prev:hover .hero-arrow, .carousel-control-next:hover .hero-arrow { background: var(--accent); border-color: var(--accent); }
.carousel-indicators { z-index: 3; margin-bottom: 2rem; }
.carousel-indicators [data-bs-target] { width: 30px; height: 4px; border-radius: 4px; border: 0; background: #fff; opacity: .45; transition: .3s; }
.carousel-indicators .active { width: 48px; background: var(--accent); opacity: 1; }

@media (max-width: 767.98px) {
  .hero .carousel-item { min-height: 600px; height: auto; }
  .hero-content { padding: 4.5rem 1.25rem 5rem; min-height: 600px; }
  .hero-overlay { background: linear-gradient(180deg, rgba(15, 36, 57, .85), rgba(22, 50, 79, .8)); }
  .carousel-control-prev, .carousel-control-next { display: none; }
  .hero-btns .btn { flex: 1 1 100%; }
}

/* ---------- Quick strip ---------- */
.quick-strip { background: var(--navy); padding: 1.25rem 0; }
.qs-item { display: flex; align-items: center; justify-content: center; gap: .7rem; color: #fff; font-weight: 500; }
.qs-item i { color: var(--accent); font-size: 1.3rem; }
@media (min-width: 768px) { .qs-item { justify-content: flex-start; } }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
@media (max-width: 767.98px) { .section { padding: 64px 0; } }
.section-head { max-width: 720px; margin: 0 auto 3rem; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  color: var(--accent); margin-bottom: .6rem; position: relative; padding-left: 34px;
}
.eyebrow::before { content: ""; position: absolute; left: 0; top: 50%; width: 24px; height: 2px; background: var(--accent); }
.section-head .eyebrow { padding: 0 34px; }
.section-head .eyebrow::after { content: ""; position: absolute; right: 0; top: 50%; width: 24px; height: 2px; background: var(--accent); }
.section-title { font-size: clamp(1.75rem, 3.4vw, 2.5rem); font-weight: 800; margin-bottom: .5rem; }
.section-sub { font-style: italic; color: var(--blue); font-weight: 500; font-size: 1.05rem; margin-bottom: 1.25rem; }

/* ---------- About ---------- */
.about-img-wrap { position: relative; padding: 0 0 28px 28px; }
.about-img-wrap::before {
  content: ""; position: absolute; left: 0; bottom: 0; width: 70%; height: 70%;
  border-radius: var(--radius); background: var(--accent); opacity: .9;
}
.about-img { position: relative; border-radius: var(--radius); box-shadow: var(--shadow-md); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.about-badge {
  position: absolute; right: -10px; top: 24px;
  display: flex; align-items: center; gap: .8rem;
  background: #fff; padding: .9rem 1.1rem; border-radius: 12px; box-shadow: var(--shadow-md);
}
.about-badge i { font-size: 1.6rem; color: var(--accent); }
.about-badge strong { display: block; color: var(--navy); font-size: .95rem; }
.about-badge span { font-size: .8rem; color: var(--muted); }
@media (max-width: 991.98px) { .about-badge { right: 8px; top: 12px; } }
@media (max-width: 575.98px) { .about-badge { padding: .6rem .8rem; } }
.about-highlights { margin: 1.5rem 0; display: grid; gap: 1rem; }
.about-highlights li { display: flex; gap: .9rem; align-items: flex-start; }
.hl-icon {
  flex: 0 0 42px; height: 42px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(36, 91, 133, .1); color: var(--blue); font-size: 1rem;
}
.about-highlights strong { display: block; color: var(--navy); font-size: 1rem; }
.about-highlights span { color: var(--muted); font-size: .92rem; }

/* ---------- Service cards ---------- */
.service-card {
  height: 100%; display: flex; flex-direction: column;
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid #edf0f4;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.service-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #dfe5ec; }
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.service-card:hover .service-img img { transform: scale(1.07); }
.service-img::after { content: ""; position: absolute; inset: 50% 0 0; background: linear-gradient(transparent, rgba(15, 36, 57, .55)); pointer-events: none; }
.service-icon {
  position: absolute; left: 1.1rem; bottom: 1rem; z-index: 1;
  width: 50px; height: 50px; border-radius: 12px; display: grid; place-items: center;
  background: var(--accent); color: #fff; font-size: 1.2rem; box-shadow: 0 8px 18px rgba(242, 140, 40, .4);
}
.service-body { padding: 1.4rem; display: flex; flex-direction: column; flex: 1; }
.service-body h3 { font-size: 1.2rem; margin-bottom: .6rem; }
.service-body p { color: var(--muted); font-size: .93rem; flex: 1; }
.service-btns { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .5rem; }
.service-btns .btn { flex: 1 1 auto; padding: .55rem .8rem; font-size: .9rem; }

/* ---------- Why choose us ---------- */
.why-section {
  background:
    linear-gradient(135deg, rgba(15, 36, 57, .96), rgba(36, 91, 133, .93)),
    url("../image/Office%20Cabin/6.jpeg") center / cover fixed;
  color: #fff;
}
@media (max-width: 991.98px) { .why-section { background-attachment: scroll; } }
.why-section .section-head .eyebrow { color: var(--accent); }
.feature {
  height: 100%; padding: 1.8rem 1.6rem; border-radius: var(--radius);
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
  transition: transform .3s var(--ease), background .3s, border-color .3s;
}
.feature:hover { transform: translateY(-6px); background: rgba(255, 255, 255, .1); border-color: rgba(242, 140, 40, .6); }
.feature-icon {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
  background: var(--accent); color: #fff; font-size: 1.2rem; margin-bottom: 1.1rem;
}
.feature h3 { color: #fff; font-size: 1.15rem; margin-bottom: .5rem; }
.feature p { color: rgba(255, 255, 255, .78); margin: 0; font-size: .95rem; }

/* ---------- Gallery ---------- */
.gallery-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-bottom: 2rem; }
.filter-btn {
  border: 1px solid #d5dde7; background: #fff; color: var(--navy);
  padding: .45rem 1.1rem; border-radius: 50px; font-weight: 500; font-size: .9rem; transition: .25s;
}
.filter-btn:hover { border-color: var(--accent); color: var(--accent); }
.filter-btn.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.gallery-item { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; background: #dfe5ec; cursor: zoom-in; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery-item::after {
  content: "\f00e"; font-family: "Font Awesome 6 Free"; font-weight: 900;
  position: absolute; inset: 0; display: grid; place-items: center;
  color: #fff; font-size: 1.6rem; background: rgba(22, 50, 79, .55); opacity: 0; transition: opacity .3s;
}
.gallery-item .g-label {
  position: absolute; left: .7rem; bottom: .7rem; z-index: 2;
  background: rgba(255, 255, 255, .92); color: var(--navy); font-size: .75rem; font-weight: 600;
  padding: .2rem .6rem; border-radius: 50px;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item:hover::after, .gallery-item:focus-visible::after { opacity: 1; }
.gallery-col.is-hidden { display: none; }

.lightbox-content { background: transparent; border: 0; position: relative; align-items: center; }
.lightbox-content img { max-height: 82vh; width: auto; max-width: 100%; border-radius: 10px; margin: 0 auto; display: block; }
.lb-caption { color: #fff; text-align: center; margin: .8rem 0 0; font-weight: 500; }
.lb-close { position: absolute; top: -2.5rem; right: 0; opacity: 1; }
.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 46px; height: 46px; border-radius: 50%; border: 0;
  background: rgba(255, 255, 255, .9); color: var(--navy); transition: .25s;
}
.lb-nav:hover { background: var(--accent); color: #fff; }
.lb-prev { left: .5rem; }
.lb-next { right: .5rem; }
#lightbox + .modal-backdrop, .modal-backdrop.show { opacity: .85; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(110deg, var(--accent), #f5a04a); padding: 52px 0; color: #fff; }
.cta-band h2 { color: #fff; font-size: clamp(1.35rem, 2.6vw, 1.9rem); }
.cta-band .btn-light { color: var(--navy); }

/* ---------- Contact ---------- */
.contact-info { height: 100%; border-radius: var(--radius); padding: 2rem; }
.contact-info { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.contact-info::after {
  content: ""; position: absolute; right: -60px; bottom: -60px; width: 200px; height: 200px;
  border-radius: 50%; border: 30px solid rgba(242, 140, 40, .15);
}
.contact-info h3 { color: #fff; }
.ci-item { display: flex; gap: 1rem; align-items: flex-start; color: #fff; padding: .9rem 0; border-bottom: 1px solid rgba(255, 255, 255, .1); position: relative; z-index: 1; }
a.ci-item:hover { color: var(--accent); }
.ci-icon { flex: 0 0 46px; height: 46px; border-radius: 10px; display: grid; place-items: center; background: rgba(242, 140, 40, .15); color: var(--accent); }
.ci-item small { display: block; color: rgba(255, 255, 255, .6); font-size: .78rem; text-transform: uppercase; letter-spacing: 1px; }
.ci-item strong, .ci-item address { font-weight: 500; word-break: break-word; }
.contact-info .d-flex { position: relative; z-index: 1; }
.form-label { font-weight: 500; font-size: .92rem; color: var(--navy); }
.form-control, .form-select { border-radius: 10px; padding: .7rem .9rem; border-color: #d5dde7; }
.input-group-text { border-radius: 10px 0 0 10px; background: var(--bg-soft); border-color: #d5dde7; font-weight: 500; }
.form-control:focus, .form-select:focus { border-color: var(--accent); box-shadow: 0 0 0 .2rem rgba(242, 140, 40, .2); }
.form-status { margin-bottom: 1rem; }
.form-status:empty { display: none; }
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); height: 100%; min-height: 420px; background: #dfe5ec; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Modal ---------- */
.enquiry-modal { border: 0; border-radius: 16px; overflow: hidden; }
.modal-side { position: relative; background-size: cover; background-position: center top; }
.modal-side::before { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(22, 50, 79, .94), rgba(36, 91, 133, .86)); }
.modal-side-inner { position: relative; color: #fff; padding: 2.2rem 1.8rem; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.modal-side-inner h3 { color: #fff; font-size: 1.5rem; }
.modal-side-inner p { color: rgba(255, 255, 255, .8); }
.modal-side-inner li { margin-bottom: .45rem; }
.modal-side-inner li i { color: var(--accent); margin-right: .55rem; }
.modal-phone { color: #fff; font-weight: 600; margin-top: 1rem; display: inline-block; background: var(--accent); padding: .55rem 1rem; border-radius: 10px; align-self: flex-start; }
.modal-phone:hover { color: #fff; background: var(--accent-dark); }
.enquiry-modal .modal-header { padding: 1.4rem 1.6rem .5rem; }
.enquiry-modal .modal-body { padding: .5rem 1.6rem 1.6rem; }
.enquiry-modal .form-control, .enquiry-modal .form-select { padding: .6rem .85rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); color: rgba(255, 255, 255, .8); padding: 1.4rem 0; text-align: center; font-size: .9rem; }

/* ---------- Side "Enquire Now" tab (right, centre) ---------- */
.side-enquire {
  position: fixed; right: 0; top: 50%; z-index: 1030;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  display: flex; align-items: center; gap: .6rem;
  background: var(--accent); color: #fff; border: 0;
  padding: 1.1rem .65rem; border-radius: 10px 0 0 10px;
  font-weight: 600; font-size: .95rem; letter-spacing: .5px;
  box-shadow: -4px 6px 18px rgba(0, 0, 0, .18); transition: padding .25s, background .25s;
}
.side-enquire i { transform: rotate(90deg); }
.side-enquire:hover { background: var(--accent-dark); padding-right: .9rem; }

/* ---------- Floating call (right side) ---------- */
.float-call {
  position: fixed; right: 18px; bottom: 18px; z-index: 1030;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent); color: #fff; font-size: 1.35rem;
  box-shadow: 0 8px 22px rgba(242, 140, 40, .45);
  animation: pulse 2.4s infinite; transition: transform .25s, background .25s;
}
.float-call:hover { color: #fff; background: var(--accent-dark); transform: scale(1.08); }
.float-call i { animation: ring 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(242, 140, 40, .55); } 70% { box-shadow: 0 0 0 16px rgba(242, 140, 40, 0); } 100% { box-shadow: 0 0 0 0 rgba(242, 140, 40, 0); } }
@keyframes ring { 0%, 50%, 100% { transform: rotate(0); } 10%, 30% { transform: rotate(-14deg); } 20%, 40% { transform: rotate(14deg); } }

.back-top {
  position: fixed; left: 18px; bottom: 18px; z-index: 1030;
  width: 44px; height: 44px; border-radius: 10px; border: 0;
  background: var(--navy); color: #fff; opacity: 0; visibility: hidden; transform: translateY(10px); transition: .3s;
}
.back-top.show { opacity: 1; visibility: visible; transform: none; }
.back-top:hover { background: var(--accent); }

/* Mobile: smaller floating buttons so they don't cover content */
@media (max-width: 767.98px) {
  .float-call { width: 50px; height: 50px; right: 12px; bottom: 12px; font-size: 1.15rem; }
  .back-top { left: 12px; bottom: 12px; width: 40px; height: 40px; }
  .side-enquire { padding: .85rem .5rem; font-size: .82rem; }
  .site-footer { padding-right: 70px; padding-left: 60px; }
}

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
