/*
***
*** Sasankha Imesh Bodhinagoda
***
*/

:root {
    --primary: #06A3DA;
    --secondary: #34AD54;
    --light: #EEF9FF;
    --dark: #091E3E;
}

/**** vendor - Home Page ****/
.vendor_img
{
  width: 80% !important;
}

.vendor_img2
{
  margin-top: 25%;
}

/*** houses photo ***/
/* === House Card Layout Fix === */

/* Container for image */
.img-houses-dv {
  width: 100%;
  height: 220px;              /* Fixed height for consistency */
  overflow: hidden;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f7f7f7;  /* Fallback background */
}

/* Image scaling */
.img-houses-img {
  width: 100%;
  height: 100%;
  object-fit: cover;          /* Crops image nicely */
  object-position: center;
  transition: transform 0.3s ease;
}

/* Hover zoom effect (optional) */
.service-item:hover .img-houses-img {
  transform: scale(1.05);
}

/* === Equal-height cards === */
.service-item {
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Push button to bottom */
  align-items: center;
  height: 100%;                    /* Important for equal height */
  min-height: 420px;               /* Set base height for all cards */
  padding: 20px;
  box-sizing: border-box;
  text-align: center;
  background-color: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Nice hover lift */
.service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* Text styling */
.pd-h4 {
  margin-top: 15px;
  margin-bottom: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
}

.service-item p {
  flex-grow: 1;                /* Stretch text area to balance layout */
  color: #555;
  font-size: 0.95rem;
}

/* Button stays at bottom */
.service-item .btn {
  margin-top: auto;
}

/* Responsive adjustment */
@media (max-width: 768px) {
  .img-houses-dv {
    height: 160px;
  }
  .service-item {
    min-height: 360px;
  }
}

.house-gallery.owl-carousel .item {
    margin: 0; /* remove extra gap */
}





/*** Spinner ***/
.spinner {
    width: 40px;
    height: 40px;
    /*background: var(--primary);*/
	background: #F49D1A;
    margin: 100px auto;
    -webkit-animation: sk-rotateplane 1.2s infinite ease-in-out;
    animation: sk-rotateplane 1.2s infinite ease-in-out;
}

@-webkit-keyframes sk-rotateplane {
    0% {
        -webkit-transform: perspective(120px)
    }
    50% {
        -webkit-transform: perspective(120px) rotateY(180deg)
    }
    100% {
        -webkit-transform: perspective(120px) rotateY(180deg) rotateX(180deg)
    }
}

@keyframes sk-rotateplane {
    0% {
        transform: perspective(120px) rotateX(0deg) rotateY(0deg);
        -webkit-transform: perspective(120px) rotateX(0deg) rotateY(0deg)
    }
    50% {
        transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
        -webkit-transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg)
    }
    100% {
        transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
        -webkit-transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
    }
}

#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

.info-house-img
{
  margin: 24% 0;
}

.hme-slider-h1{
font-size: 55px;
}

