/* Loader */

.loader .loader-icon {
    width: 300px;
}

.loader .loader-icon img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
}

.loader .loader-container:before {
    display: none;
}

.loader .loader-container {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 0px;
}


/* Setting */

.rs-theme-settings {
    display: none;
}


/* Header */

header {
    /* height: 14vh; */
}


/* Topbar */

.rs-header-top.rs-header-top-four {
    margin-inline-start: unset;
    background: var(--primary-color);
    /* padding: 10px 50px; */
    padding: 5px 50px;
}

.rs-header-top.rs-header-top-four .rs-header-contact-item span,
.rs-header-top.rs-header-top-four .rs-header-contact-item h6,
.rs-header-top .rs-header-info-item a {
    color: var(--white-color);
    font-size: 13px;
    font-weight: 400;
    line-height: normal;
    letter-spacing: normal;
    margin: 0;
}

.rs-header-top .rs-header-info-item a:hover,
.rs-header-top .rs-theme-social a:hover {
    color: cyan !important;
}

header .container-fluid {
    padding: 0px !important;
}


/* Navbar */

.rs-header-five .rs-header-inner {
    padding-inline-end: unset;
    padding: 0px 50px;
    justify-content: space-between;
    width: 100%;
    gap: 25px;
    background: var(--white-color);
    box-shadow: 0px 0px 3px #00000025;
}


/* .rs-header-five .rs-header-inner .rs-header-left,
.rs-header-five .rs-header-inner .rs-header-right {
  padding: 10px 0px;
} */

.rs-header-five .rs-header-logo-wrapper {
    width: 100%;
    height: auto;
}

.rs-header-five .rs-header-logo-wrapper {
    background: transparent;
}

.rs-header-logo img {
    width: 300px;
    max-width: 300px;
    height: auto;
    object-fit: contain;
    object-position: center;
}

.rs-header-five .rs-header-menu {
    padding: 0px;
    margin-inline-end: unset;
}

.rs-header-five .main-menu {
    margin-inline-start: unset;
    padding-inline-start: unset;
    border-inline-start: unset;
}

.rs-header-five .main-menu li a {
    padding: 32px 15px;
    font-size: 13px;
    font-weight: 500;
    line-height: normal;
    letter-spacing: normal;
    margin: 0;
    align-items: center;
}

.main-menu li.menu-item-has-children>a::after {
    font-size: 13px;
}

.rs-header-five .main-menu li a {
    padding: 28.8px 15px;
}

.rs-header-five .main-menu li:first-child a {
    padding-left: 0px;
}

.rs-header-five .main-menu li:last-child a {
    padding-right: 0px;
}

.rs-header-five .main-menu li a:hover {
    color: var(--primary-color) !important;
}

.rs-header-five .main-menu .has-mega-menu .mega-menu li a {
    padding: 0px;
}

.rs-header-five .main-menu .has-mega-menu .mega-menu.mega-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr) !important;
    grid-gap: 50px;
    padding: 50px !important;
    width: 100%;
    max-width: 100%;
}

.rs-header-five .main-menu .has-mega-menu .mega-menu .mmcr {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 25px;
}

.rs-header-five .main-menu .has-mega-menu .mega-menu .mmct {
    margin-bottom: 25px !important;
    color: #005491;
    padding-bottom: 5px;
    border-bottom: 1px solid #ccc;
}

.rs-header-five .main-menu .has-mega-menu .mega-menu .mmcr-menu-title {
    margin-bottom: 10px !important;
    color: #000;
}

.rs-header-five .main-menu .has-mega-menu .mega-menu .mmcr-menu-list .mr-mn-li {
    margin: 5px 0px !important;
}

.rs-header-five .main-menu .has-mega-menu .mega-menu .mmcr-menu a {
    border: none;
}

.rs-header-five .main-menu .has-mega-menu .mega-menu .mmcr-menu-list .mr-mn-li {
    transform: unset;
    letter-spacing: 0px;
}

.rs-header-right {
    display: none !important;
}


/* Slider */

.toyo-slider .swiper,
.swiper-fade .swiper-slide {
    /* height: 86vh; */
    /* height: calc(100vh - 126.4px); */
    height: calc(94vh - 110px);
    display: flex;
    align-items: flex-end;
    justify-content: start;
}


