﻿/* ===== Homepage Specific Styles ===== */
.royal-home .royal-contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--royal-space-xl);
}

.royal-home .royal-solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--royal-space-lg);
}

/* ===== Homepage Hero Section ===== */
.royal-hero {
  color: white;
  padding: 0;
  margin-top: var(--royal-header-height);
  position: relative;
  overflow: hidden;
  min-height: var(--royal-banner-height);
  height: var(--royal-banner-height);
  aspect-ratio: auto;
  display: flex;
  align-items: center;
}

.royal-swiper-banner {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  position: relative;
  z-index: 2;
}

.royal-swiper-banner-item {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.royal-swiper-banner-item > .royal-container {
  width: 100%;
  max-width: 80rem;
  padding: 0 var(--royal-space-md);
}

.royal-swiper-banner-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    var(--royal-gradient-hero-light);
  z-index: 1;
}

.royal-hero-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--royal-space-lg);
  align-items: center;
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  padding: 8.5rem 0 5rem;
  position: relative;
  z-index: 3;
  text-align: left;
}

.royal-hero-text {
  padding: 0;
  width: min(100%, 58rem);
  max-width: 58rem;
}

.royal-hero h1 {
  font-size: var(--royal-font-xxxl);
  margin-bottom: var(--royal-space-md);
  font-weight: 800;
  line-height: 1.1;
  text-shadow: 0 8px 28px rgba(255, 255, 255, 0.65);
  background: linear-gradient(45deg, #073b86, #0071e3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.royal-hero p {
  font-size: var(--royal-font-md);
  margin-bottom: var(--royal-space-xl);
  opacity: 1;
  line-height: 1.7;
  color: #1f2937;
  text-shadow: 0 4px 18px rgba(255, 255, 255, 0.72);
  max-width: 640px;
  margin-left: 0;
  margin-right: 0;
}

.royal-hero-buttons {
  display: flex;
  gap: var(--royal-space-md);
  flex-wrap: wrap;
  justify-content: flex-start;
}

.royal-swiper-banner-item.royal-banner-overlay-none::before {
  background: transparent;
}

.royal-swiper-banner-item.royal-banner-overlay-dark::before {
  background:
    var(--royal-gradient-hero);
}

.royal-swiper-banner-item.royal-banner-overlay-light::before {
  background:
    var(--royal-gradient-hero-light);
}

.royal-swiper-banner-item.royal-banner-overlay-dark .royal-hero h1,
.royal-swiper-banner-item.royal-banner-overlay-dark .royal-hero-text h1 {
  color: #fff;
  background: none;
  -webkit-text-fill-color: currentColor;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
}

.royal-swiper-banner-item.royal-banner-overlay-dark .royal-hero p,
.royal-swiper-banner-item.royal-banner-overlay-dark .royal-hero-text p {
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 5px 22px rgba(0, 0, 0, 0.35);
}

.royal-swiper-banner-item.royal-banner-align-left {
  justify-content: flex-start;
}

.royal-swiper-banner-item.royal-banner-align-left .royal-hero-content {
  text-align: left;
}

.royal-swiper-banner-item.royal-banner-align-left .royal-hero-text {
  justify-self: start;
}

.royal-swiper-banner-item.royal-banner-align-left .royal-hero-buttons {
  justify-content: flex-start;
}

.royal-swiper-banner-item.royal-banner-align-center .royal-hero-content {
  text-align: center;
}

.royal-swiper-banner-item.royal-banner-align-center .royal-hero-text {
  justify-self: center;
}

.royal-swiper-banner-item.royal-banner-align-center .royal-hero-text p {
  margin-left: auto;
  margin-right: auto;
}

.royal-swiper-banner-item.royal-banner-align-center .royal-hero-buttons {
  justify-content: center;
}

.royal-swiper-banner-item.royal-banner-align-right .royal-hero-content {
  text-align: right;
}

.royal-swiper-banner-item.royal-banner-align-right .royal-hero-text {
  justify-self: end;
}

.royal-swiper-banner-item.royal-banner-align-right .royal-hero-text p {
  margin-left: auto;
  margin-right: 0;
}

.royal-swiper-banner-item.royal-banner-align-right .royal-hero-buttons {
  justify-content: flex-end;
}

/* Swiper Navigation */
.swiper-button-next,
.swiper-button-prev {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: var(--royal-transition);
  margin-top: -24px;
  box-shadow: var(--royal-shadow);
  display: flex;
  align-items: center;
  justify-content: center;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  display: none;
}

.swiper-button-next i,
.swiper-button-prev i {
  font-size: var(--royal-font-md);
  color: white;
  font-weight: bold;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  transition: var(--royal-transition);
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.6);
  transform: scale(1.1);
  box-shadow: var(--royal-shadow-md);
}

