/* ==========================================================================
   Initora Realty LLP — Modern Theme
   Layered on top of the existing bootstrap/legacy stylesheet.
   ========================================================================== */

:root {
  --navy-900: #071a33;
  --navy-800: #0b2545;
  --navy-700: #123566;
  --gold-600: #ad8535;
  --gold-500: #c9a24b;
  --gold-400: #ddb96a;
  --gold-100: #f7ecd3;
  --ink: #1c2430;
  --muted: #6b7686;
  --bg-soft: #f5f7fb;
  --white: #ffffff;
  --radius-lg: 22px;
  --radius-md: 14px;
  --shadow-soft: 0 10px 40px rgba(11, 37, 69, 0.08);
  --shadow-strong: 0 20px 60px rgba(11, 37, 69, 0.18);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--white);
}

h1, h2, h3, h4, h5, h6,
.heading, .heading-title {
  font-family: 'Poppins', 'Inter', sans-serif !important;
}

a { text-decoration: none; }

::selection { background: var(--gold-400); color: var(--navy-900); }

/* ---------- Utility building blocks ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 30px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--gold-500), var(--navy-800));
  display: inline-block;
}

.section-title {
  font-weight: 800;
  color: var(--navy-900);
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.section-sub {
  color: var(--muted);
  font-size: 17px;
  max-width: 620px;
}

.section-head { margin-bottom: 48px; }
.section-head.text-center .section-sub { margin-left: auto; margin-right: auto; }

.section-pad { padding: 90px 0; }
.section-pad-sm { padding: 60px 0; }

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

.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.3px;
  color: #fff !important;
  background: linear-gradient(95deg, var(--gold-500), var(--gold-600));
  border: none;
  padding: 15px 32px;
  border-radius: 50px;
  box-shadow: 0 12px 28px rgba(201, 162, 75, 0.35);
  transition: all 0.25s ease;
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(201, 162, 75, 0.45); color: #fff; }

.btn-outline-navy {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--navy-900) !important;
  background: transparent;
  border: 1.5px solid var(--navy-800);
  padding: 14px 30px;
  border-radius: 50px;
  transition: all 0.25s ease;
}
.btn-outline-navy:hover { background: var(--navy-900); color: #fff !important; }

.btn-navy-solid {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #fff !important;
  background: var(--navy-900);
  border: none;
  padding: 15px 32px;
  border-radius: 50px;
  transition: all 0.25s ease;
}
.btn-navy-solid:hover { background: var(--navy-700); transform: translateY(-3px); color: #fff; }

/* ---------- Navbar ---------- */

.im-topbar {
  background: linear-gradient(90deg, var(--navy-900), var(--navy-800));
  color: #f1e6cc;
  font-size: 13px;
  padding: 8px 0;
  overflow: hidden;
  white-space: nowrap;
}
.im-topbar a { color: #f1e6cc; }

.im-navbar {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 24px rgba(11, 37, 69, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 14px 0;
}
.im-navbar .logo img { max-height: 54px; }

.im-nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.im-nav-links > li > a {
  color: var(--navy-900);
  font-weight: 600;
  font-size: 15px;
  position: relative;
  padding: 6px 0;
}
.im-nav-links > li > a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--gold-500);
  transition: width 0.25s ease;
}
.im-nav-links > li > a:hover::after { width: 100%; }
.im-nav-links .dropdown-menu {
  border: none;
  border-radius: 14px;
  box-shadow: var(--shadow-strong);
  padding: 10px;
  margin-top: 14px;
}
.im-nav-links .dropdown-menu .dropdown-item {
  border-radius: 8px;
  padding: 10px 14px;
  font-weight: 500;
  font-size: 14px;
}
.im-nav-links .dropdown-menu .dropdown-item:hover { background: var(--bg-soft); color: var(--navy-900); }

.im-nav-cta { display: flex; align-items: center; gap: 12px; }
.im-icon-btn {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--gold-500), var(--navy-800));
  color: #fff !important;
}
.im-pill-btn {
  border: 1.5px solid var(--navy-800);
  border-radius: 50px;
  padding: 9px 18px;
  font-weight: 600;
  font-size: 13px;
  color: var(--navy-900) !important;
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff;
}
.im-pill-btn:hover { background: var(--navy-900); color: #fff !important; border-color: var(--navy-900); }

/* ---------- Hero ---------- */

.im-hero { position: relative; overflow: hidden; }
.im-hero .hero-slider .slider-item { position: relative; }
/* Image always fills the full width (no left/right gaps) and keeps its own
   aspect ratio, so the whole picture shows with no cropping and no side
   letterboxing; slick's adaptiveHeight resizes the hero to match. */
.im-hero .hero-slider img { display: block; width: 100%; height: auto; background: var(--navy-900); }
.im-hero .hero-slider .slider-item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(7,26,51,0.88) 0%, rgba(7,26,51,0.55) 45%, rgba(7,26,51,0.25) 75%);
}
.im-hero-overlay {
  position: absolute; inset: 0; z-index: 5;
  display: flex; align-items: center;
  opacity: 1;
  transition: opacity 0.6s ease;
}
/* Hero title/subtitle/button text is shown only while the first slide is active */
.im-hero-overlay.is-hidden {
  opacity: 0;
  pointer-events: none;
}
.im-hero-card { max-width: 620px; }
.im-hero-card .eyebrow { color: var(--gold-400); }
.im-hero-card h1 {
  color: #fff;
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
}
.im-hero-card p {
  color: rgba(255,255,255,0.85);
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 32px;
}
.im-hero-chips { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.im-hero-chip {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(8px);
  color: #fff;
  padding: 10px 18px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
}
.im-hero-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-500); }

