/**
 * AKSHAYA ENGINEERING — Premium layout overrides
 * Uniform image grids inspired by industrial product sites
 */

/* ── Prevent horizontal scrollbar ─────────────────────── */
html,
body {
  overflow-x: hidden;
  max-width: 100%;
}

.container {
  max-width: 100%;
}

.navbar-brand {
  margin-left: 0 !important;
}

/* ── Product / Service Cards ───────────────────────────── */
.ae-product-card {
  background: #fff;
  border: 1px solid #e8edf2;
  border-radius: 4px;
  overflow: hidden;
  height: 100%;
  min-width: 0;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ae-product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 97, 144, 0.15);
}

.ae-product-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none !important;
}

.ae-product-card__link:hover {
  color: inherit;
  text-decoration: none;
}

.ae-product-card__image {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f4f7fa;
}

.ae-product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.45s ease;
}

.ae-product-card:hover .ae-product-card__image img {
  transform: scale(1.06);
}

.ae-product-card__body {
  padding: 22px 24px 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
  border-top: 3px solid #006190;
}

.ae-product-card__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #006190;
  margin-bottom: 8px;
}

.ae-product-card__title {
  font-size: 17px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 10px;
  line-height: 1.35;
}

.ae-product-card__desc {
  font-size: 14px;
  color: #5a6472;
  line-height: 1.6;
  margin: 0 0 18px;
  flex: 1;
  overflow-wrap: break-word;
  word-break: break-word;
}

.ae-product-card__btn {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: #006190;
  padding: 10px 20px;
  border-radius: 2px;
  align-self: flex-start;
  transition: background 0.25s ease;
}

.ae-product-card:hover .ae-product-card__btn {
  background: #ED2025;
}

/* ── Industry Cards ──────────────────────────────────── */
.ae-industry-card {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ae-industry-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 36px rgba(0, 97, 144, 0.12);
}

.ae-industry-card__image {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.ae-industry-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.45s ease;
}

.ae-industry-card:hover .ae-industry-card__image img {
  transform: scale(1.05);
}

.ae-industry-card__body {
  padding: 24px 26px 28px;
  border-left: 4px solid #ED2025;
}

.ae-industry-card__body h4 {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 10px;
}

.ae-industry-card__body p {
  font-size: 14px;
  color: #5a6472;
  line-height: 1.65;
  margin: 0;
}

/* ── Blog Cards ──────────────────────────────────────── */
.ae-blog-card {
  background: #fff;
  border: 1px solid #e8edf2;
  border-radius: 4px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ae-blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 36px rgba(0, 97, 144, 0.12);
  border-bottom-color: #ED2025;
}

.ae-blog-card__image {
  width: 100%;
  aspect-ratio: 16 / 10;
  max-height: 220px;
  overflow: hidden;
  background: #f4f7fa;
}

.ae-blog-card__image img {
  width: 100%;
  height: 100%;
  max-height: 220px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.45s ease;
}

.ae-blog-card:hover .ae-blog-card__image img {
  transform: scale(1.05);
}

.ae-blog-card__body {
  padding: 22px 24px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
  border-bottom: 4px solid #006190;
}

.ae-blog-card:hover .ae-blog-card__body {
  border-bottom-color: #ED2025;
}

.ae-blog-card__title {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 8px;
  line-height: 1.4;
}

.ae-blog-card__title a {
  color: #1a1a2e;
  text-decoration: none;
}

.ae-blog-card__title a:hover {
  color: #006190;
}

.ae-blog-card__date {
  font-size: 12px;
  color: #006190;
  font-style: italic;
  margin-bottom: 12px;
}

.ae-blog-card__excerpt {
  font-size: 14px;
  color: #5a6472;
  line-height: 1.65;
  margin: 0;
  flex: 1;
}

/* ── Supply / Thumb Grid (About page) ─────────────────── */
.ae-supply-item {
  text-align: center;
  padding: 12px 8px;
}