.swiper-button-next:hover i,
.swiper-button-prev:hover i {
  transform: scale(1.2);
  color: #e0f2fe;
}

.swiper-button-prev { left: 30px; }
.swiper-button-next { right: 30px; }

/* Swiper Pagination */
.swiper-pagination {
  bottom: 40px !important;
}

.swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.5);
  opacity: 0.7;
  width: 10px;
  height: 10px;
  margin: 0 6px !important;
  transition: var(--royal-transition);
  border: 2px solid transparent;
}

.swiper-pagination-bullet:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}

.swiper-pagination-bullet-active {
  background: white;
  opacity: 1;
  transform: scale(1.2);
  border: 2px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* ===== Application Areas ===== */
.royal-applications-section {
  background: var(--royal-bg-white);
  padding: var(--royal-space-xxl) 0;
}

.royal-applications-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--royal-space-md);
}

.royal-application-card {
  background: var(--royal-bg-white);
  border-radius: var(--royal-radius-md);
  padding: var(--royal-space-lg) var(--royal-space-sm);
  box-shadow: var(--royal-shadow);
  transition: var(--royal-transition);
  text-align: center;
  border: 1px solid var(--royal-border-light);
  position: relative;
  overflow: hidden;
}

.royal-application-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--royal-shadow-md);
}

.royal-application-icon-container {
  margin-bottom: var(--royal-space-md);
}

.royal-application-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--royal-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-size: var(--royal-font-xl);
  color: white;
}

/* Application icon color variations */
.royal-application-card:nth-child(1) .royal-application-icon { background: var(--royal-gradient-primary); }
.royal-application-card:nth-child(2) .royal-application-icon { background: var(--royal-gradient-green); }
.royal-application-card:nth-child(3) .royal-application-icon { background: var(--royal-gradient-purple); }
.royal-application-card:nth-child(4) .royal-application-icon { background: var(--royal-gradient-orange); }
.royal-application-card:nth-child(5) .royal-application-icon { background: var(--royal-gradient-red); }
.royal-application-card:nth-child(6) .royal-application-icon { background: var(--royal-gradient-cyan); }

.royal-application-card h3 {
  font-size: var(--royal-font-md);
  margin-bottom: 0.8rem;
  color: var(--royal-text-dark);
  font-weight: 600;
}

.royal-application-card p {
  color: var(--royal-text-lighter);
  line-height: 1.4;
}

/* ===== About Us Section ===== */
.royal-about-section {
  background: var(--royal-gradient-section);
  padding: var(--royal-space-xxl) 0;
}

.royal-about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--royal-space-xl);
  align-items: start;
}

.royal-about-text h3 {
  font-size: var(--royal-font-md);
  margin-bottom: var(--royal-space-md);
  color: var(--royal-text-dark);
  font-weight: 600;
}

.royal-about-text p {
  color: var(--royal-text-light);
  margin-bottom: var(--royal-space-md);
  line-height: 1.6;
}

/* Timeline */
.royal-timeline {
  margin: var(--royal-space-lg) 0;
  position: relative;
}

.royal-timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 40px;
  bottom: 0;
  width: 2px;
  background: var(--royal-primary-blue);
  margin-left: 15px;
}

.royal-timeline-item {
  margin-bottom: var(--royal-space-md);
  padding-left: var(--royal-space-xl);
  position: relative;
}