/* .toyo-slider .process-counts {
  transform: unset !important;
} */


/* .toyo-slider .swiper-slide {
  margin: 0px !important;
} */

.rs-banner-eight .rs-banner-item-wrapper {
    width: 100% !important;
    height: calc(94vh - 110px) !important;
    padding: 0px;
}

.rs-banner-eight .rs-banner-bg-thumb {
    background-size: cover;
    background-position: left;
}


/* .rs-banner-eight .rs-banner-item-wrapper .container {
  display: none;
} */

.rs-banner-eight .rs-banner-item {
    padding-bottom: 50px;
}

.rs-banner-eight .rs-banner-navigation .has-theme-black:hover {
    color: #fff;
}

.rs-banner-eight .rs-banner-title {
    text-transform: capitalize !important;
    font-size: 50px;
    font-weight: 700;
    line-height: normal;
    letter-spacing: normal;
    margin: 0;
    padding: 0;
    max-width: 50%;
    filter: drop-shadow(0px 0px 3px #00000030);
}

.rs-banner-eight .rs-banner-descrip p {
    text-transform: capitalize !important;
    font-size: 20px;
    font-weight: 400;
    line-height: normal;
    letter-spacing: normal;
    margin: 0;
    padding: 0;
    filter: drop-shadow(0px 0px 3px #00000030);
}

.rs-banner-eight .rs-banner-descrip {
    margin: 15px 0px;
}


/* About */

.rs-section-subtitle svg {
    width: 50px;
    height: 50px;
}

.rs-about-one .rs-about-thumb {
    filter: drop-shadow(0px 0px 5px #00000025);
}

.rs-about-one .rs-about-thumb .rs-about-bg-thumb {
    clip-path: polygon(0% 0%, 95% 0%, 100% 15%, 100% 100%, 0% 100%);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.rs-about-one .rs-about-thumb {
    height: 450px;
}


/* Services */

.rs-services-one .rs-services-tab-content-thumb img {
    height: 500px;
    width: 100%;
    object-fit: cover;
    object-position: center;
    clip-path: unset !important;
}

.ser::after {
    position: absolute;
    content: "";
    bottom: 0;
    left: 0;
    width: 100%;
    height: 250px;
    background: url(../img/services/bg.png);
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
    z-index: 0;
}

.ind .rs-services-item .descrip {
    min-height: 150px;
}

.ind .rs-services-title {
    min-height: 68px;
}

.ind .rs-services-thumb {
    background: #d2d2d2;
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ind .rs-services-thumb a {
    margin: 0;
    padding: 0;
}

.ind .rs-services-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}


/* Key Values */

.key-value .rs-services-content {
    background: transparent;
    padding: 0px;
}

.key-value .rs-services-thumb img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    object-position: center;
}

.key-value .rs-services-thumb {
    margin-bottom: 25px;
}

.key-value .rs-services-item {
    text-align: center;
}

.key-value .rs-services-title {
    margin: 0px;
    font-size: 16px;
}


/* Certificates */

.certificates .rs-services-item.certificate {
    position: relative;
    background: #f7f7f7;
}

.certificates .rs-services-content.certificate-content {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(175deg, black, transparent);
}

.certificates .rs-services-item.certificate:hover .rs-services-content.certificate-content {
    display: block;
    cursor: pointer;
}

.certificates .rs-services-thumb.certificate-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 35px;
}

.certificates .rs-services-thumb.certificate-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    box-shadow: 3px 3px 5px 2px #00000050;
}

.certificates .rs-services-content.certificate-content h5,
.certificates .rs-services-content.certificate-content p {
    color: #fff;
}


/* Video */

.video .rs-rotate-btn {
    background: #005eb850;
}

.video .rs-rotate-btn .rs-text-circle span {
    color: #fff;
}

.video .rs-rotate-btn .rs-text-circle-wrapper {
    width: 160px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) !important;
}

.video .rs-rotate-btn {
    width: 170px;
    height: 170px;
}


/* Blogs */

.blog .rs-blog-thumb {
    background: #f7f7f7;
    height: 300px;
}