.ae-supply-item__image {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 4px;
  background: #f4f7fa;
  border: 1px solid #e8edf2;
  margin-bottom: 12px;
}

.ae-supply-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.35s ease;
}

.ae-supply-item:hover .ae-supply-item__image img {
  transform: scale(1.08);
}

.ae-supply-item__label {
  font-size: 13px;
  font-weight: 600;
  color: #1a1a2e;
  margin: 0;
  line-height: 1.3;
}

/* ── Grid row equal heights ──────────────────────────── */
.ae-grid-row > [class*="col-"] {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* ── Featured image blocks ───────────────────────────── */
.ae-feature-image {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.ae-feature-image img {
  width: 100%;
  height: auto;
  display: block;
}

.ae-feature-image--ratio {
  aspect-ratio: 4 / 3;
}

.ae-feature-image--ratio img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.ae-feature-image--blog {
  max-height: 420px;
}

.ae-feature-image--blog img {
  max-height: 420px;
}

.ae-blog-meta {
  font-size: 14px;
  color: #5a6472;
}

.ae-blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ae-blog-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: #006190;
  background: rgba(0, 97, 144, 0.08);
  border: 1px solid rgba(0, 97, 144, 0.15);
  border-radius: 3px;
  padding: 4px 10px;
  line-height: 1.4;
}

.ae-blog-content {
  font-size: 15px;
  line-height: 1.75;
  color: #3d4654;
}

.ae-blog-content img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin: 12px 0;
}

.ae-blog-content p {
  margin-bottom: 1rem;
}

.ae-blog-content h2,
.ae-blog-content h3,
.ae-blog-content h4 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: #1a1a2e;
}

/* ── Stats cards ─────────────────────────────────────── */
.ae-stat-card {
  background: #fff;
  border: 1px solid #e8edf2;
  border-radius: 4px;
  padding: 32px 20px;
  height: 100%;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.ae-stat-card:hover {
  box-shadow: 0 8px 28px rgba(0, 97, 144, 0.1);
  border-color: #006190;
}

.ae-stat-card h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 6px;
}

/* ── Logo / Branding ─────────────────────────────────── */
.ae-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  margin-right: 1.5rem;
  text-decoration: none !important;
}

.ae-brand:hover {
  text-decoration: none;
}

.ae-brand__icon {
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

.ae-brand__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.15;
  overflow: hidden;
  max-width: 280px;
  opacity: 1;
  transition: max-width 0.3s ease, opacity 0.25s ease, margin 0.3s ease;
}

.ae-brand__name {
  color: #1a1a2e;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ae-brand__tagline {
  color: #006190;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 3px;
  white-space: nowrap;
}

/* On scroll: show icon only, hide company name */
.header-1 .navbar-main.stiky .ae-brand__text {
  display: none;
  max-width: 0;
  opacity: 0;
  margin: 0;
}

.header-1 .navbar-main.stiky .ae-brand {
  gap: 0;
}

.header-1 .navbar-main.stiky .ae-brand__icon {
  width: 44px;
  height: 44px;
}

.navbar-main.stiky .navbar-brand img {
  width: auto !important;
}

/* Footer — company name only (no logo) */
.ae-footer-name {
  margin-bottom: 0;
}

.ae-footer-name strong {
  display: block;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.3;
  margin-bottom: 6px;
}

.ae-footer-name span {
  display: block;
  color: rgba(255, 255, 255, 0.75);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.4;
}

/* Footer brand block */
.ae-footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.ae-footer-brand__icon {
  width: 56px;
  height: 56px;
  object-fit: contain;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 6px;
}