.royal-timeline-item:before {
  content: '';
  position: absolute;
  left: 8px;
  top: 5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--royal-primary-blue);
  border: 3px solid white;
  box-shadow: 0 0 0 3px var(--royal-primary-blue);
}

.royal-timeline-item h4 {
  font-size: var(--royal-font-md);
  margin-bottom: 0.5rem;
  color: var(--royal-primary-blue);
  font-weight: 600;
}

.royal-timeline-item p {
  color: var(--royal-text-light);
  margin-bottom: 0;
  line-height: 1.6;
}

.royal-about-image {
  border-radius: var(--royal-radius-md);
  overflow: hidden;
  box-shadow: var(--royal-shadow);
  height: 480px;
  margin-bottom: var(--royal-space-lg);
}

.royal-about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--royal-transition-slow);
}

.royal-about-image:hover img {
  transform: scale(1.05);
}

.royal-about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--royal-space-xl);
}

.royal-stat-number {
  font-size: var(--royal-font-xl);
  font-weight: 700;
  color: var(--royal-primary-blue);
  display: block;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.royal-stat-text {
  color: var(--royal-text-light);
  font-weight: 500;
}

/* Honors Section */
.royal-honors-section {
  margin-top: var(--royal-space-xxl);
}

.royal-honors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--royal-space-lg);
  margin-top: var(--royal-space-lg);
}

.royal-honor-card {
  background: var(--royal-bg-white);
  border-radius: var(--royal-radius-lg);
  padding: var(--royal-space-lg);
  box-shadow: var(--royal-shadow);
  transition: var(--royal-transition);
  border: 1px solid var(--royal-border-light);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.royal-honor-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--royal-shadow-md);
}

.royal-honor-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--royal-gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--royal-space-md);
  color: white;
  font-size: var(--royal-font-xxl);
}

.royal-honor-card h3 {
  font-size: var(--royal-font-md);
  margin-bottom: var(--royal-space-sm);
  color: var(--royal-text-dark);
  font-weight: 600;
}

.royal-honor-card p {
  color: var(--royal-text-light);
  line-height: 1.6;
}

.royal-honor-year {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--royal-primary-blue);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-weight: 600;
}

.royal-stat-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.royal-stat-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.royal-stat-sales { background: var(--royal-gradient-red); }
.royal-stat-favorites { background: var(--royal-gradient-orange); }

.royal-stat-count {
  font-weight: 600;
  color: var(--royal-text-dark);
}

.royal-more-products {
  text-align: center;
  margin-top: var(--royal-space-xl);
}

/* ===== News Section ===== */
.royal-news-section {
  background: var(--royal-gradient-section);
  padding: var(--royal-space-xxl) 0;
}

.royal-news-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--royal-space-lg);
  align-items: start;
}

.royal-news-slider {
  height: 100%;
  border-radius: var(--royal-radius-md);
  overflow: hidden;
  box-shadow: var(--royal-shadow);
}

.royal-news-swiper {
  height: 100%;
  border-radius: var(--royal-radius-md);
}

.royal-news-slide-item {
  height: 100%;
  background: var(--royal-bg-white);
}

.royal-news-slide-image {
  width: 100%;
  position: relative;
  overflow: hidden;
  background: var(--royal-blue-50);
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
}

/* Aspect ratio fallback */
@supports not (aspect-ratio: 4 / 3) {
  .royal-news-slide-image::before {
    content: '';
    display: block;
    padding-top: 75%;
  }

  .royal-news-slide-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
}

.royal-news-slide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--royal-transition-slow);
}

.royal-news-slide-item:hover .royal-news-slide-image img {
    transform: scale(1.1);
}

.royal-news-slide-content {
  padding: var(--royal-space-lg);
}

.royal-news-slide-content h3 {
  font-size: var(--royal-font-md);
  margin-bottom: var(--royal-space-sm);
  color: var(--royal-text-dark);
  font-weight: 600;
  line-height: 1.4;
}

