/* ABOUTME: grinp Small Appliance Manufacturer Website Styles */
/* Based on Bootstrap 4 with custom theme */

/* ===== Custom Variables ===== */
:root {
  --grinp-primary: #06A9B0;
  --grinp-primary-dark: #c12e24;
  --grinp-dark: #1a1a1a;
  --grinp-darker: #111111;
  --grinp-gray-100: #f8f9fa;
  --grinp-gray-200: #e9ecef;
  --grinp-gray-300: #dee2e6;
  --grinp-gray-600: #6c757d;
  --grinp-gray-800: #343a40;
  --grinp-white: #ffffff;
  --grinp-orange: #ff6b35;
  --grinp-yellow: #ffc107;
}

/* ===== Base Reset ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
@font-face{
    font-family:"Montserrat Light";
    src:url('../fonts/Montserrat-Light.woff2');
    font-display:swap;
}
@font-face{
    font-family:"Montserrat Regular";
    src:url('../fonts/Montserrat.woff2');
}
@media (min-width: 1200px) {
    .container {
        --container-width: 1500px;
        max-width: 1500px;
    }
}
body {
  font-family: Montserrat Light, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--grinp-dark);
  background: var(--grinp-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-size: 18px;
}
.loader-wrapper {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, .8);
    width: 100%;
    height: 100%;
    transition: 0.8s 1s ease;
    z-index: 999999;
}
.loader-wrapper.loaded{
  display: none;
}
.loader {
  position: relative;
  display: block;
  z-index: 201;
  top: 50%;
  left: 50%;
  width: 100px;
  height: 100px;
  margin: -50px 0 0 -50px;
  border-radius: 50%;
  transition: all 1s 1s ease;
  border: 3px solid transparent;
  border-top-color: var(--grinp-primary);
  -webkit-animation: spin 1.5s linear infinite;
  -moz-animation: spin 1.5s linear infinite;
  -o-animation: spin 1.5s linear infinite;
  animation: spin 1.5s linear infinite;
}
.loader:before {
  position: absolute;
  content: '';
  top: 6px;
  left: 6px;
  right: 6px;
  bottom: 6px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-left-color: #00eaff;
  -webkit-animation: spin 2s linear infinite;
  -moz-animation: spin 2s linear infinite;
  -o-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}
.loader:after {
  position: absolute;
  content: '';
  top: 15px;
  left: 15px;
  right: 15px;
  bottom: 15px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-right-color: #fff;
  -webkit-animation: spin 2.5s linear infinite;
  -moz-animation: spin 2.5s linear infinite;
  -o-animation: spin 2.5s linear infinite;
  animation: spin 2.5s linear infinite;
}
p{
    margin-bottom: .5rem;
}
.common_alert{
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    position: fixed;
    z-index: 99999;
    width: 80%;
    border: 1px solid #999;
    max-width: 300px;
    background-color: #fff;
    border-radius: 10px;
    padding: 40px 20px;
    text-align: center;
}
.common_alert .close{
    position: absolute;
    top: 5px;
    right: 10px;
}
.font_bold{
    font-weight: bold;
    font-family: "Montserrat Regular";
}
.box_body{
    min-height: 30rem;
}
/*@media screen and (min-width: 1400px) {
    .container{
        max-width: 80%;
    }
}
@media screen and (max-width: 1400px) {
    .container{
        max-width: 90%;
    }
}*/
a {
    color: #000;
    text-decoration: none !important;
    transition: color 0.3s ease;
}
a:hover{
    color:var(--grinp-primary);
}
img {
  max-width: 100%;
  height: auto;
}

/* ===== Top Bar ===== */
.top-bar {
  background: var(--grinp-darker);
  color: rgba(255,255,255,0.7);
  font-size: 0.8rem;
  padding: 6px 0;
}

.top-bar a {
  color: rgba(255,255,255,0.7);
}

.top-bar a:hover {
  color: var(--grinp-white);
}

.top-bar .social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  margin-left: 6px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.7);
  transition: all 0.3s ease;
}

.top-bar .social-icons a:hover {
  background: var(--grinp-primary);
  color: var(--grinp-white);
}