.blog .rs-blog-thumb a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog .rs-blog-thumb a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.blog .rs-blog-item {
    position: relative;
}

.blog .rs-blog-content {
    padding: 25px 5px;
}

.blog .rs-blog-tag.has-theme-deep-blue {
    margin-bottom: 15px;
}


/* Contact */

.cont svg,
.cont svg path {
    fill: #fff !important;
}

.cont,
.cont.black-bg {
    background: var(--primary-color) !important;
}


/* Footer */

.nf {
    border-top: 1px solid #f6f6f6;
}

.nf .rs-footer-item {
    padding: 50px 0px;
}

.nf .rs-footer-widget-logo {
    margin-bottom: 25px;
}

.nf .rs-footer-widget-logo img {
    width: 300px;
    max-width: 300px;
    height: auto;
    object-fit: contain;
    object-position: center;
}

.nf .rs-footer-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.nf .rs-footer-item {
    flex: 1;
    min-width: 250px;
}

.nf .text-center {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #005491;
    /* padding: 15px 50px; */
    padding: 10px 50px;
    color: #fff;
}

.nf .text-center p,
.nf .text-center strong {
    color: #fff;
    font-size: 16px;
    font-weight: normal !important;
    line-height: normal;
    letter-spacing: normal;
}

.nf .container {
    padding: 0px !important;
}

.nf .rs-footer-widget-content h3.shx.mt-2.rs-footer-widget-stroke-text {
    /* -webkit-text-stroke: 1px var(--rs-theme-blue);
  -webkit-text-fill-color: rgba(168, 17, 17, 0); */
    color: var(--primary-color);
    -webkit-text-fill-color: unset !important;
    -webkit-text-stroke: unset !important;
}

.nf .rs-footer-item ul li::marker {
    display: none !important;
}

.nf a:hover,
.rs-header-area.has-theme-yellow .main-menu ul li a.active,
.rs-header-five .main-menu li a:hover {
    color: var(--primary-color) !important;
}

:root {
    --rs-theme-yellow: var(--primary-color) !important;
    --rs-theme-deep-blue: var(--primary-color) !important;
}

.new-header {
    display: inline;
}


/* Back To Top */

.backtotop-wrap {
    background: var(--primary-color);
}

.backtotop-wrap:hover {
    background: #000;
}


/* Service New */

.ser.primary-bg {
    background: var(--primary-color) !important;
}

.ser .rs-services-tab-title,
.ser .rs-services-tab-content p,
.ser .rs-services-tab-list ul li,
.ser .rs-btn.has-text,
.ser .rs-theme-orange,
.ser .rs-section-title,
.ser .rs-section-subtitle.has-theme-orange,
.ser .rs-section-subtitle.has-theme-yellow {
    color: #fff !important;
}

.ser .rs-btn.has-icon .icon-box svg,
.ser .rs-section-subtitle svg path {
    fill: #fff !important;
}

.ser .rs-btn.has-text {
    text-decoration: none !important;
}

.ser .rs-services-tab-list ul li::before {
    border-color: #fff !important;
}

.ser .rs-services-tab .nav-link {
    /* border: none; */
    background: transparent !important;
    color: #fff !important;
}

.ser .rs-btn.has-bg::before {
    /* background: transparent !important; */
    /* border: 1px solid #e1e1e1; */
}

.ser::after {
    display: none;
}

.key-value .rs-services-thumb img {
    /* opacity: 0.5; */
    opacity: 0.7;
}

.toyo-svg .cls-1 {
    fill: none;
    fill-rule: evenodd;
    /* stroke: #0c5b90; */
    stroke: gray;
    stroke-width: 1px;
}

.abt {
    position: relative;
}

.abt .toyo-svg {
    position: absolute;
    top: 78.5%;
    left: 50px;
    transform: translateY(-50%);
    z-index: -1;
    width: max-content;
    height: 40%;
    opacity: 0.3;
}

.abt .toyo-svg svg,
.ser .toyo-svg svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.ser .toyo-svg {
    position: absolute;
    bottom: 0px;
    right: 2%;
    z-index: -1;
    width: max-content;
    height: 65%;
    opacity: 0.1;
}