.royal-news-slide-content p {
  color: var(--royal-text-light);
  margin-bottom: var(--royal-space-md);
  line-height: 1.6;
}

.royal-news-slide-content .royal-news-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.royal-news-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  height: 100%;
  background: var(--royal-bg-white);
  border-radius: var(--royal-radius-md);
  padding: 0 var(--royal-space-md);
  box-shadow: var(--royal-shadow);
}

.royal-news-list-item {
  padding: var(--royal-space-md) 0rem;
  transition: var(--royal-transition);
  display: flex;
  gap: var(--royal-space-md);
  align-items: flex-start;
  border-bottom: 1px solid var(--royal-border-light);
}

.royal-news-list-item:last-child {
  border-bottom: none;
}

.royal-news-list-image {
  width: 7.5rem;
  position: relative;
  overflow: hidden;
  background: var(--royal-blue-50);
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  border-radius: var(--royal-radius);
}

/* Aspect ratio fallback */
@supports not (aspect-ratio: 4 / 3) {
  .royal-news-list-image::before {
    content: '';
    display: block;
    padding-top: 75%;
  }

  .royal-news-list-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
}

.royal-news-list-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--royal-transition-slow);
}

.royal-news-list-content {
  flex: 1;
}

.royal-news-list-content h4 {
  font-size: var(--royal-font-default);
  margin-bottom:var(--royal-space-xs);
  color: var(--royal-text-dark);
  font-weight: 600;
  line-height: 1.4;
}

.royal-news-list-content p {
  color: var(--royal-text-lighter);
   font-size: var(--royal-font-sm);
    margin-bottom:var(--royal-space-xs);
}

.royal-news-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.royal-news-date {
  color: var(--royal-text-lighter);
  font-weight: 500;
   font-size: var(--royal-font-sm);
}

.royal-news-category {
  background: var(--royal-blue-100);
  color: var(--royal-blue-500);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: var(--royal-font-xs);
  font-weight: 600;
}

/* ===== Solutions Section ===== */
.royal-solutions-section {
  background: var(--royal-bg-white);
  padding: var(--royal-space-xxl) 0;
}

.royal-index-solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--royal-space-lg);
}

.royal-solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--royal-space-lg);
}

.royal-home-products-swiper {
  overflow: hidden;
  padding: 0.25rem 0.125rem 0.5rem;
}

.royal-home-products-swiper .swiper-slide {
  height: auto;
}

.royal-home-products-swiper .royal-product-card {
  height: 100%;
}

.royal-index-home-solutions .royal-solutions-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-bottom: 0;
}

.royal-index-home-solutions.royal-scenario-list-page .royal-solution-card {
  display: flex;
  flex-direction: column;
  height: auto;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: var(--royal-radius-lg);
  background: var(--royal-bg-white);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}

.royal-index-home-solutions.royal-scenario-list-page .royal-solution-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 56px rgba(37, 99, 235, 0.14);
}

.royal-index-home-solutions.royal-scenario-list-page .royal-solution-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  min-height: 0;
  padding-bottom: 0;
  border-radius: 0;
  overflow: hidden;
}

.royal-index-home-solutions.royal-scenario-list-page .royal-solution-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.royal-index-home-solutions.royal-scenario-list-page .royal-solution-card:hover .royal-solution-image img {
  transform: scale(1.05);
}

.royal-index-home-solutions.royal-scenario-list-page .royal-solution-card-content {
  display: flex;
  flex-direction: column;
  padding: 0.85rem 1rem 0.95rem;
}

.royal-index-home-solutions.royal-scenario-list-page .royal-solution-eyebrow,
.royal-index-home-solutions.royal-case-list-page .royal-solution-eyebrow {
  margin-bottom: 0.45rem;
  white-space: nowrap;
  overflow: hidden;
  color: var(--royal-blue-600);
  text-overflow: ellipsis;
}

.royal-index-home-solutions.royal-scenario-list-page .royal-solution-card h3,
.royal-index-home-solutions.royal-case-list-page .royal-solution-card h3 {
  min-height: 0;
  margin-bottom: 0.4rem;
  line-height: 1.36;
}