/* ===== Navbar ===== */
.navbar-grinp {
  position: fixed;
  top: 40px;
  left: 0;
  right: 0;
  padding: 12px 0;
  transition: all 0.3s ease;
}
.navbar-grinp.scrolled{
    top: 0;
}
.navbar-grinp.scrolled {
  padding: 6px 0;
  background: #000;
  box-shadow: 0 2px 30px rgba(0,0,0,0.12);
}

.navbar-brand-grinp {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--grinp-primary) !important;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.navbar-brand img{
    height: 3rem;
}
.navbar-grinp.scrolled .nav-link,
.navbar-grinp.scrolled .nav-search-btn{
    color: #fff !important;
}
.navbar-brand-grinp span {
  color: var(--grinp-dark);
}

.navbar-grinp .nav-link {
  color: #fff !important;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 8px 16px !important;
  position: relative;
  transition: color 0.3s ease;
}

.navbar-grinp .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--grinp-primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.navbar-grinp .nav-link:hover::after,
.navbar-grinp .nav-link.active::after {
  transform: scaleX(1);
}

.navbar-grinp .nav-link:hover {
  color: var(--grinp-primary) !important;
}

.nav-search-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.1rem;
  padding: 4px 8px;
  cursor: pointer;
  transition: color 0.3s;
}

.nav-search-btn:hover {
  color: var(--grinp-primary);
}

/* ===== Hero Carousel ===== */
.hero-carousel {
  position: relative;
}

.hero-carousel .carousel-item {
  height: 600px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-carousel .carousel-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.2) 100%);
}

.hero-carousel .carousel-caption {
  bottom: auto;
  top: 50%;
  transform: translateY(-50%);
  text-align: left;
  left: 10%;
  right: 10%;
  max-width: 650px;
}

.hero-carousel .carousel-caption h2 {
  font-size: 3rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  line-height: 1.1;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}

.hero-carousel .carousel-caption p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  opacity: 0.9;
  line-height: 1.6;
}

.hero-carousel .carousel-caption .btn-hero {
  padding: 14px 40px;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 0;
  transition: all 0.3s ease;
}

.btn-primary-grinp {
  background: var(--grinp-primary);
  border-color: var(--grinp-primary);
  color: var(--grinp-white);
}

.btn-primary-grinp:hover {
  background: var(--grinp-primary-dark);
  border-color: var(--grinp-primary-dark);
  color: var(--grinp-white);
}

.btn-outline-grinp {
  background: transparent;
  border: 2px solid var(--grinp-white);
  color: var(--grinp-white);
}

.btn-outline-grinp:hover {
  background: var(--grinp-white);
  color: var(--grinp-dark);
}

.hero-carousel .carousel-indicators li {
  width: 40px;
  height: 4px;
  background: rgba(255,255,255,0.5);
  border: none;
  border-radius: 0;
  transition: all 0.3s ease;
}

.hero-carousel .carousel-indicators li.active {
  background: var(--grinp-primary);
  width: 60px;
}

/* ===== Section Titles ===== */
.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.2rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--grinp-dark);
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--grinp-primary);
}

.section-title p {
  color: var(--grinp-gray-600);
  font-size: 1rem;
  max-width: 700px;
  margin: 20px auto 0;
  line-height: 1.7;
}

/* ===== Categories Section ===== */
.categories-section {
  padding: 80px 0;
  background: var(--grinp-gray-100);
}

.category-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  height: 350px;
  cursor: pointer;
  margin-bottom: 30px;
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.category-card:hover img {
  transform: scale(1.08);
}

.category-card .category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.1) 60%);
  display: flex;
  align-items: flex-end;
  padding: 30px;
  transition: all 0.3s ease;
}

.category-card:hover .category-overlay {
  background: linear-gradient(to top, rgba(232,55,44,0.8) 0%, rgba(0,0,0,0.2) 60%);
}

.category-card .category-overlay h3 {
  color: var(--grinp-white);
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
}

.category-card .category-overlay .cat-arrow {
  margin-left: auto;
  color: var(--grinp-white);
  font-size: 1.5rem;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
}

.category-card:hover .category-overlay .cat-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ===== Intro Section ===== */
.intro-section {
  padding: 80px 0;
  background: var(--grinp-dark);
  color: var(--grinp-white);
  position: relative;
  overflow: hidden;
}

.intro-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(232,55,44,0.08);
}