.ae-footer-brand__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ae-footer-brand__text strong {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.ae-footer-brand__text span {
  color: rgba(255, 255, 255, 0.75);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.3;
}

/* About page full logo */
.ae-about-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: #fff;
  border: 1px solid #e8edf2;
  border-radius: 6px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.site-logo--about {
  height: auto;
  width: 100%;
  max-width: 340px;
  object-fit: contain;
  display: block;
}

@media (max-width: 991px) {
  .ae-brand__icon {
    width: 44px;
    height: 44px;
  }

  .ae-brand__name {
    font-size: 14px;
  }

  .ae-brand__tagline {
    font-size: 8px;
  }
}

@media (max-width: 575px) {
  .ae-brand__text {
    display: none;
  }

  .ae-brand__icon {
    width: 42px;
    height: 42px;
  }

  .ae-footer-brand__icon {
    width: 48px;
    height: 48px;
  }

  .ae-footer-brand__text strong {
    font-size: 14px;
  }
}

/* ── Service Cards ───────────────────────────────────── */
.ae-service-card {
  background: #fff;
  border: 1px solid #e8edf2;
  border-radius: 4px;
  padding: 32px 28px;
  height: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ae-service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 36px rgba(0, 97, 144, 0.12);
  border-color: #006190;
}

.ae-service-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: #006190;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 26px;
  flex: none;
}

.ae-service-card--img {
  padding: 0 0 26px;
  overflow: hidden;
}

.ae-service-card__image {
  width: 100%;
  height: 210px;
  max-height: 210px;
  margin-bottom: 20px;
  overflow: hidden;
  background: #f4f7fa;
  flex: none;
}

.ae-service-card__image img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}

.ae-service-card--img:hover .ae-service-card__image img {
  transform: scale(1.05);
}

.ae-service-card--img .ae-service-card__title,
.ae-service-card--img .ae-service-card__desc,
.ae-service-card--img .ae-service-card__more {
  padding-left: 24px;
  padding-right: 24px;
}

.ae-service-card__title {
  font-size: 17px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 12px;
}

.ae-service-card__desc {
  font-size: 14px;
  color: #5a6472;
  line-height: 1.65;
  margin: 0;
}

/* ── Page breadcrumb banners ─────────────────────────── */
.ae-page-banner {
  background-size: cover !important;
  background-position: center center !important;
  position: relative;
}

.ae-page-banner__overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(135deg, rgba(0, 40, 70, 0.82) 0%, rgba(0, 97, 144, 0.65) 100%);
  z-index: 1;
}

.ae-page-banner .content-wrap {
  position: relative;
  z-index: 2;
}

.ae-page-banner .title-page {
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.ae-page-banner .breadcrumb a:hover {
  color: #ED2025 !important;
}

.feature-box-7,
.box-image-5 {
  border-radius: 4px;
  overflow: hidden;
}

.feature-box-7 .media-box,
.box-image-5 .media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.feature-box-7 .media-box img,
.box-image-5 .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.box-image-4 .media-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.box-image-4 .media-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.box-image-4 .body-content {
  margin-top: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-bottom: 0 !important;
  transform: none !important;
  border-left: 4px solid #ED2025;
}

.rs-news-1 .media {
  aspect-ratio: 16 / 10;
  margin-bottom: 0 !important;
}

.rs-news-1 .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rs-news-1 {
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* ── Hero banner slider ──────────────────────────────── */
.banner .owl-theme .item {
  min-height: 580px;
  background-size: cover !important;
  background-position: center center !important;
  position: relative;
}

.banner .owl-theme .item .overlay-bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(90deg, rgba(0, 40, 70, 0.82) 0%, rgba(0, 97, 144, 0.45) 55%, rgba(0, 97, 144, 0.15) 100%);
  z-index: 1;
}

.banner .owl-theme .item .overlay-bg.ae-banner-overlay--light {
  background: linear-gradient(90deg, rgba(0, 20, 40, 0.12) 0%, rgba(0, 20, 40, 0.08) 50%, rgba(0, 20, 40, 0.28) 100%);
}

.banner .owl-theme .item .container {
  position: relative;
  z-index: 2;
}

.banner .wrap-caption {
  max-width: 620px;
}

.banner .wrap-caption .caption-heading {
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}

.banner .wrap-caption .caption-heading span {
  color: #ED2025;
}

@media (max-width: 767px) {
  .banner .owl-theme .item {
    min-height: 420px;
  }

  .banner .wrap-caption {
    max-width: 100%;
  }
}

.section.overlap-bottom {
  overflow: hidden;
}

/* ── Section spacing polish ──────────────────────────── */
.section .content-wrap {
  padding-top: 70px;
  padding-bottom: 70px;
  overflow-x: hidden;
}

.section.bg-gray-light {
  background-color: #f4f7fa !important;
}

/* ── Catalogue download CTA section ─────────────────── */
.ae-catalogue-cta {
  position: relative;
  background-size: cover !important;
  background-position: center center !important;
  padding: 0 !important;
}

.ae-catalogue-cta .content-wrap {
  padding-top: 90px !important;
  padding-bottom: 90px !important;
  position: relative;
  z-index: 2;
}

.ae-catalogue-cta__overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(135deg, rgba(0, 40, 70, 0.88) 0%, rgba(0, 97, 144, 0.78) 100%);
  z-index: 1;
}