/* Fixed "Follow Us" social bar on the right edge of the hero banner */
.im-hero-social {
  position: absolute;
  top: 50%;
  right: 24px;
  transform: translateY(-50%);
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.im-hero-social-label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  color: rgba(255,255,255,0.85);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.im-hero-social-line { width: 1px; height: 34px; background: rgba(255,255,255,0.35); }
.im-hero-social a {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(7,26,51,0.55);
  color: #fff;
  font-size: 15px;
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}
.im-hero-social a:hover { background: var(--gold-500); border-color: var(--gold-500); color: var(--navy-900); }

@media (max-width: 991px) {
  .im-hero-social { right: 14px; gap: 10px; }
  .im-hero-social a { width: 32px; height: 32px; font-size: 13px; }
  .im-hero-social-label { font-size: 11px; }
}
@media (max-width: 575px) {
  .im-hero-social { display: none; }
}

/* ---------- Cards ---------- */

.im-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
}
.im-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-strong); }
.im-card .im-card-img { height: 220px; overflow: hidden; }
.im-card .im-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.im-card:hover .im-card-img img { transform: scale(1.08); }
.im-card .im-card-body { padding: 26px; }
.im-card .im-card-body h5 { font-family: 'Poppins',sans-serif; font-weight: 700; color: var(--navy-900); margin-bottom: 10px; }
.im-card .im-card-body p { color: var(--muted); font-size: 14.5px; line-height: 1.7; margin: 0; }

.im-icon-card {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: 32px 26px;
  height: 100%;
  transition: all 0.3s ease;
  border-top: 3px solid transparent;
}
.im-icon-card:hover { border-top-color: var(--gold-500); transform: translateY(-6px); }
.im-icon-card .im-icon {
  width: 58px; height: 58px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--gold-100), #fff);
  color: var(--navy-800);
  font-size: 24px;
  margin-bottom: 18px;
}
.im-icon-card h5 { font-family: 'Poppins',sans-serif; font-weight: 700; color: var(--navy-900); font-size: 17px; margin-bottom: 10px; }
.im-icon-card p { color: var(--muted); font-size: 14px; margin: 0; line-height: 1.6; }

/* ---------- Business model / list rows ---------- */

.im-check-list { list-style: none; margin: 0; padding: 0; }
.im-check-list li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed #e4e8f0;
  color: #3a4353;
  font-size: 15px;
}
.im-check-list li:last-child { border-bottom: none; }
.im-check-list li .ico {
  flex-shrink: 0;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--gold-100); color: var(--gold-600);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; margin-top: 2px;
}

/* ---------- Stats band ---------- */

.im-stats-band {
  background: linear-gradient(120deg, var(--navy-900), var(--navy-700));
  position: relative;
  overflow: hidden;
}
.im-stats-band::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(201,162,75,0.25), transparent 45%);
}
.im-stat { text-align: center; position: relative; z-index: 1; padding: 40px 10px; }
.im-stat h2 { font-family: 'Poppins',sans-serif; font-weight: 800; font-size: 44px; color: var(--gold-400); margin-bottom: 6px; }
.im-stat p { color: rgba(255,255,255,0.8); font-weight: 500; margin: 0; letter-spacing: 0.3px; }

/* ---------- CTA band ---------- */

.im-cta-band {
  background: linear-gradient(100deg, var(--gold-500), var(--navy-800) 70%);
  border-radius: 30px;
  padding: 60px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.im-cta-band::after {
  content: "";
  position: absolute; right: -60px; top: -60px;
  width: 220px; height: 220px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
}
.im-cta-band h3 { font-family: 'Poppins',sans-serif; font-weight: 800; font-size: 30px; margin-bottom: 12px; }
.im-cta-band p { color: rgba(255,255,255,0.9); max-width: 520px; margin-bottom: 0; }

/* ---------- About / split sections ---------- */

.im-split-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-strong); position: relative; }
.im-split-img img { width: 100%; height: 100%; object-fit: cover; }
/* Admin-uploaded page photos (About / Vision / Why Us "Page Image"): the box
   takes the shape of the photo itself (no forced height), so the full
   picture always shows with no cropping and no empty letterbox gaps. */
.im-split-img.fit-contain { height: auto !important; min-height: 0 !important; }
.im-split-img.fit-contain img { position: static; width: 100%; height: auto; object-fit: initial; }
.im-badge-float {
  position: absolute; bottom: 22px; left: 22px;
  background: #fff;
  border-radius: 14px;
  padding: 14px 20px;
  box-shadow: var(--shadow-soft);
  border-left: 4px solid var(--gold-500);
}
.im-badge-float h6 { margin: 0; font-weight: 700; color: var(--navy-900); }
.im-badge-float small { color: var(--gold-600); font-weight: 600; }