.intro-section h2 {
  font-size: 2.5rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.intro-section h2 span {
  color: var(--grinp-primary);
}

.intro-section p {
  font-size: 1.05rem;
  line-height: 1.8;
  opacity: 0.85;
  max-width: 600px;
}

.intro-stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
}

.intro-stat {
  text-align: center;
}

.intro-stat .stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--grinp-primary);
  line-height: 1;
}

.intro-stat .stat-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.7;
  margin-top: 6px;
}

/* ===== Best Sellers ===== */
.best-sellers-section {
  padding: 80px 0;
  background: var(--grinp-white);
}

.product-card {
  background: var(--grinp-white);
  border: 1px solid var(--grinp-gray-200);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  margin-bottom: 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  transform: translateY(-4px);
  border-color: transparent;
}

.product-card .product-img-wrap {
  position: relative;
  overflow: hidden;
  padding: 20px;
  background: var(--grinp-gray-100);
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card .product-img-wrap img {
  max-height: 200px;
  width: auto;
  transition: transform 0.4s ease;
}

.product-card:hover .product-img-wrap img {
  transform: scale(1.05);
}

.product-card .product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--grinp-primary);
  color: var(--grinp-white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-card .product-actions {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.3s ease;
}

.product-card:hover .product-actions {
  opacity: 1;
  transform: translateX(0);
}

.product-card .product-actions a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--grinp-white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grinp-dark);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  font-size: 0.85rem;
  transition: all 0.3s ease;
}

.product-card .product-actions a:hover {
  background: var(--grinp-primary);
  color: var(--grinp-white);
}

.product-card .product-info {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-card .product-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--grinp-dark);
  margin-bottom: 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card .product-title:hover {
  color: var(--grinp-primary);
}

.product-card .product-model {
  font-size: 0.8rem;
  color: var(--grinp-primary);
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-top: auto;
}

.product-card .product-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--grinp-primary);
  margin-top: 8px;
}

/* ===== CTA Banner ===== */
.cta-banner {
  position: relative;
  padding: 100px 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(232,55,44,0.9) 0%, rgba(0,0,0,0.7) 100%);
}

.cta-banner .cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--grinp-white);
}

.cta-banner h2 {
  font-size: 2.5rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.cta-banner p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 30px;
  opacity: 0.9;
  line-height: 1.7;
}

.btn-white {
  background: var(--grinp-white);
  color: var(--grinp-primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 14px 40px;
  border-radius: 0;
  border: none;
  transition: all 0.3s ease;
}

.btn-white:hover {
  background: var(--grinp-dark);
  color: var(--grinp-white);
}

/* ===== Features Section ===== */
.features-section {
  padding: 80px 0;
  background: var(--grinp-gray-100);
}

.feature-item {
  text-align: center;
  padding: 30px 20px;
  transition: all 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-6px);
}

.feature-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--grinp-primary), var(--grinp-orange));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--grinp-white);
  font-size: 1.8rem;
  transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(232,55,44,0.3);
}

.feature-item h4 {
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: var(--grinp-dark);
}

.feature-item p {
  color: var(--grinp-gray-600);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

/* ===== Footer ===== */
.footer {
  background: var(--grinp-darker);
  color: rgba(255,255,255,0.7);
  padding-top: 60px;
}

.footer h5 {
  color: var(--grinp-white);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 12px;
}

.footer h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--grinp-primary);
}

.footer p {
  font-size: 0.9rem;
  line-height: 1.8;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
}

.footer-links a:hover {
  color: var(--grinp-primary);
  padding-left: 6px;
}

.footer-links a::before {
  content: '›';
  margin-right: 8px;
  font-size: 1.1rem;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 14px;
  font-size: 0.9rem;
}

.footer-contact li i {
  color: var(--grinp-primary);
  margin-right: 12px;
  margin-top: 3px;
  font-size: 1rem;
  min-width: 16px;
}

.footer-newsletter .input-group {
  margin-top: 16px;
}

.footer-newsletter .form-control {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--grinp-white);
  border-radius: 0;
  padding: 10px 16px;
  font-size: 0.9rem;
}

.footer-newsletter .form-control::placeholder {
  color: rgba(255,255,255,0.4);
}

