/********** SSP ENTERPRISES - Theme **********/
:root {
    --primary: #C41E3A;
    --primary-dark: #9E1830;
    --primary-light: #E84D66;
    --dark: #0D0D0D;
    --light: #f8f9fa;
    /* Footer & UI palette */
    --footer-bg: #15151a;
    --footer-card: #1c1c22;
    --footer-text: #a8a8b3;
    --footer-heading: #ffffff;
    --accent-gold: #c9a227;
    --section-alt: #f5f6f8;
    --border-subtle: rgba(255,255,255,.06);
}

* { box-sizing: border-box; }

/*** Spinner ***/
#spinner {
    position: fixed;
    inset: 0;
    background: #fff;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity .4s ease, visibility .4s ease;
}
#spinner.show {
    opacity: 1;
    visibility: visible;
}
.spinner {
    width: 48px;
    height: 48px;
    border: 4px solid var(--light);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/*** Background particles - whole website ***/
.particles-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}
.particles-bg .particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.12;
}
.particles-bg .particle:nth-child(3n) { width: 6px; height: 6px; opacity: 0.08; }
.particles-bg .particle:nth-child(5n) { width: 3px; height: 3px; opacity: 0.15; }
.particles-bg .particle-float-up { animation: particleUp linear infinite; }
.particles-bg .particle-float-down { animation: particleDown linear infinite; }
.particles-bg .particle-float-left { animation: particleLeft linear infinite; }
.particles-bg .particle-float-right { animation: particleRight linear infinite; }
.particles-bg .particle-float-diag1 { animation: particleDiag1 linear infinite; }
.particles-bg .particle-float-diag2 { animation: particleDiag2 linear infinite; }
.particles-bg .particle-float-slow { animation: particleSlow linear infinite; }
.particles-bg .particle-pulse { animation: particlePulse ease-in-out infinite; }
@keyframes particleUp {
    0% { transform: translateY(0) scale(1); opacity: 0.12; }
    100% { transform: translateY(-100vh) scale(0.6); opacity: 0; }
}
@keyframes particleDown {
    0% { transform: translateY(-20px) scale(1); opacity: 0; }
    20% { opacity: 0.12; }
    100% { transform: translateY(100vh) scale(0.6); opacity: 0; }
}
@keyframes particleLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100vw); }
}
@keyframes particleRight {
    0% { transform: translateX(0); }
    100% { transform: translateX(100vw); }
}
@keyframes particleDiag1 {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-80vw, -80vh); }
}
@keyframes particleDiag2 {
    0% { transform: translate(0, 0); }
    100% { transform: translate(80vw, 60vh); }
}
@keyframes particleSlow {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -40px) scale(1.2); }
    100% { transform: translate(-20px, 20px) scale(0.9); }
}
@keyframes particlePulse {
    0%, 100% { transform: scale(1); opacity: 0.1; }
    50% { transform: scale(1.8); opacity: 0.2; }
}

/*** Typography ***/
h1, h2, .fw-bold { font-weight: 700 !important; }
h3, h4, .fw-semi-bold { font-weight: 600 !important; }
h5, h6, .fw-medium { font-weight: 600 !important; }

/*** Buttons ***/
.btn {
    font-weight: 600;
    transition: all .25s ease;
    border-radius: 6px;
}
.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}
.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #fff;
    transform: translateY(-1px);
}
.btn-square { width: 38px; height: 38px; padding: 0; text-align: center; display: inline-flex; align-items: center; justify-content: center; }
.btn-lg-square { width: 48px; height: 48px; border-radius: 8px; }

