/* Overrides carried over from the Laravel views' inline <style> blocks */
.header-layout1 { background: #052132 !important; }
.bg-title-dark { background: #052132 !important; }
.bg-smokes { background-color: #e8e8e8 !important; }
.bg-smoke { background-color: white !important; }
.th-btn.btn-mask { background-color: white !important; }
.hero-1 { background: #052132 !important; }
@media (max-width: 1500px) { .hero-1 .hero-slider1 { max-width: none !important; } }
.hero-style1 { padding: 210px 0 130px !important; }
.hero-1 .hero-slider1 { margin-top: -155px; }
@media (max-width: 575px) {
  .hero-style1 { padding: 50px 0 0 !important; }
  .img-box2 .about-tag { top: 8% !important; }
}
@media (max-width: 991px) { .img-box2 .about-tag .about-experience-tag { background: none !important; } }
/* The fixed header overlaps the top of the page banner, so leave room for it. */
.breadcumb-wrapper { padding: 150px 0 50px !important; }
.breadcumb-title { font-size: clamp(28px, 4vw, 48px); }
@media (max-width: 991px) { .breadcumb-wrapper { padding: 120px 0 40px !important; } }
.rich-text img { max-width: 100%; height: auto; }
.rich-text ul, .rich-text ol { padding-left: 1.25rem; }
.form-alert { margin-top: 12px; padding: 10px 14px; border-radius: 8px; font-size: 15px; }
.form-alert.ok { background: #e7f6ec; color: #14532d; }
.form-alert.err { background: #fdecec; color: #7f1d1d; }
.visually-hidden-focusable:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Smaller headings (requested): project cards, section titles, hero banner */
.portfolio-card.style2 .portfolio-title a,
.portfolio-card .portfolio-title a { font-size: 22px; line-height: 1.35; }
.portfolio-card.style3 .portfolio-title a { font-size: 20px; }
.portfolio-card .portfolio-title { margin-bottom: 8px; }
.portfolio-card .portfolio-text { font-size: 15px; }
.sec-title { font-size: clamp(26px, 2.8vw, 38px); line-height: 1.25; }
.hero-1 .hero-title, .hero-1 .hero-title .title1 { font-size: clamp(30px, 4vw, 54px); line-height: 1.15; }
.box-title { font-size: 20px; }
.counter-card .box-number { font-size: clamp(32px, 3.4vw, 44px); }
@media (max-width: 575px) {
  .portfolio-card.style2 .portfolio-title a, .portfolio-card .portfolio-title a { font-size: 19px; }
  .sec-title { font-size: 26px; }
}

/* ---------- Mobile polish for detail pages ---------- */
/* The header (about 117px on phones) sits on top of the grey title band, so the band needs more room above the title. */
@media (max-width: 767px) {
  .breadcumb-wrapper { padding: 148px 0 34px !important; }
  .breadcumb-title { font-size: clamp(24px, 7vw, 32px); line-height: 1.2; margin: 0; }
  .breadcumb-menu { margin: 16px 0 0 !important; }
  .breadcumb-menu li, .breadcumb-menu a, .breadcumb-menu span { font-size: 14px !important; line-height: 1.5; }
  .breadcumb-menu li:after { margin-left: 8px; font-size: 12px; }
}

/* Plan and facility pictures never overflow the screen. */
.property-grid-plan .property-grid-thumb { display: block; max-width: 100%; box-sizing: border-box; }
.property-grid-plan .property-grid-thumb img { max-width: 100%; }

/* Floor plans on phones: all plans side by side in one row, each plan's text in its own row underneath. */
@media (max-width: 767px) {
  .floor-tabs-col { display: none; }
  .floor-plans-content { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .floor-plans-content > .tab-pane { display: contents !important; opacity: 1 !important; }
  .floor-plans-content .property-grid-plan { display: contents; }
  .floor-plans-content .property-grid-thumb { order: 1; padding: 8px; margin: 0; border: 1px solid #d9e0e6; background: #fff; }
  .floor-plans-content .property-grid-thumb img { height: auto !important; display: block; }
  .floor-plans-content .property-grid-details { order: 2; grid-column: 1 / -1; padding: 4px 2px 8px; border-bottom: 1px solid #e6ebef; }
  .floor-plans-content .property-grid-title { font-size: 18px; margin-bottom: 6px; }
  .floor-plans-content .property-grid-text { font-size: 15px; line-height: 1.6; }
}

/* Project lists (Residential, Commercial, Public): less empty space on phones. */
@media (max-width: 767px) {
  .projects-list { padding-top: 28px !important; padding-bottom: 36px !important; }
  .projects-list .th-sort-bar { margin-bottom: 16px; }
  .projects-list .woocommerce-result-count { margin: 0; font-size: 15px; line-height: 1.4; text-align: left; }
  .projects-list .row.gy-40 { --bs-gutter-y: 24px; }
}

/* ---------- Home page on phones: tighter, less spacey ---------- */
@media (max-width: 767px) {
  /* No slider bullets on phones. */
  .slider-pagination, .swiper-pagination { display: none !important; }
  /* Counters in two columns instead of one long column. */
  .counter-card-wrap { display: grid !important; grid-template-columns: 1fr 1fr; gap: 26px 8px; padding: 34px 0 40px !important; }
  .counter-card-wrap .counter-card { padding: 0 6px !important; text-align: center; }
  .counter-card .box-number { font-size: 30px !important; }
  .counter-card .box-text { font-size: 13px !important; line-height: 1.3 !important; margin-bottom: 0 !important; }
  /* Smaller round play button over the "Havitive Infra" photo, and smaller floating buttons. */
  .about-tag { zoom: 0.6; }
  .scroll-top { width: 38px !important; height: 38px !important; right: 14px !important; bottom: 14px !important; }
  .hv-chat-fab { height: 40px !important; font-size: 13px !important; padding: 0 14px !important; }
}

/* Counters band (99+ / 20+ ...): shorter on tablets and desktops. */
@media (min-width: 768px) {
  .counter-card-wrap { padding-top: 34px !important; padding-bottom: 34px !important; }
}

/* HAVITIVE watermark on the home banner: one fixed copy on phones, so it never gets cut while slides change. */
.hero-big-text-fixed { display: none; }
@media (max-width: 767px) {
  .hero-inner .hero-big-text { display: none !important; }
  .hero-big-text-fixed {
    display: block !important;
    position: absolute !important;
    left: 0 !important; right: 0 !important; bottom: 10px !important;
    width: 100% !important;
    text-align: center !important;
    white-space: nowrap !important;
    font-size: min(70px, 18.5vw) !important;
    line-height: 1 !important;
    z-index: 5;
    pointer-events: none;
  }
}

/* ---------- Home page: Clients (light), Book Business Solutions (dark, white form card), News (light) ---------- */
.hs-clients { padding: 64px 0; }
.hs-clients .sec-title { font-size: 30px; margin: 0; }
.hs-clients .client-card { background: #fff; border-radius: 14px; box-shadow: 0 4px 18px rgba(5, 33, 50, 0.07); padding: 14px 18px; margin: 6px; }

.hs-enquiry { padding-top: 80px; }
.hs-form-card { background: #fff; border-radius: 24px; padding: 34px; box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28); }
.hs-form-card .appointment-form { margin-right: 0 !important; }
.hs-form-card .form-group.style-border3 input,
.hs-form-card .form-group.style-border3 select,
.hs-form-card .form-group.style-border3 textarea { background: #f4f7fa; border: 1px solid #d5dde6; color: #1c2d37; }
.hs-form-card .form-group.style-border3 input::placeholder,
.hs-form-card .form-group.style-border3 textarea::placeholder { color: #7a8791; }
.hs-form-card .form-group.style-border3 select { color: #5b6a74; }
.hs-form-card .form-group.style-border3 i { color: #052132; }
.hs-form-card .th-btn { background: var(--theme-color2, #e3b94b); color: #052132; }
.hs-form-card .form-alert.ok { background: #e7f6ec; }

.hs-news .sec-title { color: var(--title-color, #052132); }
.hs-news .blog-card.style2 { background: #fff; border-radius: 24px; overflow: hidden; box-shadow: 0 8px 28px rgba(5, 33, 50, 0.1); }
.hs-news .blog-card.style2 .blog-img { border-radius: 0; }
.hs-news .blog-card.style2 .blog-img img { height: 260px; }
.hs-news .blog-card.style2 .blog-content { padding: 22px 26px 28px; }
.hs-news .blog-card.style2 .blog-content .blog-meta a { color: #6b7a85; }
.hs-news .blog-card.style2 .blog-content .box-title a {
  color: var(--title-color, #052132);
  background-image: linear-gradient(to left, var(--title-color, #052132), var(--title-color, #052132));
}

@media (max-width: 767px) {
  .hs-clients { padding: 44px 0; }
  .hs-clients .sec-title { font-size: 24px; }
  .hs-enquiry { padding-top: 48px; }
  .hs-form-card { padding: 20px 16px; border-radius: 20px; }
  .hs-news .blog-card.style2 .blog-img img { height: 210px; }
  .hs-news .blog-card.style2 .blog-content { padding: 18px 18px 22px; }
}

/* News & Articles: smaller cards (three across on wide screens). */
.hs-news .blog-card.style2 .blog-img img { height: 190px; }
.hs-news .blog-card.style2 .blog-content { padding: 16px 20px 20px; }
.hs-news .blog-card.style2 .blog-content .blog-meta { margin-bottom: 8px; font-size: 13px; }
.hs-news .blog-card.style2 .blog-content .blog-meta a { font-size: 13px; }
.hs-news .blog-card.style2 .blog-content .box-title { font-size: 18px; line-height: 1.4; margin-bottom: 14px; }
.hs-news .blog-card.style2 .blog-content .th-btn { padding: 10px 20px; font-size: 14px; }
.hs-news.space { padding-top: 80px; padding-bottom: 80px; }
@media (max-width: 767px) {
  .hs-news .blog-card.style2 .blog-img img { height: 160px; }
  .hs-news .blog-card.style2 .blog-content { padding: 14px 16px 18px; }
  .hs-news .blog-card.style2 .blog-content .box-title { font-size: 17px; }
  .hs-news.space { padding-top: 48px; padding-bottom: 48px; }
}

/* News & Articles buttons: dark outline on the light section. */
.hs-news .th-btn.style-border { color: #052132; border: 1px solid #052132; background: transparent; }
.hs-news .th-btn.style-border.th-btn-icon:after { filter: none; }
.hs-news .th-btn.style-border:hover { background: #052132; color: #fff; }
.hs-news .th-btn.style-border.th-btn-icon:hover:after { filter: brightness(0) invert(1); }

/* Same dark outline for "Read More" on the Blog list and category pages (light background). */
.hs-dark-btn.th-btn.style-border { color: #052132; border: 1px solid #052132; background: transparent; }
.hs-dark-btn.th-btn.style-border.th-btn-icon:after { filter: none; }
.hs-dark-btn.th-btn.style-border:hover { background: #052132; color: #fff; }
.hs-dark-btn.th-btn.style-border.th-btn-icon:hover:after { filter: brightness(0) invert(1); }