.footer-newsletter .form-control:focus {
  background: rgba(255,255,255,0.12);
  border-color: var(--grinp-primary);
  box-shadow: none;
}

.footer-newsletter .btn {
  background: var(--grinp-primary);
  border-color: var(--grinp-primary);
  color: var(--grinp-white);
  border-radius: 0;
  font-weight: 600;
  padding: 0 20px;
}

.footer-newsletter .btn:hover {
  background: var(--grinp-primary-dark);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  font-size: 0.85rem;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.6);
  margin-left: 8px;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.footer-social a:hover {
  background: var(--grinp-primary);
  color: var(--grinp-white);
  transform: translateY(-2px);
}

/* ===== Back to Top ===== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: var(--grinp-primary);
  color: var(--grinp-white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 9999;
  box-shadow: 0 4px 15px rgba(232,55,44,0.3);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--grinp-primary-dark);
  transform: translateY(-3px);
}

/* ===== Search Modal ===== */
.search-modal .modal-content {
  border: none;
  border-radius: 0;
}

.search-modal .modal-header {
  border-bottom: 2px solid var(--grinp-primary);
}

.search-modal .modal-body {
  padding: 30px;
}

.search-modal .form-control {
  border-radius: 0;
  border: 2px solid var(--grinp-gray-300);
  padding: 12px 16px;
  font-size: 1rem;
}

.search-modal .form-control:focus {
  border-color: var(--grinp-primary);
  box-shadow: none;
}

/* ===== View More Link ===== */
.view-more-wrap {
  text-align: center;
  margin-top: 20px;
}

.view-more-link {
  display: inline-flex;
  align-items: center;
  color: var(--grinp-primary);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 2px solid var(--grinp-primary);
  padding: 12px 36px;
  transition: all 0.3s ease;
}

.view-more-link:hover {
  background: var(--grinp-primary);
  color: var(--grinp-white);
}

.view-more-link i {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.view-more-link:hover i {
  transform: translateX(4px);
}

/* ===== Animations ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  opacity: 0;
  transform: translateY(30px);
}

.animate-in.visible {
  animation: fadeInUp 0.6s ease forwards;
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
  .hero-carousel .carousel-item {
    height: 400px;
  }

  .hero-carousel .carousel-caption h2 {
    font-size: 2rem;
  }

  .hero-carousel .carousel-caption {
    max-width: 90%;
  }

  .intro-stats {
    gap: 20px;
  }

  .intro-stat .stat-number {
    font-size: 2rem;
  }

  .section-title h2 {
    font-size: 1.8rem;
  }

  .cta-banner h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 767px) {
  .hero-carousel .carousel-item {
    height: 350px;
  }

  .hero-carousel .carousel-caption h2 {
    font-size: 1.5rem;
  }

  .hero-carousel .carousel-caption p {
    font-size: 0.9rem;
  }

  .hero-carousel .carousel-caption .btn-hero {
    padding: 10px 24px;
    font-size: 0.85rem;
  }

  .intro-section h2 {
    font-size: 1.8rem;
  }

  .intro-stats {
    flex-wrap: wrap;
    gap: 16px;
  }

  .category-card {
    height: 250px;
  }

  .section-title h2 {
    font-size: 1.5rem;
  }

  .features-section,
  .categories-section,
  .best-sellers-section,
  .intro-section {
    padding: 50px 0;
  }

  .cta-banner {
    padding: 60px 0;
  }

  .cta-banner h2 {
    font-size: 1.5rem;
  }
}

/* ===== Loader ===== */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--grinp-white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity 0.5s ease;
}

.page-loader.loaded {
  opacity: 0;
  pointer-events: none;
}

