/* ==================================================
   01. ROOT VARIABLES AND BRAND COLOURS
================================================== */
:root {
  --primary: #0d47a1;
  --primary-dark: #082f6d;
  --primary-light: #eaf2ff;
  --accent: #ff6f00;
  --accent-dark: #d95d00;
  --white: #ffffff;
  --off-white: #f8fafc;
  --soft-grey: #eef2f6;
  --text: #263238;
  --muted: #607080;
  --border: #dbe3ea;
  --success: #18a957;
  --shadow-sm: 0 8px 24px rgba(13, 71, 161, .08);
  --shadow-md: 0 18px 50px rgba(13, 71, 161, .15);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --container: 1180px;
  --transition: .25s ease;
}

/* ==================================================
   02. CSS RESET AND BASE TYPOGRAPHY
================================================== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'Inter', sans-serif; color: var(--text); background: var(--white); line-height: 1.65; }
body.modal-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
h1, h2, h3, h4 { font-family: 'Montserrat', sans-serif; line-height: 1.2; margin: 0 0 14px; color: var(--primary-dark); }
p { margin: 0 0 16px; }
ul { margin: 0; padding: 0; }
.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.section { padding: 76px 0; }
.section-soft { background: var(--off-white); }
.section-blue { background: var(--primary); color: var(--white); }
.section-orange { background: var(--accent); color: var(--white); }
.eyebrow { display: inline-block; color: var(--accent); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; margin-bottom: 10px; }
.text-center { text-align: center; }

/* ==================================================
   03. TOP CONTACT BAR
================================================== */
.topbar { background: var(--primary-dark); color: var(--white); font-size: .87rem; }
.topbar-inner { min-height: 40px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topbar-left { display: flex; flex-wrap: wrap; gap: 18px; }
.topbar a, .topbar-right { opacity: .95; }
.topbar i { color: var(--accent); margin-right: 6px; }

/* ==================================================
   04. MAIN HEADER, LOGO AND NAVIGATION
================================================== */
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.98); border-bottom: 1px solid var(--border); transition: var(--transition); }
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.header-inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { width: 250px; max-height: 72px; object-fit: contain; }
.main-nav { display: flex; align-items: center; gap: 8px; }
.main-nav a { padding: 11px 12px; border-radius: 8px; color: var(--primary-dark); font-weight: 700; font-size: .94rem; transition: var(--transition); }
.main-nav a:hover, .main-nav a.active { color: var(--accent); background: var(--primary-light); }
.main-nav .nav-quote { color: var(--white); background: var(--accent); padding-inline: 18px; }
.main-nav .nav-quote:hover, .main-nav .nav-quote.active { color: var(--white); background: var(--accent-dark); }
.menu-toggle { display: none; width: 46px; height: 42px; border: 0; border-radius: 8px; background: var(--primary); padding: 10px; cursor: pointer; }
.menu-toggle span { display: block; height: 3px; background: var(--white); margin: 4px 0; border-radius: 5px; }