.ae-catalogue-cta__box {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 40px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  backdrop-filter: blur(4px);
}

.ae-catalogue-cta__icon {
  font-size: 42px;
  color: #ED2025;
  margin-bottom: 18px;
  display: block;
}

.ae-catalogue-cta__box h2 {
  font-size: 32px;
  font-weight: 700;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.ae-catalogue-cta__box p {
  font-size: 17px;
  opacity: 0.95;
}

.ae-catalogue-cta__btn {
  padding: 14px 36px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 14px;
  border: none;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s ease, background 0.25s ease;
}

.ae-catalogue-cta__btn:hover {
  transform: translateY(-2px);
  background: #ED2025 !important;
}

@media (max-width: 767px) {
  .ae-catalogue-cta .content-wrap {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
  }

  .ae-catalogue-cta__box {
    padding: 32px 24px;
  }

  .ae-catalogue-cta__box h2 {
    font-size: 24px;
  }
}

/* ── Testimonials ────────────────────────────────────── */
.ae-testimonial-caro .item {
  padding: 6px 2px 12px;
}

.ae-testimonial-card {
  background: #fff;
  border: 1px solid #e8edf2;
  border-top: 3px solid #006190;
  border-radius: 4px;
  padding: 28px 26px 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ae-testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 97, 144, 0.12);
}

.ae-testimonial-card__quote {
  font-size: 26px;
  color: rgba(0, 97, 144, 0.25);
  line-height: 1;
  margin-bottom: 14px;
}

.ae-testimonial-card__text {
  font-size: 14.5px;
  line-height: 1.7;
  color: #3d4654;
  flex: 1;
  margin-bottom: 16px;
}