.royal-index-home-solutions.royal-scenario-list-page .royal-solution-card h3 a,
.royal-index-home-solutions.royal-case-list-page .royal-solution-card h3 a {
  display: -webkit-box;
  overflow: hidden;
  color: var(--royal-text-dark);
  font-size: 1.05rem;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.royal-index-home-solutions.royal-scenario-list-page .royal-solution-card p,
.royal-index-home-solutions.royal-case-list-page .royal-solution-card p {
  min-height: 0;
  margin-bottom: 0.45rem;
  color: var(--royal-text-light);
  display: -webkit-box;
  overflow: hidden;
  line-height: 1.5;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.royal-index-home-solutions.royal-scenario-list-page .royal-tags-list,
.royal-index-home-solutions.royal-case-list-page .royal-tags-list {
  display: none;
}

.royal-index-home-solutions.royal-scenario-list-page .royal-solution-card-footer,
.royal-index-home-solutions.royal-case-list-page .royal-solution-card-footer {
  display: flex;
  align-items: flex-end;
  margin-top: 0.1rem;
}

.royal-index-home-solutions.royal-scenario-list-page .royal-solution-detail-link,
.royal-index-home-solutions.royal-case-list-page .royal-solution-detail-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  max-width: 100%;
  min-height: 1.8rem;
  padding: 0.2rem 0;
  overflow: hidden;
  color: var(--royal-primary-blue);
  font-weight: 700;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.royal-index-home-solutions.royal-scenario-list-page .royal-solution-detail-link:hover,
.royal-index-home-solutions.royal-case-list-page .royal-solution-detail-link:hover {
  color: var(--royal-blue-600);
  transform: translateX(3px);
  box-shadow: none;
}

.royal-index-home-solutions.royal-case-list-page .royal-solutions-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.royal-index-home-solutions.royal-case-list-page .royal-solution-card {
  display: block;
  min-height: 0;
  height: auto;
  aspect-ratio: 16 / 10;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: var(--royal-radius-lg);
  background: var(--royal-bg-white);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.1);
}

.royal-index-home-solutions.royal-case-list-page .royal-solution-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 56px rgba(37, 99, 235, 0.18);
}

.royal-index-home-solutions.royal-case-list-page .royal-solution-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding-bottom: 0;
  border-radius: 0;
  overflow: hidden;
}

.royal-index-home-solutions.royal-case-list-page .royal-solution-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.18), rgba(15, 23, 42, 0.02));
  pointer-events: none;
}

.royal-index-home-solutions.royal-case-list-page .royal-solution-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.royal-index-home-solutions.royal-case-list-page .royal-solution-card:hover .royal-solution-image img {
  transform: scale(1.06);
}

.royal-index-home-solutions.royal-case-list-page .royal-solution-card-content {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 58%;
  height: 100%;
  padding: 1.25rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.97), rgba(239, 246, 255, 0.94)),
    rgba(255, 255, 255, 0.94);
  box-shadow: -18px 0 36px rgba(15, 23, 42, 0.1);
  transition: width 0.36s ease, background 0.36s ease;
}

.royal-index-home-solutions.royal-case-list-page .royal-solution-card:hover .royal-solution-card-content {
  width: 100%;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(232, 242, 255, 0.96)),
    rgba(255, 255, 255, 0.96);
}

.royal-index-article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--royal-space-lg);
}

.royal-index-article-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: var(--royal-bg-white);
  border: 1px solid var(--royal-border-light);
  border-radius: var(--royal-radius-md);
  box-shadow: var(--royal-shadow-sm);
  transition: var(--royal-transition);
}

.royal-index-article-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--royal-shadow-md);
  border-color: rgba(22, 135, 242, 0.28);
}

.royal-index-article-image {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--royal-blue-50);
}

.royal-index-article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--royal-transition-slow);
}

.royal-index-article-card:hover .royal-index-article-image img {
  transform: scale(1.05);
}