/* ==================================================
   05. COMMON INNER PAGE BANNER AND BREADCRUMBS
================================================== */
.inner-banner { position: relative; overflow: hidden; padding: 72px 0; background: linear-gradient(120deg, var(--primary-dark), var(--primary)); color: var(--white); }
.inner-banner::after {     display:none;}
.inner-banner .container { position: relative; z-index: 1; }
.inner-banner h1 { color: var(--white); font-size: clamp(2rem, 4vw, 3.3rem); }
.breadcrumbs { display: flex; gap: 8px; align-items: center; font-size: .92rem; opacity: .92; }
.breadcrumbs a { color: #ffd1ad; }

/* ==================================================
   06. BUTTONS AND CALL-TO-ACTION ELEMENTS
================================================== */
.btn { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 48px; padding: 12px 22px; border: 0; border-radius: var(--radius-sm); font-weight: 800; cursor: pointer; transition: var(--transition); }
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn-secondary { background: var(--primary); color: var(--white); }
.btn-secondary:hover { background: var(--primary-dark); }
.btn-outline { border: 2px solid var(--primary); color: var(--primary); background: transparent; }
.btn-block { width: 100%; }

/* ==================================================
   07. REUSABLE CARDS, GRIDS AND IMAGE RULES
================================================== */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 24px; box-shadow: var(--shadow-sm); }
/* Use this class where the complete image must remain visible without cropping. */
.image-contain { width: 100%; height: 100%; object-fit: contain; background: var(--white); }
/* Use this only for decorative photographs where controlled cropping is acceptable. */
.image-cover { width: 100%; height: 100%; object-fit: cover; }
.placeholder-box { min-height: 260px; border: 2px dashed #b9c9da; background: var(--off-white); display: grid; place-items: center; color: var(--muted); text-align: center; padding: 24px; border-radius: var(--radius-md); }

/* ==================================================
   08. FORMS AND INPUT FIELDS
================================================== */
.site-form { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-md); }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-group { margin-bottom: 17px; }
.form-group label { display: block; margin-bottom: 7px; color: var(--primary-dark); font-weight: 700; }
.form-group input, .form-group select, .form-group textarea { width: 100%; border: 1px solid var(--border); border-radius: 9px; padding: 12px 13px; color: var(--text); background: var(--white); outline: none; transition: var(--transition); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255,111,0,.12); }
.form-group textarea { min-height: 125px; resize: vertical; }
.honeypot { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ==================================================
   09. QUOTATION POPUP MODAL
================================================== */
.quote-modal { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; visibility: hidden; opacity: 0; transition: var(--transition); padding: 20px; }
.quote-modal.active { visibility: visible; opacity: 1; }
.quote-modal-backdrop { position: absolute; inset: 0; background: rgba(3,20,43,.72); backdrop-filter: blur(3px); }
.quote-modal-dialog { position: relative; z-index: 1; width: min(100%, 560px); max-height: 92vh; overflow-y: auto; background: var(--white); border-radius: var(--radius-lg); padding: 30px; box-shadow: 0 30px 90px rgba(0,0,0,.35); }
.quote-modal-close { position: absolute; right: 14px; top: 10px; border: 0; background: transparent; font-size: 2rem; color: var(--primary-dark); cursor: pointer; }
.quote-modal-heading { text-align: center; margin-bottom: 20px; }
.quote-modal-heading h2 { font-size: 1.7rem; }
.compact-form { box-shadow: none; border: 0; padding: 0; }

/* ==================================================
   10. FOOTER
================================================== */
.site-footer { background: #071b3b; color: #dce7f5; }
.footer-grid { display: grid; grid-template-columns: 1.25fr .75fr .75fr 1.25fr; gap: 34px; padding: 64px 0 48px; }
.footer-logo { width: 230px; background: var(--white); padding: 5px; border-radius: 8px; margin-bottom: 18px; }
.site-footer h3 { color: var(--white); font-size: 1.08rem; margin-bottom: 18px; }
.footer-links, .footer-contact { list-style: none; }
.footer-links li { margin: 9px 0; }
.footer-links a:hover, .footer-contact a:hover { color: var(--accent); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; margin: 12px 0; }
.footer-contact i { color: var(--accent); margin-top: 5px; }
.social-links { display: flex; gap: 10px; }
.social-links a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.1); }
.social-links a:hover { background: var(--accent); color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); }
.footer-bottom-inner { min-height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-bottom p { margin: 0; font-size: .88rem; }

/* ==================================================
   11. FLOATING CALL, WHATSAPP AND BACK-TO-TOP BUTTONS
================================================== */
.floating-action { position: fixed; right: 20px; z-index: 1200; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: var(--white); font-size: 1.35rem; box-shadow: var(--shadow-md); }
.call-action { bottom: 92px; background: var(--primary); }
.whatsapp-action { bottom: 28px; background: #25d366; }
.back-to-top { position: fixed; left: 20px; bottom: 28px; z-index: 1200; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--accent); color: var(--white); cursor: pointer; opacity: 0; visibility: hidden; transition: var(--transition); }
.back-to-top.show { opacity: 1; visibility: visible; }

/* ==================================================
   12. BASIC PAGE PLACEHOLDER CONTENT
================================================== */
.page-placeholder { padding: 90px 0; text-align: center; background: var(--off-white); }
.page-placeholder-box { max-width: 780px; margin: 0 auto; background: var(--white); border: 1px dashed var(--border); border-radius: var(--radius-lg); padding: 44px 30px; }
.page-placeholder-box h2 { font-size: clamp(1.65rem, 3vw, 2.4rem); }

/* ==================================================
   13. THANK-YOU PAGE
================================================== */
.thankyou-wrap { min-height: 58vh; display: grid; place-items: center; padding: 80px 0; background: var(--off-white); }
.thankyou-card { max-width: 720px; text-align: center; background: var(--white); border-radius: var(--radius-lg); padding: 48px 32px; box-shadow: var(--shadow-md); }
.thankyou-icon { width: 84px; height: 84px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; background: #eaf9f0; color: var(--success); font-size: 2.3rem; }

/* ==================================================
   14. TABLET RESPONSIVE STYLES
================================================== */
@media (max-width: 992px) {
  .menu-toggle { display: block; }
  .main-nav { position: absolute; left: 0; right: 0; top: 100%; display: none; flex-direction: column; align-items: stretch; padding: 16px; background: var(--white); border-top: 1px solid var(--border); box-shadow: var(--shadow-md); }
  .main-nav.open { display: flex; }
  .main-nav a { width: 100%; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ==================================================
   15. MOBILE RESPONSIVE STYLES
================================================== */
@media (max-width: 680px) {
  .topbar-right { display: none; }
  .topbar-inner { justify-content: center; padding: 8px 0; }
  .topbar-left { justify-content: center; gap: 8px 14px; }
  .topbar-left a:nth-child(2), .topbar-left a:nth-child(3) { display: none; }
  .header-inner { min-height: 72px; }
  .brand img { width: 190px; }
  .section { padding: 58px 0; }
  .grid-2, .grid-3, .grid-4, .form-row, .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; justify-content: center; text-align: center; padding: 16px 0; }
  .quote-modal-dialog { padding: 26px 18px; }
  .site-form { padding: 22px 18px; }
  .call-action { display: grid; }
}