/*** Header Nav Section - fixed bar, separate from banner - same color scroll & normal ***/
.site-header {
    position: relative;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #fff;
    border-bottom: 2px solid var(--primary);
    box-shadow: 0 2px 16px rgba(0,0,0,.06);
    transition: box-shadow .35s ease;
}
.site-header.scrolled {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 4px 24px rgba(0,0,0,.08);
    border-bottom: 2px solid var(--primary);
}
.site-header .navbar {
    max-width: 1400px;
    margin: 0 auto;
}
.site-header .nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    color: #2d2d2d !important;
    padding: 10px 14px !important;
    margin: 0 2px;
    border-radius: 8px;
    transition: color .2s, background .2s;
}
.site-header .nav-link:hover,
.site-header .nav-link.active { color: #fff !important; background: var(--primary); }
.site-header .navbar-toggler {
    border-color: rgba(0,0,0,.2);
    padding: 8px 12px;
    border-radius: 8px;
}
.site-header .navbar-toggler-icon { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(13, 13, 13, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); }
/* Logo + brand text */
.site-header .logo-brand { padding: 0; }
.site-header .logo-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    padding: 8px 14px;
    border-radius: 10px;
    border: 1px solid #eee;
    box-shadow: 0 1px 8px rgba(0,0,0,.08);
    transition: box-shadow .2s;
}
.site-header .logo-wrap img {
    max-height: 44px;
    width: auto;
    height: auto;
    display: block;
    object-fit: contain;
    transition: transform .25s;
}
.site-header .navbar-brand:hover .logo-wrap img { transform: scale(1.02); }
.site-header .navbar-brand:hover .logo-wrap { box-shadow: 0 4px 16px rgba(0,0,0,.12); }
.site-header .header-brand-text { line-height: 1.25; }
.site-header .header-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
}
.site-header .header-tagline {
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 500;
    margin-top: 2px;
}
.site-header .btn-cta {
    background: var(--primary);
    color: #fff !important;
    padding: 10px 22px !important;
    border-radius: 8px;
    margin-left: 8px;
    border: none;
    font-size: 0.95rem;
    box-shadow: 0 4px 14px rgba(196,30,58,.35);
}
.site-header .btn-cta:hover { background: var(--primary-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(196,30,58,.4); }
@media (max-width: 991.98px) {
    .site-header .navbar { max-width: none; }
    .site-header .logo-wrap { padding: 6px 12px; }
    .site-header .logo-wrap img { max-height: 40px; }
    .site-header .nav-link { padding: 12px 16px !important; }
    .site-header .nav-link:hover { background: rgba(196,30,58,.08); color: var(--primary) !important; }
}

/*** Banner Section - separate from header (home page slider only) ***/
.banner-section {
    position: relative;
    width: 100%;
    z-index: 0;
}
.banner-section:empty {
    display: none;
}

/*** Hero Slider - Home page banner ***/
.hero-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
}
.hero-slider .carousel-inner {
    height: 480px;
    width: 100%;
}
.hero-slider .carousel-item {
    height: 480px;
    width: 100%;
    position: relative;
}
.hero-slider .carousel-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
/* Inactive slides: content hidden until animated */
.hero-slider .carousel-item:not(.active) .hero-overlay { opacity: 0; }
.hero-slider .carousel-item:not(.active) img { opacity: 0; }
/* Banner animations - different style per slide (random on each change via JS) */
.hero-slider .carousel-item.active[data-banner-anim="1"] .hero-overlay,
.hero-slider .carousel-item.active[data-banner-anim="1"] img { animation: heroAnimSlideLeft 0.75s ease forwards; }
.hero-slider .carousel-item.active[data-banner-anim="2"] .hero-overlay,
.hero-slider .carousel-item.active[data-banner-anim="2"] img { animation: heroAnimSlideRight 0.75s ease forwards; }
.hero-slider .carousel-item.active[data-banner-anim="3"] .hero-overlay,
.hero-slider .carousel-item.active[data-banner-anim="3"] img { animation: heroAnimZoomIn 0.8s ease forwards; }
.hero-slider .carousel-item.active[data-banner-anim="4"] .hero-overlay,
.hero-slider .carousel-item.active[data-banner-anim="4"] img { animation: heroAnimFadeUp 0.7s ease forwards; }
.hero-slider .carousel-item.active[data-banner-anim="5"] .hero-overlay,
.hero-slider .carousel-item.active[data-banner-anim="5"] img { animation: heroAnimFadeIn 0.8s ease forwards; }
@keyframes heroAnimSlideLeft {
    0% { opacity: 0; transform: translateX(-80px); }
    100% { opacity: 1; transform: translateX(0); }
}
@keyframes heroAnimSlideRight {
    0% { opacity: 0; transform: translateX(80px); }
    100% { opacity: 1; transform: translateX(0); }
}
@keyframes heroAnimZoomIn {
    0% { opacity: 0; transform: scale(0.92); }
    100% { opacity: 1; transform: scale(1); }
}
@keyframes heroAnimFadeUp {
    0% { opacity: 0; transform: translateY(50px); }
    100% { opacity: 1; transform: translateY(0); }
}
@keyframes heroAnimFadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}
@media (min-width: 768px) {
    .hero-slider .carousel-inner,
    .hero-slider .carousel-item { height: 560px; }
}
@media (min-width: 992px) {
    .hero-slider .carousel-inner,
    .hero-slider .carousel-item { height: 620px; }
}
@media (max-width: 575.98px) {
    .hero-slider .carousel-inner,
    .hero-slider .carousel-item { height: 400px; }
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,.75) 0%, rgba(0,0,0,.4) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}
.hero-overlay .hero-subtitle { font-size: .95rem; letter-spacing: .2em; text-transform: uppercase; opacity: .95; }
.hero-overlay .hero-title { font-size: 2.5rem; font-weight: 700; text-shadow: 0 2px 20px rgba(0,0,0,.3); }
@media (min-width: 768px) { .hero-overlay .hero-title { font-size: 3.5rem; } }
.hero-overlay .btn { padding: 12px 28px; border-radius: 8px; font-weight: 600; }
.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next { width: 50px; height: 50px; top: 50%; margin-top: -25px; background: rgba(255,255,255,.2); border-radius: 50%; opacity: 1; transition: background .2s; }
.hero-slider .carousel-control-prev:hover,
.hero-slider .carousel-control-next:hover { background: var(--primary); }
.hero-slider .carousel-control-prev { left: 20px; }
.hero-slider .carousel-control-next { right: 20px; }