.royal-index-article-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.25rem 1.3rem 1.35rem;
}

.royal-index-article-kicker {
  color: var(--royal-blue-500);
  font-size: var(--royal-font-xs);
  font-weight: 700;
  margin-bottom: 0.65rem;
}

.royal-index-article-card h3 {
  color: var(--royal-text-dark);
  font-size: var(--royal-font-md);
  line-height: 1.4;
  margin-bottom: 0.75rem;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.royal-index-article-card p {
  color: var(--royal-text-light);
  line-height: 1.65;
  margin-bottom: 1rem;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.royal-index-article-footer {
  margin-top: auto;
}

.royal-index-article-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--royal-primary-blue);
  font-weight: 700;
}

.royal-index-article-link i {
  transition: var(--royal-transition);
}

.royal-index-article-link:hover i {
  transform: translateX(3px);
}

.royal-solution-card {
  background: var(--royal-bg-white);
  border-radius: var(--royal-radius-lg);
  padding: var(--royal-space-xl) var(--royal-space-lg);
  box-shadow: var(--royal-shadow);
  transition: var(--royal-transition);
  border: 1px solid var(--royal-border-light);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.royal-solution-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--royal-shadow-md);
}

.royal-solution-icon-bg {
  width: 100px;
  height: 100px;
  border-radius: var(--royal-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--royal-space-md);
  position: relative;
  overflow: hidden;
}

/* Solution icon color variations */
.royal-solution-card:nth-child(1) .royal-solution-icon-bg { background: var(--royal-gradient-primary); }
.royal-solution-card:nth-child(2) .royal-solution-icon-bg { background: var(--royal-gradient-green); }
.royal-solution-card:nth-child(3) .royal-solution-icon-bg { background: var(--royal-gradient-purple); }
.royal-solution-card:nth-child(4) .royal-solution-icon-bg { background: var(--royal-gradient-orange); }
.royal-solution-card:nth-child(5) .royal-solution-icon-bg { background: var(--royal-gradient-red); }
.royal-solution-card:nth-child(6) .royal-solution-icon-bg { background: var(--royal-gradient-cyan); }

.royal-solution-icon {
  font-size: 2.5rem;
  color: white;
}

.royal-solution-card h3 {
  font-size: var(--royal-font-md);
  margin-bottom: var(--royal-space-sm);
  color: var(--royal-text-dark);
  font-weight: 600;
}

.royal-solution-card p {
  color: var(--royal-text-light);
  line-height: 1.5;
}

/* ===== Client Partners Section ===== */
.royal-clients-section {
  background: var(--royal-bg-light);
  padding: var(--royal-space-xxl) 0;
}

.royal-clients-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--royal-space-md);
  align-items: center;
}

.royal-client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  padding: var(--royal-space-sm);
  background: var(--royal-bg-white);
  border-radius: var(--royal-radius-md);
  box-shadow: var(--royal-shadow-sm);
  transition: var(--royal-transition);
  border: 1px solid var(--royal-border-light);
  overflow: hidden;
}

.royal-client-logo:hover {
  transform: translateY(-3px);
  box-shadow: var(--royal-shadow-md);
  border-color: rgba(22, 135, 242, 0.24);
}

.royal-client-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: var(--royal-transition);
  filter: grayscale(100%) opacity(0.8);
}

.royal-client-logo:hover img {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.06);
}

/* ===== Contact Section ===== */
.royal-contact-section {
  background: var(--royal-bg-white);
  padding: var(--royal-space-xxl) 0;
}

.royal-contact-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.royal-contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--royal-space-md);
}

.royal-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--royal-space-md);
  background: var(--royal-bg-white);
  padding: var(--royal-space-md);
  border-radius: var(--royal-radius-md);
  box-shadow: var(--royal-shadow-sm);
  transition: var(--royal-transition);
  border: 1px solid var(--royal-border-light);
}

.royal-contact-item:hover {
  transform: translateX(3px);
  box-shadow: var(--royal-shadow);
}

.royal-contact-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--royal-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: var(--royal-font-md);
  flex-shrink: 0;
}