.loader-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--grinp-gray-200);
  border-top-color: var(--grinp-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ===== Nav Toggler ===== */
.navbar-grinp .navbar-toggler {
  border: 2px solid #fff;
  padding: 4px 8px;
}

.navbar-grinp .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='%23ffffff' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.n_banner{
    position: relative;
    display: flex;
    height: 40rem;
    color: #fff;
    background-color: rgba(0, 0, 0, .4);
    background-blend-mode: multiply;
    align-items: center;
}
.n_banner h1{
    font-size: 4rem;
    margin-bottom: ;
}
.n_banner p{
    font-size: 1.4rem;
    color: #fff;
}
.n_banner a{
  color: #fff;
}
.n_banner a:hover{
  color: #999;
}
.n_banner .txt{
    text-align: center;
    width: 100%;
}
.big_bg{
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
.mt1{
  margin-top: 1rem;
}
.mt2{
  margin-top: 2rem;
}
.mt3{
  margin-top: 3rem;
}
.mb3{
  margin-bottom: 3rem;
}
.mb2{
  margin-bottom: 2rem;
}
.mb1{
  margin-bottom: 1rem;
}
.faq_list a{
    display: block;
    padding: .5rem 0;
}
.sub_nav_list{
    border-bottom:1px solid #ededed;
    margin-bottom: 2rem;
    padding: .5rem 0;
    background: #eeefef;
}
.sub_nav_list .breadcrumb{
    margin-bottom: 0;
}
.faq_title{
    margin-top: 3rem;
    border-bottom: 1px solid #DFE1E7;
    padding-bottom: 1rem;
}
.faq_content{
    padding-top: 2rem;
    padding-bottom: 3rem;
}
.contact_box{
    background: #ECECEC;
    text-align: center;
    display: block;
    border-radius: .5rem;
    padding: 3rem 2rem;
    margin-bottom: 2rem;
}
.contact_box img{
    margin-bottom: 1rem;
}
.line2{
    word-break: break-all;
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.line1{
     white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.news_box{
    background: #fff;
    border-radius: 1rem;
    display: block;
    overflow: hidden;
    margin-bottom: 2rem;
    padding-right: 2rem;
    padding-left: 2rem;
}
.news_box .txt{
    padding: 1rem 0;
}
.new_content{
    background: #ffffff;
    padding: 2rem 3rem;
}
.service_box{
    background: #ffffff;
    padding: 3rem;
    margin-bottom: 2rem;
    text-align: center;
    border-radius: 1rem;
}
.service_box h5{
    margin-bottom: 1rem;
}
.service_box img{
    margin-bottom: 1.5rem;
}
.bg_gray{
    background: #EFEFEF;
    padding-top: 3rem;
    padding-bottom: 3rem;
}
.history{
    padding-top: 3rem;
    padding-bottom: 3rem;
}
.hs_box{
    display: flex;
    align-items: center;
    background: #EFEFEF;
    margin-bottom: 2rem;
    border-radius: 1rem;
    overflow: hidden;
}
.hs_list{
    align-items: center;
    position: relative;
}
.hs_list .date{
    font-size: 4rem;
    position: relative;
}
.hs_list .date:before{
    position: absolute;
    bottom: 0;
    content: " ";
    width: 2rem;
    border-bottom: 2px solid var(--grinp-primary);
}
.hs_box .img{
    width: 60rem;
}
.hs_box .txt{
    flex-grow: 10;
    padding:2rem 3rem;
}
.hs_list .circle{
    position: absolute;
    left: 19%;
    top: 0;
    bottom: 0;
    border-right: 1px dotted #D2D2D2;
}
.circle .point{
    position: absolute;
    background: #EFEFEF;
    border:1px solid #E6E6E6;
    width: 2rem;
    height: 2rem;
    top: 50%;
    border-radius: 100%;
    margin-top: -1rem;
    left: -1rem;
}
.circle .point:after{
    content: " ";
    top: 50%;
    position: absolute;
    width: 6px;
    margin-top: -3px;
    background: #858585;
    border-radius: 100%;
    height: 6px;
    left: 50%;
    margin-left: -3px;
}
.banner{
    position: relative;
    display: block;
    height: 100vh;
    background-size: cover;
}
.banner img{
    width: 100%;
}
.banner .text{
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
}
.banner .txt_box{
    background: rgba(0, 0, 0, .5);
    padding: 3rem;
    border-radius:1rem;
}
.banner .text .title{
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}
.banner .text .desc{
    font-size: 1.6rem;
    color:#999;
    line-height: 1.2;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--grinp-primary);
}
.i_cate{
    padding-top: 4rem;
    padding-bottom: 4rem;
}
.text-primary{
    color: var(--grinp-primary) !important;
}
.cate_box{
    display: block;
    position: relative;
    border-radius: .5rem;
    height: 25rem;
    overflow: hidden;
    margin-bottom: 2rem;
    background-size: cover;
    background-repeat: no-repeat;
}
.cate_box:before{
    position: absolute;
    content: " ";
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .6);
}
.cate_box .txt{
    position: absolute;
    left: 0;
    text-align: center;
    padding: 2rem;
    right: 0;
    color: #fff;
    bottom: 0;
}
.i_service{
    background: #EFEFEF;
}
.i_cate .desc{
    color: #999;
    text-align: center;
}
.i_service_box{
    margin-bottom: 2rem;
    background: #ffffff;
    border-radius: 1rem;
    overflow: hidden;
}
.i_service_box .txt{
    padding: 2rem;
}
.i_service_box .img{
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
.i_service_box .col-md-4{
    padding-left: 0;
    padding-right: 0;
}
.i_cate .news_box{
    padding-left: 0;
    padding-right: 0;
    box-shadow: 0 2px 8px 0 #EFEFEF;
}
.i_cate .news_box .txt{
    padding: 1rem 2rem;
    background: #EFEFEF;
}
.i_contact{
    background: var(--grinp-primary);
    color: #fff;
}
.i_contact .desc{
    color: #000;
}

.contact_form .form-control{
    border:0;
    background-color: transparent;
}
.contact_form .form-group{
    border-bottom: 1px solid #c6c6c6;
}
.contact_form .c_input{
    display: flex;
    padding-top: .5rem;
    align-items: center;
    padding-bottom: .5rem;
    flex-wrap: wrap;
}
.contact_form .c_input label{
    margin-bottom: 0;
    position: relative;
}
.form-group label .must{
    position: absolute;
    left: -10px;
    top: 5px;
    color: red;
}
.contact_form .c_input .form-control{
    display: inline-block;
    width: auto;
    flex-grow: 10;
}
.btn-black{
    background: #000;
    color: #fff;
    border-radius: 3rem;
    line-height: 2.4rem;
}
.btn-black:hover{
    background: rgba(0, 0, 0, .8);
    color: #fff;
}
.sub_nav{
    background: #FCFCFC;
    padding: 2rem 0;
    border:1px solid #E4E4E4;
}
.sub_nav a{
    display: block;
    padding: .8rem 2rem;
}
.sub_nav a.active{
  background: var(--grinp-primary);
  color: #fff;
}
.sub_nav a:hover{
    background: #F5F4F4;
}
.product_list .serve_box .img{
    border:1px solid #DDDDDD;
    border-radius: 1rem;
    overflow: hidden;
    height: 20rem;
    margin-bottom: 1rem;
}
.product_list .serve_box{
    margin-bottom: 2rem;
    display: block;
}
.page{
    text-align: center;
    margin-top: 2rem;
}
.page .flipBox{
    display: inline-block;
}
.page .flipBox .item{
    display: inline-block;
    padding: .5rem .8rem;
}
.page .flipBox .item.focu a{
    color: var(--grinp-primary);
}
.thumb_list{
    margin-top: 1rem;
}
.thumb_list .swiper-slide{
    border-radius: 10px;
    border:1px solid #DDDDDD;
    cursor: pointer;
    overflow: hidden;
}
#product_list{
    border-radius: 1rem;
}
.p_content{
    padding-top: 5rem;
    padding-bottom: 5rem;
}
.p_box{
    display: block;
}
.p_box .img{
    border:1px solid #DDDDDD;
    margin-bottom: 1rem;
    border-radius: 1rem;
    overflow: hidden;
}
.card-header{
    background: var(--grinp-primary);
    color: #fff;
    cursor: pointer;
}
.fac_box{
  text-align: center;
  margin-bottom: 2rem;
}
.fac_box img{
  border-radius: 1rem;
}
@media screen and (max-width:750px) {
    .navbar{
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    #product_thumb{
        display: hidden;
    }
    .navbar-grinp{
        top: 0;
    }
    .n_banner{
        height: 25rem;
    }
    .n_banner h1{
        font-size: 3rem;
    }
    .banner .txt_box{
        padding: 1rem;
    }
    .banner .text .title{
        font-size: 2rem;
    }
    .banner .text .desc{
        font-size: 1.2rem;
    }
    .cate_box{
        height: 15rem;
    }
}