/*** Page Title Bar ***/
.page-title-bar {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 4rem 0 3.5rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(196,30,58,.2);
    margin-top: 0;
}
.page-title-bar .page-title { font-size: 2rem; font-weight: 700; color: #fff; margin-bottom: .75rem; text-shadow: 0 1px 2px rgba(0,0,0,.15); }
.page-title-bar .breadcrumb { background: none; margin: 0; justify-content: center; padding-bottom: 0; }
.page-title-bar .breadcrumb-item a { color: rgba(255,255,255,.92); text-decoration: none; }
.page-title-bar .breadcrumb-item.active { color: rgba(255,255,255,.75); }
.page-title-bar .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.6); }

/*** Section title ***/
.section-title { position: relative; padding-bottom: 1rem; }
.section-title .section-label {
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: .5rem;
}
.section-title.section-title-sm .section-label { font-size: .75rem; }
.section-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 2px;
    animation: lineZigzag 2.8s ease-in-out infinite;
}
.section-title.text-center::after { left: 50%; margin-left: -25px; }

/*** Facts / Stats (legacy - kept if used elsewhere) ***/
.facts-row { margin-top: 0; position: relative; z-index: 2; }
.fact-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,.1);
    transition: transform .25s, box-shadow .25s;
    height: 100%;
}
.fact-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(196,30,58,.15); }
.fact-card .fact-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/*** Stats Section - unique block (after About), design + animation ***/
.stats-section {
    position: relative;
    padding: 4.5rem 0;
    background: linear-gradient(135deg, var(--secondary) 0%, #0d0d0d 50%, var(--primary-dark) 100%);
    overflow: hidden;
}
.stats-bg-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.06;
    background-image: radial-gradient(circle at 2px 2px, #fff 1px, transparent 0);
    background-size: 28px 28px;
    pointer-events: none;
}
.stats-section .container { position: relative; z-index: 1; }
.stat-item {
    position: relative;
    text-align: center;
    padding: 2rem 1.5rem;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
    visibility: hidden;
}
.stat-item.animated { visibility: visible; }
.stat-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 24px 48px rgba(0,0,0,.35), 0 0 0 1px rgba(255,255,255,.1);
    border-color: rgba(255,255,255,.15);
}
.stat-item-accent {
    background: linear-gradient(145deg, rgba(255,255,255,.12) 0%, rgba(255,255,255,.04) 100%);
    border-color: var(--primary);
    box-shadow: 0 8px 32px rgba(196,30,58,.2);
}
.stat-item-accent:hover { box-shadow: 0 24px 48px rgba(0,0,0,.35), 0 0 40px rgba(196,30,58,.25); }
.stat-icon-wrap {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    font-size: 1.5rem;
    transition: transform .4s ease, box-shadow .4s ease;
}
.stat-item:hover .stat-icon-wrap {
    transform: rotate(12deg) scale(1.1);
    box-shadow: 0 8px 24px rgba(196,30,58,.5);
}
.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 0.35rem;
    letter-spacing: -0.02em;
}
.stat-label {
    font-size: 0.95rem;
    color: rgba(255,255,255,.75);
    font-weight: 500;
}
.stat-line {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    border-radius: 2px;
    transform: translateX(-50%);
    transition: width .6s ease .2s;
}
.stat-item.animated .stat-line { width: 60%; animation: statLineZigzag 2.8s ease-in-out infinite; }
@keyframes lineZigzag {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(6px); }
    50% { transform: translateX(0); }
    75% { transform: translateX(-6px); }
}
@keyframes statLineZigzag {
    0%, 100% { transform: translateX(-50%); }
    25% { transform: translateX(calc(-50% + 8px)); }
    50% { transform: translateX(-50%); }
    75% { transform: translateX(calc(-50% - 8px)); }
}
@keyframes statReveal {
    0% { opacity: 0; transform: translateY(50px) scale(0.9); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}
.statReveal { animation-name: statReveal; animation-fill-mode: both; }
@media (max-width: 767.98px) {
    .stats-section { padding: 3rem 0; }
    .stat-item { padding: 1.5rem 1rem; }
    .stat-number { font-size: 2rem; }
}

/*** Service cards ***/
.service-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,.06);
    transition: transform .3s, box-shadow .3s;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0,0,0,.04);
}
.service-card:hover { transform: translateY(-8px); box-shadow: 0 20px 48px rgba(196,30,58,.12); }
.service-card .service-icon-wrap {
    height: 200px;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.service-card .service-icon-wrap img { width: 100%; height: 100%; object-fit: cover; }
.service-card .service-body { padding: 1.5rem; flex: 1; }
.service-card .btn { border-radius: 8px; margin-top: auto; }

/*** Call For Quote - ribbon with border-radius, alternate gradient, refined design ***/
.call-for-quote-section {
    width: 100%;
    padding: 1.5rem 1rem;
    margin: 0 1rem;
    max-width: calc(100% - 2rem);
    margin-left: auto;
    margin-right: auto;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, #334155 0%, #1e293b 50%, #0f172a 100%);
    color: #fff;
    text-align: center;
    box-shadow: 0 8px 32px rgba(15,23,42,.25);
}
.call-for-quote-inner {
    max-width: 580px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.4rem 1rem;
}
.call-for-quote-icon {
    font-size: 1.25rem;
    opacity: .9;
    order: 1;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.12);
    border-radius: 10px;
}
.call-for-quote-heading {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0;
    color: #fff;
    order: 2;
    letter-spacing: 0.02em;
}
.call-for-quote-desc {
    font-size: 0.8rem;
    opacity: .88;
    margin: 0;
    line-height: 1.35;
    color: rgba(255,255,255,.85);
    order: 3;
    width: 100%;
    flex-basis: 100%;
}
.call-for-quote-phone {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff !important;
    text-decoration: none;
    letter-spacing: 0.03em;
    transition: opacity .2s;
    order: 4;
}
.call-for-quote-phone:hover { opacity: .9; color: #fff !important; }
.call-for-quote-actions {
    margin: 0;
    order: 5;
}
.call-for-quote-section .btn-enquiry-now {
    display: inline-block;
    padding: 10px 1.75rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 10px;
    background: var(--primary);
    color: #fff !important;
    border: none;
    box-shadow: 0 4px 14px rgba(196,30,58,.4);
    transition: transform .2s, box-shadow .2s, background .2s;
}
.call-for-quote-section .btn-enquiry-now:hover {
    background: var(--primary-dark);
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(196,30,58,.5);
}

/*** Content sections - Refined ***/
.content-section {
    padding: 4.5rem 0;
    background: #fff;
}
.content-section.alt {
    background: var(--section-alt);
    border-top: 1px solid rgba(0,0,0,.04);
    border-bottom: 1px solid rgba(0,0,0,.04);
}
.img-wrap { border-radius: 16px; overflow: hidden; box-shadow: 0 10px 40px rgba(0,0,0,.08); }
.img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.icon-box {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: linear-gradient(145deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(196,30,58,.25);
}

/*** Why Choose Us - cards, center aligned ***/
.why-choose-card {
    background: #fff;
    border-radius: 16px;
    padding: 1.75rem;
    box-shadow: 0 4px 24px rgba(0,0,0,.06);
    border: 1px solid rgba(0,0,0,.04);
    text-align: center;
    transition: box-shadow .25s, transform .25s;
}
.why-choose-card:hover {
    box-shadow: 0 12px 40px rgba(196,30,58,.12);
    transform: translateY(-4px);
}
.why-choose-card-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    border-radius: 12px;
    background: linear-gradient(145deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 14px rgba(196,30,58,.25);
}
.why-choose-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #2d2d2d;
    margin-bottom: 0.5rem;
}
.why-choose-card-desc {
    font-size: 0.95rem;
    line-height: 1.5;
}
.why-choose-img-wrap {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,.08);
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.why-choose-img-wrap img { width: 100%; height: 100%; object-fit: cover; }

/*** Home page - Service cards (title, 50 char, Read more) ***/
.service-home-card {
	background: #fff;
	border-radius: 16px;
	padding: 1.75rem;
	box-shadow: 0 4px 24px rgba(0,0,0,.06);
	border: 1px solid rgba(0,0,0,.04);
	height: 100%;
	display: flex;
	flex-direction: column;
	transition: box-shadow .25s, transform .25s;
}
.service-home-card:hover {
	box-shadow: 0 12px 40px rgba(196,30,58,.12);
	transform: translateY(-4px);
}
.service-home-card-title {
	font-size: 1.1rem;
	font-weight: 700;
	color: #2d2d2d;
	margin-bottom: 0.5rem;
}
.service-home-card-desc {
	font-size: 0.9rem;
	color: #666;
	line-height: 1.5;
	margin-bottom: 1rem;
	flex: 1;
}
.service-home-card .btn { align-self: flex-start; }

/*** Service detail page ***/
.service-detail-img-wrap {
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 4px 24px rgba(0,0,0,.08);
	background: #f5f5f5;
}
.service-detail-img-wrap img { width: 100%; height: auto; display: block; object-fit: contain; max-height: 420px; object-position: center; }
.service-detail-desc { font-size: 1rem; color: #444; line-height: 1.6; }
.other-services-section { border-top: 1px solid rgba(0,0,0,.08); }
.other-services-carousel .owl-stage { display: flex; align-items: stretch; }
.other-services-carousel .owl-item { display: flex; height: auto; }
.other-services-carousel .owl-item > div { width: 100%; margin: 0 8px; }

/*** About page - Team section (full width, 4 at a time, infinite carousel) ***/
.team-section { padding-bottom: 3rem; }
.team-carousel-wrap { width: 100%; padding: 0 15px; }
.team-carousel .owl-stage { display: flex; align-items: stretch; }
.team-carousel .owl-item { display: flex; height: auto; }
.team-carousel .owl-item > div { width: 100%; margin: 0 10px; }
.team-card {
	background: #fff;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 4px 24px rgba(0,0,0,.06);
	border: 1px solid rgba(0,0,0,.04);
	height: 100%;
	display: flex;
	flex-direction: column;
	transition: box-shadow .25s, transform .25s;
}
.team-card:hover {
	box-shadow: 0 12px 40px rgba(196,30,58,.1);
	transform: translateY(-4px);
}
/* Image frame - bordered frame around photo */
.team-card-img-frame {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 12px;
	margin: 12px 12px 0;
	background: #fff;
	border: 3px solid rgba(196,30,58,.15);
	border-radius: 12px;
	box-shadow: inset 0 0 0 1px rgba(0,0,0,.06);
}
.team-card-img {
	width: 100%;
	height: 240px;
	overflow: hidden;
	background: #f0f0f0;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.team-card-img img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.team-card-body {
	padding: 1.25rem;
	flex: 1;
	display: flex;
	flex-direction: column;
}
.team-card-name { font-size: 1.1rem; font-weight: 700; color: #2d2d2d; margin: 0 0 0.25rem; }
.team-card-designation { font-size: 0.85rem; color: var(--primary); font-weight: 600; margin: 0 0 0.5rem; }
.team-card-about { font-size: 0.875rem; color: #666; line-height: 1.5; margin: 0 0 0.75rem; flex: 1; }
/* Social links - single row with display flex */
.team-card-social {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: auto;
}
.team-card-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 8px;
	background: rgba(196,30,58,.08);
	color: var(--primary);
	transition: background .2s, color .2s;
	flex-shrink: 0;
}
.team-card-link:hover { background: var(--primary); color: #fff; }
.team-carousel .owl-dots { margin-top: 1.5rem; display: flex; justify-content: center; gap: 8px; }
.team-carousel .owl-dot { width: 12px; height: 12px; border-radius: 50%; background: #ddd !important; transition: all .25s; }
.team-carousel .owl-dot.active { width: 32px; border-radius: 6px; background: var(--primary) !important; }

/*** Quote form box ***/
.quote-box {
    background: var(--primary);
    border-radius: 16px;
    padding: 2rem;
    color: #fff;
}
.quote-box .form-control, .quote-box .form-select { height: 52px; border-radius: 8px; border: none; }
.quote-box textarea.form-control { min-height: 120px; border-radius: 8px; border: none; }
.quote-box .btn-dark { background: #1a1a1a; border: none; border-radius: 8px; padding: 14px; font-weight: 600; }
.quote-box .btn-dark:hover { background: #333; }

/*** Testimonials ***/
.testimonial-carousel .owl-dots { margin-top: 1.5rem; display: flex; justify-content: center; gap: 8px; }
.testimonial-carousel .owl-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd !important;
    transition: all .25s;
}
.testimonial-carousel .owl-dot.active { width: 32px; border-radius: 6px; background: var(--primary) !important; }
.testimonial-item {
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 24px rgba(0,0,0,.06);
    border: 1px solid rgba(0,0,0,.04);
    transition: box-shadow .25s;
    height: 100%;
    min-height: 200px;
}
.testimonial-carousel .owl-item.active .testimonial-item { box-shadow: 0 12px 40px rgba(196,30,58,.1); }
/* Left: square image | Right: name + content */
.testimonial-body { display: flex; gap: 1rem; align-items: flex-start; }
.testimonial-img-wrap {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    background: #f5f5f5;
}
.testimonial-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.testimonial-content { min-width: 0; }
.testimonial-text { font-size: 0.95rem; color: #555; line-height: 1.6; }

/*** Testimonials + Partners row (6:6) - titles centered, soft background ***/
.testimonials-partners-row {
    background: linear-gradient(180deg, #eef0f5 0%, #e2e5ec 100%);
    border-top: 1px solid rgba(0,0,0,.06);
    border-bottom: 1px solid rgba(0,0,0,.06);
}
.testimonials-partners-row .section-title-center { text-align: center; }
.testimonials-partners-row .section-title-center::after { left: 50%; margin-left: -25px; }

/*** Partner cards - testimonial style: logo top, title bottom ***/
.partner-card {
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 24px rgba(0,0,0,.06);
    border: 1px solid rgba(0,0,0,.04);
    transition: box-shadow .25s;
    height: 100%;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.partner-card:hover { box-shadow: 0 12px 40px rgba(196,30,58,.1); }
.partner-card-logo {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    margin-bottom: 1rem;
}
.partner-card-logo img {
    max-height: 64px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(0.4);
    opacity: 0.9;
    transition: filter .25s, opacity .25s;
}
.partner-card:hover .partner-card-logo img { filter: grayscale(0); opacity: 1; }
.partner-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: #2d2d2d;
    margin: 0;
}

/*** Vendor carousel - 2 per view, infinite ***/
.vendor-carousel .owl-stage { display: flex; align-items: stretch; }
.vendor-carousel .owl-item { display: flex; }
.vendor-carousel .owl-item > div { width: 100%; }
.vendor-carousel .owl-dots { margin-top: 1.5rem; display: flex; justify-content: center; gap: 8px; }
.vendor-carousel .owl-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd !important;
    transition: all .25s;
}
.vendor-carousel .owl-dot.active { width: 32px; border-radius: 6px; background: var(--primary) !important; }

/*** Product box ***/
.product-box {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,.06);
    border-top: 4px solid var(--primary);
    transition: box-shadow .25s, transform .25s;
    height: 100%;
    padding: 1.5rem;
}
.product-box:hover { box-shadow: 0 16px 48px rgba(196,30,58,.12); transform: translateY(-4px); }
.product-box .product-img { border-radius: 12px; overflow: hidden; margin-bottom: 1rem; max-height: 260px; }
.product-box .product-img img { width: 100%; height: 260px; object-fit: cover; }
.product-box h2 { font-size: 1.2rem; color: var(--primary); font-weight: 700; margin-bottom: .5rem; }
.product-box p { margin-bottom: .5rem; font-size: .95rem; }

/*** Home page product cards - 4 per row, 2 rows, fixed frame & content ***/
.product-home-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,.06);
    border: 1px solid rgba(0,0,0,.06);
    transition: box-shadow .25s, transform .25s;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.product-home-card:hover { box-shadow: 0 12px 40px rgba(196,30,58,.1); transform: translateY(-4px); }
/* Fixed image frame - same size on every card */
.product-home-card-img {
    flex-shrink: 0;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f0f0f0;
    border-radius: 12px 12px 0 0;
}
.product-home-card-img img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.product-home-card-body {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 200px;
}
/* Fixed height for title - 2 lines max, same space every time */
.product-home-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #2d2d2d;
    margin: 0 0 0.5rem;
    line-height: 1.35;
    min-height: 2.7em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
/* Fixed height for description - 2 lines, same space every time */
.product-home-card-desc {
    font-size: 0.875rem;
    color: #666;
    line-height: 1.45;
    margin: 0 0 1rem;
    min-height: 2.9em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-home-card-desc:empty::before { content: '\00a0'; }
.product-home-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;
}
.product-home-card-actions .btn { flex: 1; min-width: 0; white-space: nowrap; }
.product-home-card-actions .btn-outline-primary { border-radius: 8px; font-weight: 600; }
.product-home-card-actions .btn-primary { border-radius: 8px; font-weight: 600; }

/*** Product detail page - single product ***/
.product-detail-img-wrap {
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 4px 24px rgba(0,0,0,.08);
	background: #f5f5f5;
}
.product-detail-img-wrap img { width: 100%; height: auto; display: block; object-fit: contain; max-height: 480px; object-position: center; }
.product-detail-desc { font-size: 1rem; color: #444; line-height: 1.6; }
.product-detail-specs li { margin-bottom: 0.5rem; font-size: 0.95rem; }
.product-detail-features .table { font-size: 0.9rem; }
.related-products-section { border-top: 1px solid rgba(0,0,0,.08); }

.hide { display: none !important; }
.read-more-list { list-style: none; padding: 0; margin: 1rem 0 0; }
.read-more-list .table { font-size: .9rem; }
.read-more-list th { background: #f5f5f5; }

/*** Gallery ***/
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}
.gallery-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,.08);
    transition: transform .25s, box-shadow .25s;
}
.gallery-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(196,30,58,.15); }
.gallery-card a { display: block; aspect-ratio: 4/3; overflow: hidden; }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery-card:hover img { transform: scale(1.05); }
.videoSize { max-width: 100%; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 24px rgba(0,0,0,.1); }

/*** Footer - Premium design ***/
.site-footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: 0;
    position: relative;
    overflow: hidden;
}
.site-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 50%, var(--primary) 100%);
    opacity: .95;
}
.site-footer .footer-inner {
    padding: 4rem 0 2rem;
    max-width: 1200px;
    margin: 0 auto;
}
.site-footer .footer-brand a { display: inline-block; transition: opacity .25s; }
.site-footer .footer-brand a:hover { opacity: .9; }
.site-footer .footer-brand img {
    max-height: 52px;
    margin-bottom: 1rem;
    filter: brightness(1.05);
}
.site-footer .footer-brand .footer-title {
    color: var(--footer-heading);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -.02em;
}
.site-footer .footer-tagline {
    color: var(--primary-light);
    font-size: .8rem;
    letter-spacing: .15em;
    margin-top: .35rem;
    font-weight: 600;
}
.site-footer .footer-desc {
    margin-top: 1rem;
    font-size: .9rem;
    line-height: 1.65;
    color: var(--footer-text);
    max-width: 280px;
}
.site-footer .footer-heading {
    color: var(--footer-heading);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: .02em;
    position: relative;
    padding-bottom: 10px;
}
.site-footer .footer-heading::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 32px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    animation: lineZigzag 2.8s ease-in-out infinite;
}
.site-footer .footer-links a {
    color: var(--footer-text);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: .95rem;
    transition: color .2s, transform .2s;
}
.site-footer .footer-links a:hover { color: var(--primary-light); transform: translateX(4px); }
.site-footer .footer-links a i, .site-footer .footer-links a .bi { color: var(--primary); font-size: .75rem; }
.site-footer .footer-contact p {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: .95rem;
    line-height: 1.5;
}
.site-footer .footer-contact i {
    color: var(--primary);
    margin-top: 3px;
    flex-shrink: 0;
}
.site-footer .footer-contact a {
    color: var(--footer-text);
    text-decoration: none;
    transition: color .2s;
}
.site-footer .footer-contact a:hover { color: var(--primary-light); }
.site-footer .footer-social {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 1.25rem;
}
.site-footer .footer-social a {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--primary);
    color: #fff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    transition: all .25s;
}
.site-footer .footer-social a:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,.2);
}
.footer-bottom {
    background: rgba(0,0,0,.4);
    padding: 1.25rem 1rem;
    margin-top: 0;
    text-align: center;
    font-size: .9rem;
    color: var(--footer-text);
    border-top: 1px solid var(--border-subtle);
}
.footer-bottom .container { max-width: 1200px; margin: 0 auto; }