/* Contact icon color variations */
.royal-contact-item:nth-child(1) .royal-contact-icon { background: var(--royal-gradient-primary); }
.royal-contact-item:nth-child(2) .royal-contact-icon { background: var(--royal-gradient-green); }
.royal-contact-item:nth-child(3) .royal-contact-icon { background: var(--royal-gradient-purple); }
.royal-contact-item:nth-child(4) .royal-contact-icon { background: var(--royal-gradient-orange); }
.royal-contact-item:nth-child(5) .royal-contact-icon { background: var(--royal-gradient-red); }
.royal-contact-item:nth-child(6) .royal-contact-icon { background: var(--royal-gradient-cyan); }

.royal-contact-details h3 {
  margin-bottom: 0.5rem;
  color: var(--royal-text-dark);
  font-size: var(--royal-font-md);
  font-weight: 600;
}

.royal-contact-details p {
  color: var(--royal-text-light);
}

.royal-jobs-preview {
  background: var(--royal-blue-50);
  padding: var(--royal-space-sm);
  border-radius: var(--royal-radius);
  margin-top: var(--royal-space-sm);
  border-left: 3px solid var(--royal-primary-blue);
}

.royal-job-item {
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--royal-border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.royal-job-item:last-child {
  border-bottom: none;
}

.royal-job-title {
  font-weight: 500;
  color: var(--royal-text-dark);
  font-size: var(--royal-font-sm);
}

.royal-job-meta {
  color: var(--royal-text-light);
  font-size: var(--royal-font-sm);
}

.royal-contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--royal-space-md);
  background: var(--royal-bg-white);
  padding: var(--royal-space-xl);
  border-radius: var(--royal-radius-lg);
  box-shadow: var(--royal-shadow);
  border: 1px solid var(--royal-border-light);
}

.royal-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.royal-form-group label {
  font-weight: 500;
  color: var(--royal-text-dark);
  font-size: var(--royal-font-md);
}

.royal-form-group input,
.royal-form-group textarea {
  padding: 0.9rem;
  border: 1.5px solid var(--royal-border-light);
  border-radius: var(--royal-radius);
  font-size: var(--royal-font-sm);
  transition: var(--royal-transition);
  background: var(--royal-bg-light);
}

.royal-form-group input:focus,
.royal-form-group textarea:focus {
  outline: none;
  border-color: var(--royal-primary-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Home product cards */
.royal-products-section .royal-product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0;
  overflow: hidden;
}

.royal-products-section .royal-product-image {
  width: 100%;
  margin-bottom: 0;
  border-radius: var(--royal-radius-lg) var(--royal-radius-lg) 0 0;
}

.royal-products-section .royal-product-card > h3,
.royal-products-section .royal-product-card > p,
.royal-products-section .royal-product-card > .royal-product-detail-link {
  margin-left: 1.5rem;
  margin-right: 1.5rem;
}

.royal-products-section .royal-product-card > h3 {
  margin-top: 1.5rem;
}

.royal-products-section .royal-product-card > p {
  min-height: 3rem;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.royal-products-section .royal-product-card > .royal-product-detail-link {
  width: auto;
  margin-top: auto;
  margin-bottom: 1.5rem;
  color: var(--royal-primary-blue);
  font-weight: 800;
}

.royal-products-section .royal-product-card > .royal-product-detail-link:hover {
  color: var(--royal-blue-600);
}

.royal-home-hero-local {
  position: relative;
  min-height: var(--royal-banner-height);
  margin-top: var(--royal-header-height);
  padding: 8.5rem 0 5rem;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
}

.royal-home-hero-local .royal-home-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
}

.royal-home-hero-local .royal-container {
  position: relative;
  z-index: 1;
}

.royal-home-hero-content {
  max-width: 820px;
  color: #fff;
}

.royal-home-hero-content h1 {
  margin: 0 0 1rem;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
}

.royal-home-hero-content p {
  margin: 0 0 1.5rem;
  font-size: 1.25rem;
  line-height: 1.7;
}