.ae-testimonial-card__rating {
  color: #f5b301;
  font-size: 13px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.ae-testimonial-card__person {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid #eef2f6;
  padding-top: 16px;
}

.ae-testimonial-card__avatar {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #006190;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ae-testimonial-card__name {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1.3;
}

.ae-testimonial-card__company {
  font-size: 12.5px;
  color: #5a6472;
  margin-top: 2px;
}

.ae-testimonial-caro .owl-stage {
  display: flex;
}

.ae-testimonial-caro .owl-item {
  display: flex;
}

.ae-testimonial-caro .owl-item .item {
  width: 100%;
  display: flex;
}

.ae-testimonial-caro .owl-item .ae-testimonial-card {
  width: 100%;
}

.ae-testimonial-caro .owl-dots {
  text-align: center;
  margin-top: 18px;
}

.ae-testimonial-caro .owl-dots .owl-dot span {
  background: #c7d3dd;
}

.ae-testimonial-caro .owl-dots .owl-dot.active span,
.ae-testimonial-caro .owl-dots .owl-dot:hover span {
  background: #006190;
}

/* ── Navbar dropdown (Services / Products) ───────────── */
.ae-dropdown-menu {
  border: 1px solid #e8edf2;
  border-top: 3px solid #006190;
  border-radius: 0 0 4px 4px;
  box-shadow: 0 12px 32px rgba(0, 40, 70, 0.14);
  padding: 8px 0;
  margin-top: 0;
  min-width: 250px;
}

.ae-dropdown-menu .dropdown-item {
  font-size: 13px;
  font-weight: 600;
  color: #3d4654;
  padding: 9px 20px;
  transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}

.ae-dropdown-menu .dropdown-item i {
  color: #006190;
  margin-right: 6px;
  width: 16px;
}

.ae-dropdown-menu .dropdown-item:hover,
.ae-dropdown-menu .dropdown-item:focus {
  background: rgba(0, 97, 144, 0.07);
  color: #006190;
  padding-left: 24px;
}

.ae-dropdown-menu .dropdown-divider {
  margin: 6px 0;
  border-color: #e8edf2;
}

/* Products dropdown: main product + sub-product grouping */
.ae-dropdown-menu--products {
  min-width: 270px;
  max-height: 70vh;
  overflow-y: auto;
}

.ae-dropdown-menu .ae-dropdown-main {
  font-weight: 700;
  color: #006190;
  text-transform: uppercase;
  font-size: 12.5px;
  letter-spacing: 0.03em;
  margin-top: 4px;
}

.ae-dropdown-menu .ae-dropdown-sub {
  font-weight: 500;
  padding-left: 34px;
}

.ae-dropdown-menu .ae-dropdown-sub i {
  color: #ED2025;
  width: 12px;
}

.ae-dropdown-menu .ae-dropdown-sub:hover,
.ae-dropdown-menu .ae-dropdown-sub:focus {
  padding-left: 38px;
}

/* Desktop: open on hover */
@media (min-width: 992px) {
  .ae-nav-dropdown:hover > .ae-dropdown-menu {
    display: block;
  }

  .ae-nav-dropdown > .ae-dropdown-menu {
    margin-top: -2px;
  }
}

/* Mobile: indent dropdown items inside collapsed menu */
@media (max-width: 991px) {
  .ae-dropdown-menu {
    border: none;
    border-left: 3px solid #006190;
    border-radius: 0;
    box-shadow: none;
    background: #f8fafc;
    margin-left: 12px;
  }
}

/* ── Clickable service card ──────────────────────────── */
a.ae-service-card--link {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none !important;
}

a.ae-service-card--link:hover {
  color: inherit;
}

.ae-service-card__more {
  display: block;
  margin-top: auto;
  padding-top: 16px;
  font-size: 13px;
  font-weight: 700;
  color: #006190;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

a.ae-service-card--link:hover .ae-service-card__more {
  color: #ED2025;
}

/* ── Service detail page icon ────────────────────────── */
.ae-service-detail__icon {
  width: 80px;
  height: 80px;
  background: #006190;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 32px;
}

/* ── Blog detail page ────────────────────────────────── */
.ae-blog-detail__article {
  background: #fff;
  border: 1px solid #e8edf2;
  border-radius: 6px;
  padding: 32px;
}

.ae-blog-detail__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin-bottom: 16px;
  font-size: 14px;
}

.ae-blog-detail__meta .meta-date {
  font-weight: 600;
}

.ae-blog-detail__title {
  font-size: 32px;
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1.3;
  margin-bottom: 16px;
}

.ae-blog-detail__excerpt {
  border-left: 4px solid #006190;
  padding-left: 16px;
  margin-bottom: 28px;
}

.ae-blog-sidebar {
  position: sticky;
  top: 100px;
}

.ae-blog-sidebar .contact-info-sidebar {
  background: #f8fafc;
  border: 1px solid #e8edf2;
  border-radius: 6px;
  padding: 24px 20px;
}

.ae-blog-sidebar .widget-title {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #006190;
}

@media (max-width: 991px) {
  .ae-blog-detail__article {
    padding: 24px 20px;
    margin-bottom: 24px;
  }

  .ae-blog-detail__title {
    font-size: 26px;
  }

  .ae-blog-sidebar {
    position: static;
  }
}