/*** Footer light variant - for PNG logo (light bg, dark text) ***/
.site-footer.footer-light {
    background: #f5f6f8;
    color: #374151;
}
.site-footer.footer-light::before { opacity: 1; }
.site-footer.footer-light .footer-title { color: #111827; }
.site-footer.footer-light .footer-tagline { color: var(--primary); }
.site-footer.footer-light .footer-desc { color: #6b7280; }
.site-footer.footer-light .footer-heading { color: #111827; }
.site-footer.footer-light .footer-links a { color: #4b5563; }
.site-footer.footer-light .footer-links a:hover { color: var(--primary); }
.site-footer.footer-light .footer-links a i,
.site-footer.footer-light .footer-links a .bi { color: var(--primary); }
.site-footer.footer-light .footer-contact span,
.site-footer.footer-light .footer-contact a { color: #4b5563; }
.site-footer.footer-light .footer-contact a:hover { color: var(--primary); }
.site-footer.footer-light .footer-contact i { color: var(--primary); }
.site-footer.footer-light .footer-brand img { filter: none; }
.site-footer.footer-light .footer-bottom {
    background: #290516;
    color: #f8f9fa;
    border-top: 1px solid #d1d5db;
}

/*** Back to top - matches footer ***/
.back-to-top {
    position: fixed;
    right: 28px;
    bottom: 28px;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99;
    background: var(--primary) !important;
    border: none;
    box-shadow: 0 6px 24px rgba(196,30,58,.4);
    transition: transform .2s, box-shadow .2s;
}
.back-to-top:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(196,30,58,.5); }
.back-to-top i { font-size: 1.2rem; }

/*** Popup modal - Enquiry Now ***/
.popup-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    backdrop-filter: blur(8px);
}
.popup-overlay.show { display: flex; }
.popup-box {
    background: #fff;
    border-radius: 24px;
    width: 100%;
    max-width: 460px;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 32px 80px rgba(0,0,0,.18), 0 0 0 1px rgba(255,255,255,.05);
    position: relative;
}
.popup-box .popup-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,.2);
    color: #fff;
    border: 1px solid rgba(255,255,255,.3);
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
    transition: background .2s, transform .2s;
}
.popup-box .popup-close:hover {
    background: rgba(255,255,255,.35);
    color: #fff;
    transform: scale(1.05);
}
.popup-box .popup-head {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    padding: 2rem 1.5rem 1.75rem;
    padding-right: 4rem;
    border-radius: 24px 24px 0 0;
}
.popup-box .popup-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 0.35rem;
    letter-spacing: -0.02em;
}
.popup-box .popup-subtitle {
    font-size: 0.9rem;
    opacity: .92;
    margin: 0;
    line-height: 1.4;
}
.popup-box .popup-body {
    padding: 1.75rem 1.5rem;
    overflow-y: auto;
}
.popup-box .form-control,
.popup-box .form-select {
    height: 50px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    font-size: 0.95rem;
    transition: border-color .2s, box-shadow .2s;
}
.popup-box .form-control:focus,
.popup-box .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(196,30,58,.12);
    outline: none;
}
.popup-box textarea.form-control {
    min-height: 100px;
    border-radius: 12px;
    padding-top: 14px;
    resize: vertical;
}
.popup-box .btn-submit {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%) !important;
    color: #fff !important;
    padding: 16px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    width: 100%;
    margin-top: 0.25rem;
    box-shadow: 0 4px 16px rgba(196,30,58,.35);
    transition: transform .2s, box-shadow .2s;
}
.popup-box .btn-submit:hover {
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(196,30,58,.4);
}

/*** Utilities ***/
img { max-width: 100%; height: auto; object-fit: cover; }
.link-animated a { transition: color .2s, padding-left .2s; }
.link-animated a:hover { color: var(--primary) !important; padding-left: 6px; }

@media (max-width: 767.98px) {
    .content-section { padding: 2.5rem 0; }
    .page-title-bar { padding: 3rem 0 2.5rem; }
    .page-title-bar .page-title { font-size: 1.5rem; }
    .site-footer .footer-inner { padding: 3rem 0 1.5rem; }
    .site-footer .footer-brand .footer-desc { max-width: 100%; }
}