.ser .toyo-svg .cls-1 {
    fill: none;
    stroke: #fff;
}

.main-menu .submenu li a {
    padding: 15px !important;
}

.rs-header-five .main-menu .has-mega-menu .mega-menu.mega-grid.ser-mm {
    grid-template-columns: repeat(1, 1fr) !important;
}

.ser-mm ul.thx.mmcr {
    grid-template-columns: repeat(3, 1fr) !important;
    grid-row-gap: 5px !important;
}

.ser-mm ul li a {
    border: none !important;
}

.mi-logo {
    margin-top: 30px;
}

.mi-logo img {
    width: 206px;
    height: auto;
    object-fit: contain;
    object-position: center;
}

.w-txt {
    color: #fff !important;
}

.cont-map {
    padding: 0px;
}

.cont-map iframe {
    margin-bottom: -8px;
}


/* About US */

.timeline {
    position: relative;
    margin: 40px 0;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #005491, #0056b3);
}

.timeline-item {
    position: relative;
    margin: 25px 0;
    padding-left: 75px;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: 22px;
    top: 0;
    width: 18px;
    height: 18px;
    background: #005491;
    border: 4px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 4px #e3f2fd;
}

.timeline-content {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #005491;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.stat-card {
    text-align: center;
    padding: 25px;
    /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
    background: linear-gradient(135deg, #005491, #0066b3);
    border-radius: 15px;
    color: white;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 50px;
    font-weight: 700;
    line-height: normal;
    letter-spacing: normal;
    padding: 0;
    margin: 0;
    /* margin-bottom: 15px; */
}

.stat-label {
    font-size: 18px;
    font-weight: 400;
    line-height: normal;
    letter-spacing: normal;
    /* text-transform: uppercase; */
    padding: 0;
    margin: 0;
    opacity: 0.9;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.value-card {
    padding: 30px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-top: 5px solid #005491;
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.value-icon {
    font-size: 35px;
    color: #005491;
    margin-bottom: 15px;
}

.value-title {
    font-size: 20px;
    font-weight: 500;
    line-height: normal;
    letter-spacing: normal;
    padding: 0;
    margin: 0;
    color: #005491;
    margin-bottom: 5px;
}

.founder-section {
    /* background: linear-gradient(135deg, #f8f9fa 0%, #e3f2fd 100%); */
    background: linear-gradient(135deg, #005491, #0066b3);
    padding: 50px !important;
    margin: 75px 0px !important;
    border-radius: 15px;
}

.founder-section .container {
    padding: 0px !important;
}

.founder-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    align-items: center;
}

.ov-fs h2,
.ov-fs h3,
.ov-fs h4,
.ov-fs p,
.ov-fs blockquote {
    color: #fff !important;
}

.founder-image {
    text-align: center;
    position: relative;
    z-index: 1;
}

.founder-image .ph-toyo-svg {
    width: 100%;
    height: 115%;
    z-index: -1;
}

.founder-image img {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    margin-bottom: 25px;
}

.founder-image h4 {
    font-size: 25px;
    font-weight: 700;
    line-height: normal;
    letter-spacing: normal;
    padding: 0;
    margin: 0;
}

.founder-image p {
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
    letter-spacing: normal;
    padding: 0;
    margin: 0;
}

.services-preview {
    background: #f8f9fa;
    padding: 60px 0;
    margin: 60px 0;
    border-radius: 20px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-item {
    background: #fff;
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.service-item i {
    font-size: 3rem;
    color: #005491;
    margin-bottom: 20px;
}

.ov-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
}

.ov-left,
.ov-right {
    width: 50%;
    height: -webkit-fill-available;
}

.ov h2,
.ov h3,
.ov h4 {
    color: #005491;
    font-size: 25px;
    font-weight: 700;
    line-height: normal;
    letter-spacing: normal;
    padding: 0;
    margin: 0;
    margin-bottom: 15px;
}

.ov p {
    color: #616161;
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
    letter-spacing: normal;
    padding: 0;
    margin: 0;
    padding-bottom: 15px;
}

.ov p:last-child {
    padding: 0px;
}

.stats-grid {
    margin: 0px;
    height: 100%;
    gap: 25px;
}

.ov-blockquote {
    border-left: 5px solid #fff;
    padding: 25px;
    margin: 0;
    font-style: italic;
    color: #555;
    background: #ffffff25;
    border-radius: 15px;
}

@media (max-width: 768px) {
    .founder-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    .timeline::before {
        left: 15px;
    }
    .timeline-item {
        padding-left: 50px;
    }
    .timeline-item::before {
        left: 6px;
    }
    .stat-number {
        font-size: 2rem;
    }
}

.section-space {
    padding: 50px 0px !important;
}

.py100.abt,
.py100.ser {
    padding: 50px 0px !important;
}


/* SIVM */

.sivm-services-section {
    /* min-height: 100vh; */
    position: relative;
    display: flex;
    align-items: center;
    padding: 75px 0;
    /* background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%); */
    background: linear-gradient(to bottom, #005491, #0056b3);
}


/* .sivm-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
} */

.sivm-section-header {
    text-align: center;
    margin-bottom: 50px;
    animation: sivm-fadeInUp 1s ease-out;
}

.sivm-section-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    /* padding: 8px 20px; */
    /* background: #ffffff25; */
    /* border: 1px solid #fff; */
    border-radius: 50px;
}

.sivm-section-title {
    /* font-size: 25px;
  font-weight: 700; */
    color: #ffffff;
    margin-bottom: 25px;
    /* line-height: normal; */
    width: 75%;
    margin: 0 auto;
}

.sivm-section-title .sivm-highlight {
    color: #fff;
    /* background: linear-gradient(
    135deg,
    var(--rs-theme-yellow),
    var(--rs-theme-yellow)
  ); */
    /* background: #fff; */
    background: var(--primary-color);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sivm-services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 50px;
}

.sivm-service-card {
    background: rgba(255, 255, 255, 0.05);
    /* border: 1px solid rgba(255, 255, 255); */
    /* border-radius: 6px; */
    /* padding: 50px 40px; */
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
    animation: sivm-fadeInUp 1s ease-out;
    min-height: 450px;
}

.sivm-box {
    padding: 25px;
}

.sivm-service-card a {
    width: 100%;
    height: 100%;
    display: flex;
}

.sivm-service-card:first-child .sivm-box,
.sivm-service-card:last-child .sivm-box {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    flex-direction: column;
}

.sivm-service-card:first-child .sivm-box::before,
.sivm-service-card:last-child .sivm-box::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -2;
}

.sivm-service-card:first-child .sivm-box::before {
    background: url("../img/new/new-sid.jpg");
    background-size: cover;
    background-position: center 75%;
}

.sivm-service-card:last-child .sivm-box::before {
    background: url("../img/new/manufacturing-and-engineering.jpg");
    background-size: cover;
    background-position: center 75%;
}

.sivm-service-card:first-child .sivm-box::after,
.sivm-service-card:last-child .sivm-box::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    background: #005491;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    opacity: 0.5;
}

.sivm-service-card:nth-child(2) {
    animation-delay: 0.2s;
}


/* .sivm-service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--rs-theme-yellow),
    var(--rs-theme-yellow),
    var(--rs-theme-yellow)
  );
  background: #fff;
  border-radius: 24px 24px 0 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
} */


/* 
.sivm-service-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(255, 107, 53, 0.05) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
} */

.sivm-service-card:hover {
    /* transform: translateY(-10px); */
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 30px 60px rgba(255, 255, 255, 0.15);
}

.sivm-service-card:hover::before {
    transform: scaleX(1);
}

.sivm-service-card:hover::after {
    opacity: 1;
}

.sivm-service-icon {
    width: 70px;
    height: 70px;
    /* background: linear-gradient(
    135deg,
    var(--rs-theme-yellow),
    var(--rs-theme-yellow)
  ); */
    background: #fff;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
    transition: all 0.3s ease;
    color: var(--primary-color);
    font-size: 25px;
}

.sivm-service-card:hover .sivm-service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.4);
}

