/*
 * Base Advisory — English Homepage
 * Custom HTML5 / Bootstrap 5 / CSS3 reconstruction.
 * Visual reference: https://baseadvisory.sg (November 2026)
 * No Elementor, WordPress CSS, or plugin dependency.
 */
:root {
  --ba-navy: #003558;
  --ba-link: #0053e7;
  --ba-accent: #f18968;
  --ba-text: #67797e;
  --ba-heading: #332a2a;
  --ba-footer: #545454;
  --ba-white: #fff;
  --ba-ease: cubic-bezier(.22,.61,.36,1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: var(--ba-text);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--ba-link); }
button, input { font: inherit; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--ba-link); outline-offset: 3px; }
[hidden] { display: none !important; }
.skip-link { position: absolute; top: -70px; left: 1rem; z-index: 99999; padding: .6rem 1rem; color: #fff; background: var(--ba-navy); }
.skip-link:focus { top: 1rem; }

/* White original header and logo treatment */
.site-header {
  position: relative;
  z-index: 100;
  width: 100%;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0,0,0,.025);
}
.header-shell {
  max-width: 1425px;
  margin: 0 auto;
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px clamp(25px,6.2vw,95px);
  gap: 20px;
}
.brand { display: block; flex: 0 0 auto; line-height: 0; }
.brand img { display: block; width: clamp(165px,16.5vw,234px); height: auto; object-fit: contain; }
.desktop-nav { display: flex; align-items: center; gap: clamp(20px,2.8vw,47px); margin-left: auto; margin-right: clamp(10px,3.1vw,44px); }
.desktop-nav a {
  color: #232323;
  white-space: nowrap;
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  padding: 14px 0;
  transition: color .18s ease;
}
.desktop-nav a:hover, .desktop-nav a:focus-visible, .desktop-nav a.active { color: #00639b; }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.language-switcher { position: relative; flex: 0 0 auto; }
.language-trigger {
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  background: transparent;
  color: #151515;
  border: none;
  padding: 12px 0 12px 4px;
  font-family: Arial, sans-serif;
  font-size: 13px;
}
.language-trigger svg { width: 13px; height: 13px; fill: none; stroke: #333; stroke-width: 2; }
.language-flag { font-size: 15px; }
.language-menu {
  position: absolute;
  right: -8px;
  top: 100%;
  z-index: 150;
  min-width: 195px;
  padding: 7px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 10px 28px rgba(0,0,0,.17);
  border: 1px solid #ececec;
}
.language-menu a { display: block; padding: 9px 11px; border-radius: 3px; color: #232323; font-size: 13px; }
.language-menu a:hover { color: var(--ba-link); background: #f5f7fa; }
.mobile-nav-toggle { display: none; width: 42px; height: 42px; background: transparent; padding: 8px; border: none; }
.mobile-nav-toggle span { display: block; width: 23px; height: 2px; background: #253c52; margin: 5px auto; transition: .2s ease; }
.mobile-nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.mobile-nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-navigation { background: #fff; border-top: 1px solid #eee; box-shadow: 0 14px 22px rgba(0,0,0,.09); padding: 0 22px 17px; }
.mobile-navigation > a { display: block; padding: 11px 5px; color: #282828; font-size: 15px; border-bottom: 1px solid #f1f1f1; }
.mobile-navigation > a.active { color: var(--ba-link); }
.mobile-lang-links { display: flex; gap: 18px; flex-wrap: wrap; padding: 16px 4px 3px; font-size: 12px; }

/* RevSlider recreation: two original skyline photos, 900px desktop height */
.hero-slider {
  position: relative;
  height: 920px;
  background: #0a2940;
  padding: 10px 0;
  overflow: hidden;
  isolation: isolate;
}
.slides { position: relative; width: 100%; height: 100%; }
.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1s ease, visibility 1s ease; }
.hero-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.hero-photo {
  position: absolute; inset: 0;
  background-image: var(--slide-image), linear-gradient(120deg,#235477,#5b93b6);
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1.035);
  transition: transform 7.7s linear;
}
.hero-slide.is-active .hero-photo { transform: scale(1); }
.hero-shade { position: absolute; inset: 0; background: rgba(0,0,0,.5); }
.hero-text { position: absolute; left: 5%; right: 5%; top: 22%; z-index: 2; text-align: center; }
.hero-eyebrow {
  color: var(--ba-accent);
  font-family: Montserrat, sans-serif;
  font-size: clamp(20px, 1.6vw, 29px);
  font-weight: 700;
  line-height: 1.55;
  margin-bottom: 65px;
  text-shadow: 0 2px 5px rgba(0,0,0,.16);
}
.hero-text h1 {
  color: #fff;
  font-family: Montserrat, sans-serif;
  font-size: clamp(44px,4.1vw,65px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 0 8px 22px rgba(0,0,0,.23);
  margin: 0 auto;
  max-width: 1350px;
}
.hero-slide:not(.is-active) .hero-text { opacity: 0; transform: translateY(25px); }
.hero-slide.is-active .hero-text { animation: titleIn .9s .15s both; }
@keyframes titleIn { from{opacity:0; transform:translateY(23px)} to{opacity:1; transform:translateY(0)} }
.slider-nav {
  z-index: 3; position: absolute; top: 50%; transform: translateY(-50%);
  display: flex; align-items: center; justify-content: center;
  width: 45px; height: 55px;
  color: #fff; background: rgba(0,0,0,.16);
  border: 0; border-radius: 3px; opacity: .55;
  transition: background .2s, opacity .2s;
}
.slider-nav:hover { opacity: 1; background: rgba(0,0,0,.46); }
.slider-nav svg { width: 24px; height: 24px; stroke: currentColor; stroke-width: 2.2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.slider-prev { left: 16px; }
.slider-next { right: 16px; }
.slider-dots { position: absolute; z-index: 4; bottom: 26px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 9px; }
.slider-dot { padding: 0; width: 10px; height: 10px; border: 1px solid #fff; border-radius: 100px; background: transparent; opacity: .8; transition: .2s; }
.slider-dot.is-active { background: #fff; width: 24px; opacity: 1; }

/* About - original uses bold grey Montserrat copy, centered title and blue pill CTA */
.about-section { width: 100%; padding: 9px 0 35px; background: #fff; }
.about-inner { max-width: 1425px; margin: 0 auto; padding: 0 10px; text-align: center; }
.about-section h2 { font-family: Montserrat, sans-serif; font-size: 35px; color: #332a2a; font-weight: 700; line-height: 1.25; margin: 0 0 14px; }
.about-copy { margin: 0 auto; max-width: 1278px; text-align: left; padding-top: 0; }
.about-copy p { color: var(--ba-text); font-size: 16px; font-weight: 700; line-height: 30px; text-align: left; margin: 0 0 9px; }
.read-more-btn {
  display: inline-flex; justify-content: center; align-items: center;
  min-width: 150px; height: 56px;
  margin: 18px auto 0;
  padding: 12px 24px;
  background: #0053e7;
  color: #fff;
  border-radius: 29px;
  font-family: Montserrat, sans-serif;
  font-size: 15px;
  font-weight: 400;
  transition: background .2s ease, transform .2s ease;
}
.read-more-btn:hover { background: #003bba; color: #fff; transform: translateY(-2px); }

/* Eight original photographic services in two rows */
.services-section { background: #fff; padding: 7px 0 0; }
.services-section > .container-fluid { max-width: 1425px; padding: 0 25px; margin: 0 auto; }
.services-section h2 { text-align: center; font-family: Montserrat, sans-serif; font-size: 36px; font-weight: 700; line-height: 1.05; color: #000; margin: 0 0 40px; }
.services-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px 19px; margin: 0 auto; max-width: 1290px; }
.service-item { min-width: 0; margin: 0; padding: 0 0 8px; text-align: center; }
.service-image-link { display: block; color: #fff; text-decoration: none; }
.service-image {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: clamp(215px, 17vw, 255px);
  background-image: var(--service-image), linear-gradient(135deg,#b2c7d6,#244f65);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 10px;
  overflow: hidden;
  isolation: isolate;
  transition: transform .3s ease, box-shadow .3s ease;
}
.service-image::after { content: ''; position: absolute; inset: 0; z-index: 0; background: #021a37; opacity: 0; transition: opacity .22s ease; }
.service-image-overlay {
  position: relative; z-index: 1;
  width: 100%; height: 100%; padding: 20px 22px;
  display: flex; flex-direction: column; justify-content: flex-start;
  text-align: left;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .2s ease, transform .25s ease;
}
.service-image-overlay h3 { font-family: Poppins, sans-serif; font-size: 20px; line-height: 1.25; font-weight: 400; color: #fff; margin: 0 0 16px; }
.service-image-overlay p { font-family: Rubik, sans-serif; font-size: 16px; line-height: 1.55; font-weight: 400; color: #fff; margin: 0; }
.service-image-link:hover .service-image, .service-image-link:focus-visible .service-image { box-shadow: 0 8px 22px rgba(0,0,0,.17); }
.service-image-link:hover .service-image::after, .service-image-link:focus-visible .service-image::after { opacity: .66; }
.service-image-link:hover .service-image-overlay, .service-image-link:focus-visible .service-image-overlay { opacity: 1; transform: translateY(0); }
.service-caption { margin: 24px 0 0; min-height: 58px; font-family: Rubik, sans-serif; font-size: 18px; font-weight: 500; line-height: 1.3; color: #444343; text-transform: uppercase; }
.service-caption a { color: inherit; transition: color .2s ease; }
.service-caption a:hover { color: var(--ba-link); }

/* Primary contact strip present after the eight service cards */
.contact-cta { background: #fff; min-height: 273px; margin-top: 5px; padding: 30px 20px 68px; display: flex; align-items: center; }
.contact-cta-inner { width: 100%; max-width: 1150px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.2fr auto; align-items: center; gap: 38px; }
.contact-cta-item { min-width: 0; display: flex; gap: 16px; align-items: center; }
.contact-icon { width: 50px; height: 50px; flex: 0 0 50px; display: flex; justify-content: center; align-items: center; color: #07385e; }
.contact-icon svg { width: 33px; height: 33px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact-cta-item h3 { color: #111; font-family: Montserrat, sans-serif; font-size: 16px; font-weight: 700; line-height: 1.55; margin: 0; }
.contact-cta-item h3 a:hover { color: var(--ba-link); }
.contact-action { display: inline-flex; align-items: center; gap: 10px; justify-content: center; width: 152px; height: 55px; background: #0d2596; border-radius: 3px; color: white; font-size: 15px; }
.contact-action:hover { background: #071a69; color: #fff; }

/* Shared grey footer */
.site-footer { width: 100%; color: #fff; }
.footer-main { min-height: 416px; background: #545454; padding: 22px 0 26px; }
.footer-grid { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: 1.18fr .8fr 1.23fr 1.1fr; column-gap: 30px; padding: 0 50px; }
.footer-col { min-width: 0; padding-top: 10px; }
.footer-col h3 { font-family: Montserrat, sans-serif; color: #fff; font-size: 20px; line-height: 1.3; font-weight: 700; margin: 0 0 25px; }
.footer-col ul { margin: 0; padding: 0; list-style: none; }
.footer-col li { margin-bottom: 9px; font-size: 14px; line-height: 1.6; color: #fff; font-weight: 400; }
.footer-col li a { color: #fff; transition: color .2s ease; }
.footer-col li a:hover { color: #e9ded3; }
.footer-brand { padding-top: 0; }
.footer-logo { display: block; width: 235px; height: 162px; margin-bottom: 14px; }
.footer-logo img { width: 100%; height: 100%; object-fit: contain; object-position: left center; }
.footer-brand p { font-size: 15px; color: #fff; font-weight: 400; line-height: 1.85; max-width: 280px; margin: 0; }
.footer-bottom { display: flex; align-items: center; justify-content: center; min-height: 73px; padding: 16px; text-align: center; background: #fff; color: #666; font-size: 14px; }

/* Fixed interface tools from the original website */
.back-top { position: fixed; z-index: 99; right: 14px; bottom: 110px; width: 53px; height: 53px; border-radius: 50%; border: none; display: flex; align-items: center; justify-content: center; color: #262626; background: rgba(192,185,185,.7); box-shadow: 2px 4px 8px rgba(0,0,0,.2); visibility: hidden; opacity: 0; transition: .2s; }
.back-top.is-visible { visibility: visible; opacity: 1; }
.back-top svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.whatsapp-float { position: fixed; z-index: 140; right: 19px; bottom: 24px; }
.whatsapp-button { width: 56px; height: 56px; border: 0; border-radius: 50%; background: #25d366; box-shadow: 0 4px 17px rgba(0,0,0,.25); display: flex; align-items: center; justify-content: center; color: #fff; transition: transform .2s; }
.whatsapp-button:hover { transform: scale(1.07); }
.whatsapp-button svg { width: 31px; height: 31px; }
.whatsapp-panel { position: absolute; right: 0; bottom: 70px; width: min(340px, calc(100vw - 30px)); border-radius: 12px; box-shadow: 0 8px 35px rgba(0,0,0,.2); overflow: hidden; background: #fff; color: #333; }
.whatsapp-panel-head { background: #075e54; color: white; display: flex; align-items: center; justify-content: space-between; padding: 13px 18px; }
.whatsapp-panel-head button { background: none; color: white; border: none; font-size: 24px; line-height: 1; }
.whatsapp-panel-content { padding: 24px 20px; }
.whatsapp-panel-content strong { display: block; color: #292929; font-size: 20px; }
.whatsapp-panel-content p { color: #666; font-size: 15px; margin: 3px 0 22px; }
.whatsapp-panel-content a { display: inline-flex; justify-content: center; align-items: center; gap: 8px; background: #25d366; border-radius: 7px; color: #fff; padding: 11px 24px; font-size: 14px; }

.cookie-consent { position: fixed; z-index: 180; bottom: 14px; left: 14px; width: 378px; max-width: calc(100vw - 28px); max-height: calc(100vh - 28px); overflow-y: auto; border-radius: 5px; background: #fff; color: #1f1f1f; box-shadow: 0 3px 28px rgba(0,0,0,.3); padding: 20px 18px; font-family: Montserrat, sans-serif; }
.cookie-consent h3 { color: #111; font-size: 16px; font-weight: 700; line-height: 1.4; margin: 0 0 7px; }
.cookie-consent p { font-size: 13px; line-height: 1.65; margin: 0 0 16px; color: #333; }
.cookie-buttons { display: flex; flex-wrap: wrap; gap: 6px; }
.btn-cookie { border: 1px solid #1f3c70; border-radius: 3px; font-size: 12px; padding: 7px 9px; font-weight: 500; min-height: 36px; flex: 1 1 auto; }
.btn-cookie.primary { background: #0f4193; color: white; }
.btn-cookie.secondary { background: #fff; color: #0f4193; }
.cookie-preferences label { display: block; font-size: 13px; padding: 7px 0; border-bottom: 1px solid #f1f1f1; }
.cookie-preferences input { margin-right: 7px; accent-color: #0f4193; }
.cookie-preferences .cookie-buttons { margin-top: 16px; }

@media (max-width: 1180px) {
  .desktop-nav { gap: 20px; margin-right: 9px; }
  .header-shell { padding-left: 35px; padding-right: 35px; }
  .services-grid { max-width: 100%; }
  .service-image { height: 215px; }
  .service-image-overlay { padding: 14px 15px; }
  .service-image-overlay h3 { font-size: 18px; }
  .service-image-overlay p { font-size: 14px; }
  .contact-cta-inner { gap: 20px; }
}
@media (max-width: 991.98px) {
  .header-shell { min-height: 85px; padding: 8px 25px; }
  .brand img { width: 185px; }
  .desktop-nav { display: none; }
  .mobile-nav-toggle { display: block; }
  .hero-slider { height: 680px; }
  .hero-text { top: 26%; }
  .hero-eyebrow { margin-bottom: 40px; }
  .hero-text h1 { font-size: 48px; line-height: 1.3; }
  .about-section { padding: 28px 15px 35px; }
  .about-copy p { font-size: 15px; line-height: 27px; }
  .services-section { padding-top: 20px; }
  .services-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 22px; }
  .service-image { height: 260px; }
  .service-caption { min-height: 36px; }
  .contact-cta { padding: 30px 20px; }
  .contact-cta-inner { grid-template-columns: 1fr 1fr; }
  .contact-action { grid-column: 1 / -1; justify-self: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px 40px; padding: 0 32px; }
}
@media (max-width: 575.98px) {
  .header-shell { min-height: 75px; padding: 7px 17px; gap: 8px; }
  .brand img { width: 153px; }
  .language-trigger { gap: 5px; font-size: 12px; }
  .language-trigger span:nth-child(2) { display: none; }
  .mobile-nav-toggle { width: 37px; padding: 7px; }
  .header-actions { gap: 3px; }
  .hero-slider { height: 510px; padding: 0; }
  .hero-text { left: 6%; right: 6%; top: 29%; }
  .hero-eyebrow { font-size: 18px; font-weight: 600; margin-bottom: 24px; }
  .hero-text h1 { font-size: clamp(30px,8vw,44px); line-height: 1.35; }
  .slider-nav { width: 31px; height: 43px; opacity: .42; }
  .slider-prev { left: 0; }
  .slider-next { right: 0; }
  .slider-dots { bottom: 16px; }
  .about-section { padding: 29px 6px 33px; }
  .about-section h2 { font-size: 27px; margin-bottom: 18px; }
  .about-copy { padding: 0 12px; }
  .about-copy p { font-size: 14px; line-height: 26px; margin-bottom: 13px; }
  .read-more-btn { margin-top: 10px; }
  .services-section { padding: 14px 0 0; }
  .services-section > .container-fluid { padding: 0 13px; }
  .services-section h2 { font-size: 28px; margin-bottom: 27px; }
  .services-grid { gap: 14px; }
  .service-image { height: clamp(140px,42vw,200px); border-radius: 7px; }
  .service-image-overlay { padding: 10px; }
  .service-image-overlay h3 { font-size: 13px; line-height: 1.25; margin-bottom: 8px; }
  .service-image-overlay p { font-size: 10.5px; line-height: 1.4; }
  .service-caption { font-size: 12px; min-height: 47px; line-height: 1.45; margin: 13px 0 0; }
  .contact-cta { min-height: 250px; padding: 32px 18px 45px; }
  .contact-cta-inner { grid-template-columns: 1fr; gap: 24px; }
  .contact-cta-item h3 { font-size: 14px; }
  .contact-icon { width: 36px; height: 36px; flex-basis: 36px; }
  .contact-icon svg { width: 29px; height: 29px; }
  .contact-action { grid-column: auto; }
  .footer-main { padding: 30px 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; padding: 0 21px; column-gap: 17px; row-gap: 30px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-logo { height: 130px; margin-bottom: 3px; }
  .footer-brand p { font-size: 13px; max-width: 450px; }
  .footer-col h3 { font-size: 16px; margin-bottom: 14px; }
  .footer-col li { font-size: 12px; margin-bottom: 7px; }
  .footer-contact { grid-column: 1 / -1; }
  .footer-bottom { font-size: 12px; min-height: 58px; }
  .back-top { right: 12px; bottom: 92px; width: 43px; height: 43px; }
  .whatsapp-float { right: 13px; bottom: 18px; }
  .whatsapp-button { width: 53px; height: 53px; }
  .cookie-consent { bottom: 10px; left: 10px; padding: 15px 14px; }
}
@media (max-width: 365px) {
  .brand img { width: 137px; }
  .services-grid { gap: 10px; }
  .service-image-overlay p { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand, .footer-contact { grid-column: auto; }
}
@media (hover: none) and (pointer: coarse) {
  .service-image::after { opacity: .38; }
  .service-image-overlay { opacity: 1; transform: none; justify-content: flex-end; }
  .service-image-overlay p { display: none; }
  .service-image-overlay h3 { margin: 0; text-shadow: 0 1px 5px #000; font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-photo, .hero-slide, .hero-text, .service-image, .service-image-overlay, * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