/* Font- Tilt */
@font-face {
    font-family: 'tilt_neonregular';
    src: url('../fonts/tiltneon-regular-variablefont_xrotyrot-webfont.woff2') format('woff2'),
         url('../fonts/tiltneon-regular-variablefont_xrotyrot-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

.pd-h4
{
  padding-top: 15px;
}

/** shanarri style */
.shanarri-style::first-letter{
	font-size: 250%;
}

.txt-red{
	color: #c60002;
}

.txt-orange{
	color: #e06908;
}

.txt-deep-yellow{
	color: #e2b915;
}

.txt-green{
	color: #00ac4c;
}

.txt-blue{
	color: #0072c4;
}

.txt-deep-blue{
	color: #051e55;
}

.txt-purple{
	color: #6d2ea3;
}

.txt-pink{
	color: #e61f88;
}

/*** Top Bar ***/
.tp-bar-bhgs{
	background-color: #F49D1A !important;
}

/** mission text style **/
.mission-txt-styl{
	font-weight: bold;
	font-family: 'tilt_neonregular';
}

.tllt-fonts{
	font-family: 'tilt_neonregular';
}

/* contact us address */
.addrs-dv{
	width: 100%;
}

.address-h4{
	color: #fff;
	font-size: 1.2rem;
	font-style: italic;
}

.address-color{
	color: #fff !important;
	text-align: center;
	font-size: 1.2rem;
}

/* slider */
.btn-yel{
	background-color: #F49D1A;
	border-color: #F49D1A;
	color: #fff;
}

.btn-yel:focus{
	background-color: #F49D1A !important;
	border-color: #F49D1A !important;
	box-shadow: 0 0 0 .25rem rgba(244, 157, 26,0.5);
}

.btn-yel:hover{
	background-color: #F49D1A;
	border-color: #F49D1A;
	box-shadow: inset 0 0 0 0 #DB8D17 !important;
	color: #000;
}

.bg-ye{
	background-color: #F49D1A !important;
}

.txt-yellow{
	color: #F49D1A !important;
}

.text-important{
	color: #C32F2F;
}

.text-bold{
	font-weight: bold;
}

.txt-white{
	color: #FFF !important;
}

.bg-tint-yel{
	background-color: #FDF5E8 !important;
}

.btn-dark-ye {
  color: #fff;
  background-color: #925E0F;
  border-color: #925E0F;
}

.btn-dark-ye:hover {
	color: #000;
}

.a-yellow{
	color: #F49D1A;
}

.a-yellow:hover{
	color: #AA6D12;
}

.bg-dark-yel{
	/*background-color: #F6BE00 !important;*/
	background-color: #DE970B !important;
}

.btn-white{
	background-color: #FFF;
	border-color: #FFF;
	color: #F49D1A;
}

.btn-white:focus{
	/*background-color: #AEAEAE !important;
	border-color: #AEAEAE !important;
	box-shadow: 0 0 0 .25rem rgba(244, 157, 26,0.5);*/
}

.btn-white:hover{
	/*background-color: #AEAEAE;
	border-color: #AEAEAE;
	box-shadow: inset 0 0 0 0 #AEAEAE !important;*/
	color: #000;
}

.about-circled-link{
	justify-content: center;
}

.abt-lnk-icn-xl{
	width: 150px;
	height: 150px;
}

.img-center{
	display: block;
	margin: auto;
}

.margin-top-2 {
  margin-top: 0.2rem;
}

.margin-top-5 {
  margin-top: 0.5rem;
}

.margin-top-8 {
  margin-top: 0.8rem;
}

.pad-left-5{
	padding-left: 5rem;
}

.lnk-btn:link, .lnk-btn:visited{
	background-color: #de970b;
	color: white;
	padding: 14px 25px;
	text-align: center;
	text-decoration: none;
	display: inline-block;
}

.lnk-btn:hover, .lnk-btn:active {
  background-color: #f49d1a;
}

.input-br-color:focus{
	box-shadow: 0 0 0 .25rem #de970b;
}

.card {
  margin: auto;
  text-align: center;
  border: none;
}

.shre-input-height{
	height: 55px !important;
}

.txt-slider{
	font-style: italic !important;
}


/*** Heading ***/
h1,
h2,
.fw-bold {
    font-weight: 800 !important;
}

h3,
h4,
.fw-semi-bold {
    font-weight: 700 !important;
}

h5,
h6,
.fw-medium {
    font-weight: 600 !important;
}


/*** Button ***/
.btn {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    transition: .5s;
}

.btn-primary,
.btn-secondary {
    color: #FFFFFF;
    box-shadow: inset 0 0 0 50px transparent;
}

.btn-primary:hover {
    box-shadow: inset 0 0 0 0 var(--primary);
}

.btn-secondary:hover {
    box-shadow: inset 0 0 0 0 var(--secondary);
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 30px;
    height: 30px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

/* -------------------------------------
   MATERIAL CARD STYLE FOR NEWS
-------------------------------------- */
.news-card {
    display: flex;
    flex-direction: column;
    background: #fdf5e8;
    border-radius: 18px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    transition: 0.3s ease;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 22px rgba(0,0,0,0.15);
}

/* -----------------------------
   IMAGE
------------------------------ */
.news-card-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: 0.4s ease;
}

.news-card:hover img {
    transform: scale(1.07);
}

/* -----------------------------
   CONTENT AREA
------------------------------ */
.news-card-body {
    display: flex;
    flex-direction: column;
    padding: 22px;
    flex-grow: 1;
}

/* Meta row */
.news-meta {
    display: flex;
    gap: 15px;
    font-size: 13px;
    opacity: 0.75;
    margin-bottom: 8px;
}

/* -----------------------------
   Title clamping
------------------------------ */
.news-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;   /* max 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* -----------------------------
   Excerpt clamping
------------------------------ */
.news-excerpt {
    font-size: 15px;
    line-height: 1.55;
    margin-bottom: 18px;
    flex-grow: 1; /* pushes read more to bottom */
    display: -webkit-box;
    -webkit-line-clamp: 3;   /* max 3 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* -----------------------------
   Read More Button
------------------------------ */
.news-readmore {
    margin-top: auto;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 600;
    color: #e9b300; /* your yellow brand color */
    text-decoration: none;
    transition: 0.3s;
}

.news-readmore:hover {
    color: #ffce26;
}

.news-card:hover {
    border-color: #de970b;
    box-shadow: 0 8px 22px rgba(222, 151, 11, 0.25);
}

/* News tiles default style */
.blog-item {
    background-color: #fdf5e8 !important;   /* soft warm background */
    border-radius: 16px;
    border: 2px solid transparent;
    transition: 0.3s ease;
}

/* Hover effect with brand color */
.blog-item:hover {
    border-color: #de970b;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

/* Optional: inner padding fix */
.blog-item .p-4 {
    padding: 1.5rem !important;
}


/* ---------- Material Article + Sidebar Styles (Option B) ---------- */
/* Brand color */
:root { --uc-accent: #de970b; --uc-bg: #ffffff; --uc-muted: #6b6b6b; }

/* Container layout */
.article-wrap {
    padding: 36px 18px 80px;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* 2-column responsive grid */
.grid-two-col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}

/* On larger screens: two columns (content 2/3 + sidebar 1/3) */
@media (min-width: 992px) {
    .grid-two-col {
        grid-template-columns: 2fr 1fr;
        align-items: start;
    }
}

/* Article card */
.news-article-card .card-inner {
    background: var(--uc-bg);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(11,22,40,0.06);
    border: 2px solid transparent;
    transition: transform .28s ease, box-shadow .28s ease, border-color .22s ease;
}

/* hover uses brand border */
.news-article-card .card-inner:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 40px rgba(11,22,40,0.09);
    border-color: var(--uc-accent);
}

/* Header block (title + meta) */
.article-header {
    padding: 28px 28px 0;
}

.article-title {
    font-size: 28px;
    line-height: 1.15;
    margin: 0 0 14px;
    font-weight: 700;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* meta row */
.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding-bottom: 18px;
    color: var(--uc-muted);
    font-size: 14px;
}

.article-meta .meta-left { display: flex; gap: 12px; align-items:center; }
.article-meta .meta-left span { display:inline-flex; gap:8px; align-items:center; }
.article-meta i { opacity: .9; }

/* share buttons */
.meta-actions { display:flex; gap:10px; align-items:center; }
.share-buttons { display:flex; gap:8px; }
.share-btn {
    display:inline-grid;
    place-items:center;
    width:36px; height:36px;
    border-radius:8px;
    text-decoration:none;
    background:transparent;
    color:var(--uc-muted);
    border:1px solid rgba(11,22,40,0.04);
    transition:all .18s ease;
}
.share-btn:hover { color: var(--uc-accent); transform:translateY(-3px); border-color: rgba(222,151,11,0.14); }

/* Hero image */
.article-hero {
    width: 100%;
    margin: 20px 0;
    overflow: hidden;
    border-radius: 8px;
    display:block;
}
.article-hero img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display:block;
    transition: transform .45s cubic-bezier(.2,.9,.3,1);
}
.news-article-card .card-inner:hover .article-hero img { transform: scale(1.05); }

/* Article content */
.article-content {
    padding: 0 28px 28px;
    font-size: 17px;
    line-height: 1.75;
    color:#222;
}

/* Responsive content width for readability */
@media (min-width: 768px) {
    .article-content {
        font-size: 17.5px;
    }
}

/* Sidebar */
.news-sidebar .sidebar-card {
    background: #fff;
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 6px 20px rgba(11,22,40,0.06);
    border: 1px solid rgba(11,22,40,0.04);
    margin-bottom: 18px;
}

/* Recent list */
.sidebar-title { margin: 0 0 8px; font-size: 18px; font-weight: 700; }
.recent-item {
    display:flex;
    gap:12px;
    align-items:flex-start;
    text-decoration:none;
    padding:10px 6px;
    border-radius:8px;
    transition: background .18s ease, transform .18s ease, border-color .18s ease;
    color: inherit;
}
.recent-item + .recent-item { margin-top:8px; }

.recent-item:hover {
    background: rgba(222,151,11,0.06);
    transform: translateY(-4px);
    border-left: 3px solid var(--uc-accent);
}

.recent-thumb {
    flex: 0 0 84px;
    width:84px;
    height: 64px;
    overflow:hidden;
    border-radius:8px;
    background: #f6f6f6;
    display:flex;
    align-items:center;
    justify-content:center;
}
.recent-thumb img { width:100%; height:100%; object-fit:cover; display:block; }

.recent-body { flex:1; }
.recent-title {
    font-size: 15px;
    margin: 0 0 6px;
    color:#111;
    font-weight:600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow:hidden;
}
.recent-date { font-size: 13px; color: var(--uc-muted); }

/* CTA subscribe box */
.sidebar-card.cta { text-align:left; }
.subscribe-form { display:flex; gap:8px; margin-top:10px; }
.subscribe-form input[type="email"]{
    flex:1;
    padding:10px 12px;
    border-radius:8px;
    border:1px solid rgba(11,22,40,0.06);
}
.btn-subscribe{
    background:var(--uc-accent);
    color:white;
    border:none;
    padding:10px 14px;
    border-radius:8px;
    cursor:pointer;
    font-weight:700;
}
.btn-subscribe:hover{ filter:brightness(.98); transform:translateY(-2px); }

/* small screens: make hero smaller & tidy spacing */
@media (max-width: 767px) {
    .article-title { font-size: 22px; -webkit-line-clamp: 4; }
    .article-hero img { height: 200px; }
    .meta-actions { display:none; } /* hide share/readtime on small screens to reduce clutter */
}

/* accessibility / focus */
a:focus, button:focus, input:focus { outline: 3px solid rgba(222,151,11,0.14); outline-offset: 2px; }





/*** Navbar ***/

.logo-hrc{
	width: 50%;
}
/*
.navbar-dark .navbar-nav .nav-link {
    font-family: 'Nunito', sans-serif;
    position: relative;
    margin-left: 25px;
    padding: 35px 0;
    color: #FFFFFF;
    font-size: 18px;
    font-weight: 600;
    outline: none;
    transition: .5s;
}*/

/*.sticky-top.navbar-dark .navbar-nav .nav-link {
    padding: 20px 0;
    color: var(--dark);
}*/

.sticky-top #menu-main-menu li a {
    padding: 20px 0 !important;
    color: var(--dark) !important;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    /*color: var(--primary);*/
	color: #F49D1A;
}



.navbar-dark .navbar-brand h1 {
    color: #FFFFFF;
}

.navbar-dark .navbar-toggler {
    color: #f49d1a !important;
    border-color: #f49d1a !important;
}



@media (max-width: 991.98px) {
    .sticky-top.navbar-dark {
        position: relative;
        background: #FFFFFF;
    }

    .navbar-dark .navbar-nav .nav-link,
    .navbar-dark .navbar-nav .nav-link.show,
    .sticky-top.navbar-dark .navbar-nav .nav-link {
        padding: 10px 0 !important;
        color: var(--dark) !important;
    }
	
	
	
    .navbar-dark .navbar-brand h1 {
        color: var(--primary);
    }
}

@media (min-width: 992px) {
    .navbar-dark {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        border-bottom: 1px solid rgba(256, 256, 256, .1);
        z-index: 999;
    }
    
    .sticky-top.navbar-dark {
        position: fixed;
        background: #FFFFFF;
    }

    /*.navbar-dark .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 2px;
        bottom: -1px;
        left: 50%;
        background: #F49D1A;
        transition: .5s;
    }*/
	
	
	
    .navbar-dark .navbar-nav .nav-link:hover::before,
    .navbar-dark .navbar-nav .nav-link.active::before {
        width: 100%;
        left: 0;
    }

    .navbar-dark .navbar-nav .nav-link.nav-contact::before {
        display: none;
    }

    .sticky-top.navbar-dark .navbar-brand h1 {
        color: var(--primary);
    }
}


/*** Carousel ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(9, 30, 62, .7);
    z-index: 1;
}

@media (max-width: 576px) {
    .carousel-caption h5 {
        font-size: 14px;
        font-weight: 500 !important;
    }

    .carousel-caption h1 {
        font-size: 30px;
        font-weight: 600 !important;
    }
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}


/*** Section Title ***/
.section-title::before {
    position: absolute;
    content: "";
    width: 150px;
    height: 5px;
    left: 0;
    bottom: 0;
    /*background: var(--primary);*/
	background: #F49D1A;
    border-radius: 2px;
}

.section-title.text-center::before {
    left: 50%;
    margin-left: -75px;
}

.section-title.section-title-sm::before {
    width: 90px;
    height: 3px;
}

.section-title::after {
    position: absolute;
    content: "";
    width: 6px;
    height: 5px;
    bottom: 0px;
    background: #FFFFFF;
    -webkit-animation: section-title-run 5s infinite linear;
    animation: section-title-run 5s infinite linear;
}

.section-title.section-title-sm::after {
    width: 4px;
    height: 3px;
}


.section-title.text-center::after {
    -webkit-animation: section-title-run-center 5s infinite linear;
    animation: section-title-run-center 5s infinite linear;
}

.section-title.section-title-sm::after {
    -webkit-animation: section-title-run-sm 5s infinite linear;
    animation: section-title-run-sm 5s infinite linear;
}

@-webkit-keyframes section-title-run {
    0% {left: 0; } 50% { left : 145px; } 100% { left: 0; }
}

@-webkit-keyframes section-title-run-center {
    0% { left: 50%; margin-left: -75px; } 50% { left : 50%; margin-left: 45px; } 100% { left: 50%; margin-left: -75px; }
}

@-webkit-keyframes section-title-run-sm {
    0% {left: 0; } 50% { left : 85px; } 100% { left: 0; }
}


/*** Service ***/
.service-item {
    position: relative;
    height: 300px;
    padding: 0 30px;
    transition: .5s;
}

.service-item .service-icon {
    margin-bottom: 30px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    /*background: var(--primary);*/
	background: #F49D1A;
    border-radius: 2px;
    transform: rotate(-45deg);
}

.service-item .service-icon i {
    transform: rotate(45deg);
}

.service-item a.btn {
    position: absolute;
    width: 60px;
    bottom: -48px;
    left: 50%;
    margin-left: -30px;
    opacity: 0;
}

.service-item:hover a.btn {
    bottom: -24px;
    opacity: 1;
}


/*** Testimonial ***/
.testimonial-carousel .owl-dots {
    margin-top: 15px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: #F6F6F6 !important;
    border-radius: 2px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 30px;
    /*background: var(--primary);*/
	background: #F49D1A !important;
}

.testimonial-carousel .owl-item.center {
    position: relative;
    z-index: 1;
}

.testimonial-carousel .owl-item .testimonial-item {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: #FFFFFF !important;
    box-shadow: 0 0 30px #F6F6F6;
}


/*** Team ***/
.team-item {
    transition: .5s;
}

.team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .5s;
}

.team-social a.btn {
    position: relative;
    margin: 0 3px;
    margin-top: 100px;
    opacity: 0;
}

.team-item:hover {
    box-shadow: 0 0 30px #DDDDDD;
}

.team-item:hover .team-social {
    background: rgba(9, 30, 62, .7);
}

.team-item:hover .team-social a.btn:first-child {
    opacity: 1;
    margin-top: 0;
    transition: .3s 0s;
}

.team-item:hover .team-social a.btn:nth-child(2) {
    opacity: 1;
    margin-top: 0;
    transition: .3s .05s;
}

.team-item:hover .team-social a.btn:nth-child(3) {
    opacity: 1;
    margin-top: 0;
    transition: .3s .1s;
}

.team-item:hover .team-social a.btn:nth-child(4) {
    opacity: 1;
    margin-top: 0;
    transition: .3s .15s;
}

.team-item .team-img img,
.blog-item .blog-img img  {
    transition: .5s;
}

.team-item:hover .team-img img,
.blog-item:hover .blog-img img {
    transform: scale(1.15);
}


/*** Miscellaneous ***/
@media (min-width: 991.98px) {
    .facts {
        position: relative;
        margin-top: -75px;
        z-index: 1;
    }
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

.bg-header {
    background: linear-gradient(rgba(9, 30, 62, .1), rgba(9, 30, 62, .1)), url(../image/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.bg-header-news {
    background: linear-gradient(rgba(9, 30, 62, .1), rgba(9, 30, 62, .1)), url(../image/news-carosel.jpg) center center no-repeat;
    background-size: cover;
}

.bg-header-testi {
    background: linear-gradient(rgba(9, 30, 62, .1), rgba(9, 30, 62, .1)), url(../image/testi-carosel.jpg) center center no-repeat;
    background-size: cover;
}

.bg-header-houses {
    background: linear-gradient(rgba(9, 30, 62, .1), rgba(9, 30, 62, .1)), url(../image/houses-carosel.jpg) center center no-repeat;
    background-size: cover;
}



.bg-header-inspectorate {
    background: linear-gradient(rgba(9, 30, 62, .1), rgba(9, 30, 62, .1)), url(../image/inspectorate-bg.jpg) center center no-repeat;
    background-size: cover;
}

.bg-header-careers {
    background: linear-gradient(rgba(9, 30, 62, .1), rgba(9, 30, 62, .1)), url(../image/careeres-bg.jpg) center center no-repeat;
    background-size: cover;
}
 
.bg-header-contact {
    background: linear-gradient(rgba(9, 30, 62, .1), rgba(9, 30, 62, .1)), url(../image/contact-bg.jpg) center center no-repeat;
    background-size: cover;
}

.bg-header-team {
    background: linear-gradient(rgba(9, 30, 62, .1), rgba(9, 30, 62, .1)), url(../image/team-bg.jpg) center center no-repeat;
    background-size: cover;
}
 
/*.bg-header-uc { 
    background: linear-gradient(rgba(9, 30, 62, .3), rgba(9, 30, 62, .3)), url(../image/hrc_uk_bg.png) center center no-repeat;
    background-size: cover;
}*/
 
.bg-header-uc {
    background: 
        linear-gradient(rgba(9, 30, 62, 0.3), rgba(9, 30, 62, 0.3)),
        url("../image/hrc_uk_bg_2.png") center center no-repeat;
    background-size: cover; /* Ensures image covers area */
}

.bg-header-awrds {
    background: linear-gradient(rgba(9, 30, 62, .1), rgba(9, 30, 62, .1)), url(../image/award-carosel.png) center center no-repeat;
    background-size: cover;
}

.iframe-dv{
	position: relative;
	padding-bottom: 56.25%;
}

.iframe-center{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}


.link-animated a {
    transition: .5s;
}

.link-animated a:hover {
    padding-left: 10px;
}

.img-fluid {
  width: 100% !important;
}

.text-bold{
	font-weight: bold;
}



@media (min-width: 767.98px) {
    .footer-about {
        margin-bottom: -75px;
    }
	
}

@media (min-width: 575.98px) {
    .item-dis-none2{
		display: none;;
	}
	
}

@media (max-width: 575.98px) {
    .item-dis-none{
		display: none !important;
	}
	.item-dis-none2{
		display: block !important;
	}
	
}

@media (max-width: 991.98px) {
	.abt-history-img{
		display: none;
	}
}

/* --- Equal height cards --- */
.row.g-5.testiWrp {
    display: flex;
    flex-wrap: wrap;
}

.row.g-5.testiWrp > [class*='col-'] {
    display: flex;
}

.testimonial-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    min-height: 350px; /* adjust based on your design */
    transition: all 0.3s ease-in-out;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

/* Inner content flex fix */
.testimonial-item .pt-4.pb-5.px-5 {
    flex-grow: 1;
}

/* --- Hover Animation --- */
.testimonial-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* --- Header area (user icon + name) --- */
.testimonial-item .d-flex.align-items-center.border-bottom {
    border-bottom: 2px solid #f1c40f !important; /* your yellow tint */
}

/* --- Read More link styling --- */
.a-yellow.testi-link {
    color: #f1c40f;
    font-weight: 600;
    transition: color 0.3s, transform 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.a-yellow.testi-link:hover {
    color: #d4ac0d;
    transform: translateX(4px);
}

/* --- Text content control (optional, tidy text) --- */
.testimonial-item p {
    line-height: 1.6;
    color: #555;
}

/* --- Optional: make wow animation smoother --- */
.wow {
    will-change: transform, opacity;
}