.sivm-service-icon svg {
    width: 32px;
    height: 32px;
    fill: var(--primary-color);
}

.sivm-service-title {
    font-size: 35px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
    /* width: 50%; */
    /* line-height: 1.3; */
}

.sivm-service-description {
    color: #fff;
    /* font-size: 1.1rem;
  line-height: 1.8; */
    margin-bottom: 25px;
}

.sivm-service-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 15px 10px 25px;
    /* background: linear-gradient(
    135deg,
    var(--rs-theme-yellow),
    var(--rs-theme-yellow)
  ); */
    background: #fff;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 3px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-top: 0px;
    /* display: flex;
  align-items: center;
  justify-content: center; */
}

.sivm-service-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient( 90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.sivm-service-btn:hover {
    transform: translateX(5px);
    /* box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4); */
    box-shadow: 0 10px 30px #ffffff25;
    background: #000;
    color: #fff;
}

.sivm-service-btn:hover::before {
    left: 100%;
}

.sivm-btn-icon {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sivm-service-btn:hover .sivm-btn-icon {
    transform: translateX(3px);
}

.sivm-floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.sivm-floating-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 107, 53, 0.05);
    animation: sivm-float 20s infinite linear;
}

.sivm-floating-circle:nth-child(1) {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.sivm-floating-circle:nth-child(2) {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 15%;
    animation-delay: -10s;
}

.sivm-floating-circle:nth-child(3) {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 20%;
    animation-delay: -5s;
}

@keyframes sivm-float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
    100% {
        transform: translateY(0px) rotate(360deg);
    }
}