/* ---------- Page title band (inner pages) ---------- */

.im-page-hero {
  position: relative;
  padding: 130px 0 70px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.im-page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(7,26,51,0.92), rgba(7,26,51,0.7));
}
.im-page-hero .container { position: relative; z-index: 2; }
.im-page-hero .eyebrow { color: var(--gold-400); }
.im-page-hero h1 { color: #fff; font-weight: 800; font-size: clamp(30px, 4vw, 46px); margin: 0; }
.im-breadcrumb { color: rgba(255,255,255,0.7); font-size: 14px; margin-top: 10px; }
.im-breadcrumb a { color: rgba(255,255,255,0.85); }

/* ---------- Footer ---------- */

.im-footer { background: var(--navy-900); color: rgba(255,255,255,0.75); padding-top: 80px; }
.im-footer h6 { color: #fff; font-family: 'Poppins',sans-serif; font-weight: 700; margin-bottom: 22px; font-size: 16px; }
.im-footer a { color: rgba(255,255,255,0.65); }
.im-footer a:hover { color: var(--gold-400); }
.im-footer .im-flinks { list-style: none; padding: 0; margin: 0; }
.im-footer .im-flinks li { margin-bottom: 12px; }
.im-footer .im-flinks li a { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; }
.im-footer .im-social { display: flex; gap: 10px; margin-top: 20px; }
.im-footer .im-social a {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
}
.im-footer .im-social a:hover { background: var(--gold-500); border-color: var(--gold-500); color: var(--navy-900); }
.im-footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 50px; padding: 24px 0; font-size: 13.5px; }
.im-footer-contact-item { display: flex; gap: 14px; margin-bottom: 20px; }
.im-footer-contact-item .ico {
  width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0;
  background: rgba(201,162,75,0.15); color: var(--gold-400);
  display: flex; align-items: center; justify-content: center;
}

/* ---------- Mobile off-canvas restyle ---------- */

.off-canvas-inner-content { background: var(--navy-900) !important; }
.off-canvas-inner-content .mobile-navigation a { color: rgba(255,255,255,0.85) !important; }
.off-canvas-inner-content .mobile-navigation a:hover { color: var(--gold-400) !important; }

/* Mobile header: logo left, burger menu right (login/signup live inside the off-canvas menu) */
.mobile-main-header { justify-content: space-between; }
.mobile-main-header .mobile-logo { margin-right: 0; }
/* The base theme forces a fixed width on the mobile logo, which stretches/
   squishes it since the logo's own aspect ratio doesn't match 100px wide by
   40px tall. Let it size naturally instead. */
.mobile-main-header .mobile-logo img { width: auto; max-width: 140px; object-fit: contain; }
.mobile-main-header .mobile-menu-btn {
  background: #ffc107;
  border-radius: 8px;
  height: 40px;
  width: 40px;
  color: #000;
  font-size: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  transition: 0.3s;
}
.mobile-main-header .mobile-menu-btn:hover { background: #e0ac08; transform: scale(1.05); }

.off-canvas-inner .mobile-account-links {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}
.off-canvas-inner .mobile-account-links .dropdown { flex: 1; }
.off-canvas-inner .mobile-account-links .btn-account {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  background: transparent;
}
.off-canvas-inner .mobile-account-links .btn-account:hover { background: var(--gold-500); border-color: var(--gold-500); color: var(--navy-900); }
.off-canvas-inner .mobile-account-links .dropdown-menu { min-width: 100%; }

/* ---------- Responsive ---------- */

@media (max-width: 991px) {
  .section-pad { padding: 60px 0; }
  .im-cta-band { padding: 40px 26px; text-align: center; }
  .im-cta-band .text-end { text-align: center !important; margin-top: 20px; }
}

@media (max-width: 767px) {
  .im-hero-card { max-width: 100%; }
  .im-hero-card h1 { font-size: clamp(26px, 7vw, 34px); margin-bottom: 14px; }
  .im-hero-card p { font-size: 15px; line-height: 1.6; margin-bottom: 22px; }
  .im-hero-chips { gap: 8px; margin-top: 22px; }
  .im-hero-chip { padding: 7px 13px; font-size: 12.5px; }
  .im-hero-card .btn-gold { padding: 11px 22px; font-size: 14.5px; }
}

@media (max-width: 480px) {
  .im-hero-card h1 { font-size: 24px; }
  .im-hero-card p { font-size: 14px; }
  .im-hero-chips { gap: 6px; }
  .im-hero-chip { padding: 6px 11px; font-size: 12px; }
  .im-hero-chip .dot { width: 6px; height: 6px; }
}

/* Stack the "scroll to top" button above the WhatsApp button instead of
   overlapping it (both are fixed to the bottom-right corner). */
.scroll-top { bottom: 104px; right: 39px; }
.scroll-top.not-visible { bottom: 20px; }