@keyframes sivm-fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes sivm-pulse {
    0%,
    100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.6;
    }
}


/* Responsive Design */

@media (max-width: 968px) {
    .sivm-services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .sivm-container {
        padding: 0 20px;
    }
    .sivm-service-card {
        padding: 40px 30px;
    }
    .sivm-section-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 640px) {
    .sivm-service-card {
        padding: 30px 20px;
    }
    .sivm-service-title {
        font-size: 1.5rem;
    }
    .sivm-service-description {
        font-size: 1rem;
    }
    .sivm-services-section {
        padding: 60px 0;
    }
    .sivm-section-header {
        margin-bottom: 60px;
    }
}


/* New Service */

.new-serv-lt .serv-pg-content p {
    margin-bottom: 0px;
}

.new-serv-lt .serv-pg-image img {
    height: 250px;
}

.new-serv-lt .serv-pg-link-wrapper {
    margin-top: 5px;
}

.ss-brand {
    padding: 50px 0px;
}

.ss-brand .rs-brand-item-wrapper {
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 25px;
}

.ss-brand .section-title-space {
    margin-bottom: 0px;
}

.ss-brand .rs-brand-item,
.ss-clients .rs-brand-item {
    width: 100%;
    height: 200px;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0px 0px 5px #00000015;
}

.ss-brand .rs-brand-item .rs-brand-thumb img,
.ss-clients .rs-brand-item .rs-brand-thumb img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    padding: 5px;
}

.ss-clients .swiper-slide {
    padding: 5px;
}

body.sns h2 {
    font-size: 25px;
    margin-bottom: 15px;
}

body.sns .rs-brand-wrapper,
body.sns .rs-brand-wrapper span {
    text-align: left !important;
    justify-content: start !important;
}

.ph-btn {
    background: #fff;
    color: #005491;
    border-radius: 50px;
    padding: 10px 15px;
    font-size: 16px;
    font-weight: 500;
    line-height: normal;
    letter-spacing: normal;
}

.ph-btn:hover {
    background: #237dbf;
    color: #fff;
}

.backtotop-wrap {
    border: 1px solid #fff;
}


/* wrapper to limit max width and center the whole block */

.client-grid-wrap {
    max-width: 100%;
    /* adjust to taste */
    margin: 0 auto;
    padding: 0px;
    /* box-sizing: border-box; */
}


/* flexbox container — centers last row automatically */

.client-grid-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    /* <-- centers the last row */
    gap: 15px;
    align-items: center;
}


/* each item is a fixed fraction (flex-basis) so rows behave like a grid */

.client-grid-item {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* Desktop: 8 columns (adjust gap subtraction) */
    flex: 0 0 calc((100% - (15px * 7)) / 8);
    max-width: calc((100% - (15px * 7)) / 8);
    /* padding: 15px;
  background: transparent;
  box-shadow: 0px 0px 5px #00000015;
  border-radius: 5px;
  overflow: hiddens; */
    outline: 1px dashed lightgrey;
    border-radius: 5px;
    overflow: hidden;
}


/* thumbnail & image sizing — keeps aspect ratio, prevents stretching */

.client-grid-thumb {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
}

.client-grid-thumb img {
    width: auto;
    max-width: 100%;
    max-height: 100px;
    /* adjust height if needed */
    object-fit: contain;
    object-position: center;
    transition: transform 0.25s ease;
    display: block;
}

.client-grid-thumb img:hover {
    transform: scale(1.05);
}


/* Responsive column counts (adjust breakpoints to your needs) */

@media (max-width: 1200px) {
    /* 4 columns */
    .client-grid-item {
        flex: 0 0 calc((94% - 15px) / 5);
        max-width: calc((94% - 15px) / 5);
    }
    .client-grid-container {
        gap: 15px !important;
    }
    .client-grid-thumb {
        padding: 10px;
    }
}

@media (max-width: 992px) {
    /* 3 columns */
    .client-grid-item {
        flex: 0 0 calc((92% - 15px) / 5);
        max-width: calc((92% - 15px) / 5);
    }
    .client-grid-container {
        gap: 15px !important;
    }
    .client-grid-thumb {
        padding: 10px;
    }
}

@media (max-width: 768px) {
    /* 2 columns */
    .client-grid-item {
        flex: 0 0 calc((92% - 15px) / 5);
        max-width: calc((92% - 15px) / 5);
    }
    .client-grid-container {
        gap: 15px !important;
    }
    .client-grid-thumb {
        padding: 10px;
    }
}

@media (max-width: 480px) {
    /* 1 column */
    .client-grid-item {
        flex: 0 0 calc((94% - 15px) / 3);
        max-width: calc((94% - 15px) / 3);
    }
    .client-grid-container {
        gap: 10px !important;
    }
    .client-grid-thumb {
        padding: 5px;
    }
}

.ss-brand .rs-brand-shape-thumb img {
    height: 500px;
}

.toyo-slider .swiper-pagination {
    margin: 0px;
    bottom: 15px !important;
}

.rs-banner-video-thumb {
    position: relative;
    width: 100%;
    height: 100%;
    /* full screen height */
    overflow: hidden;
}

.rs-banner-video-thumb video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rs-banner-video-thumb::after {
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #000, #005491);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.3;
    z-index: 0;
}


/* Centered text on video */

.video-overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff !important;
    z-index: 2;
    padding: 20px;
    width: 65%;
}

.video-title {
    font-size: 50px;
    /* font-weight: 700; */
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
    text-transform: capitalize;
    color: #fff;
    /* font-size: var(--rs-fs-h2); */
    line-height: 1.17;
    /* color: var(--rs-title-primary); */
    font-weight: 600;
    /* font-family: var(--rs-ff-title); */
    font-family: "Poppins", sans-serif;
}

.video-title span.high-light {
    /* color: #e31516; */
    /* filter: drop-shadow(0px 0px 5px #00000025); */
    /* text-transform: uppercase; */
    /* text-shadow: 2px 2px 1px #ffffff; */
    /* color: var(--primary-color); */
}


/* Responsive */

@media (max-width: 768px) {
    .video-title {
        font-size: 23px;
    }
}

.sivm-services-section {
    padding-bottom: 0px;
    background: transparent;
}

.sivm-section-title {
    color: #000;
}


/* .sivm-section-title .sivm-highlight {
    background: var(--primary-color);
} */

.sivm-services-grid {
    grid-gap: 0px;
}

.sivm-container.container {
    padding: 0px !important;
}

.sivm-service-card {
    height: 550px;
}

.sivm-service-description {
    display: none;
}

.sivm-service-card:first-child .sivm-box::after,
.sivm-service-card:last-child .sivm-box::after {
    background: linear-gradient(45deg, black, transparent);
}


/* .thx {
    font-family: "Poppins", sans-serif;
} */