/* ========================================================
   KRS INFOTECH - ABOUT US PAGE (NEW MODERN DESIGN)
   Matches exact layout & styling of about-us.png mockup
   ======================================================== */

:root {
  --abt-primary: #d7172e;
  --abt-primary-dark: #b30d20;
  --abt-primary-soft: #ffeef1;
  --abt-primary-border: rgba(215, 23, 45, 0.2);
  --abt-dark: #000f29;
  --abt-navy: #0b1a30;
  --abt-text: #475569;
  --abt-muted: #64748b;
  --abt-light-bg: #f8fafc;
  --abt-card-border: #f1f5f9;
  --abt-font-inter: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --abt-font-script: 'Meie Script', cursive, sans-serif;
}

/* ================== GLOBAL STYLES FOR ABOUT PAGE ================== */
.about-page-wrap {
  font-family: var(--abt-font-inter);
  color: var(--abt-text);
  overflow-x: hidden;
  background-color: #ffffff;
}

.about-page-wrap * {
  box-sizing: border-box;
}

.abt-highlight {
  color: var(--abt-primary);
}

.abt-tag-badge {
  display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f5dcdf;
    color: var(--abt-primary);
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.2px;
    margin-bottom: 18px;
}

.abt-tag-badge span.dash {
  font-weight: 800;
  margin-right: 2px;
}

.abt-tag-inline {
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: #808793;
}

.abt-tag-inline::before {
  content: "—";
  font-weight: 800;
  color: var(--abt-primary);
}

/* Common Section Padding */
.abt-section {
  padding: 70px 0;
  position: relative;
}

.abt-section-lg {
  padding: 85px 0;
  position: relative;
}

/* ================== SECTION 1: HERO SECTION ================== */
.abt-hero-section {
  padding: 45px 0;
    background: url(../images/about/about-banner-bg.png);
    position: relative;
    overflow: hidden;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.abt-hero-heading {
      font-size: 50px;
    font-weight: 800;
    line-height: 1.18;
    color: var(--abt-dark);
    margin-bottom: 20px;
}

@media (max-width: 991px) {
  .abt-hero-heading {
    font-size: 38px;
  }
}

@media (max-width: 575px) {
  .abt-hero-heading {
    font-size: 32px;
  }
}

.abt-hero-desc {
  font-size: 17px;
    line-height: 1.65;
    color: #4c5562;
    max-width: 520px;
    margin-bottom: 34px;
    font-weight: 500;
}

.abt-hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.abt-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--abt-primary);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 15px;
  padding: 13px 28px;
  border-radius: 50px;
     box-shadow: 0 10px 24px rgb(215 23 46 / 28%);
  border: none;
  text-decoration: none !important;
  transition: all 0.3s ease;
  cursor: pointer;
}

.abt-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(225, 20, 68, 0.38);
  color: #ffffff;
}

.abt-btn-primary i {
  font-size: 14px;
  transition: transform 0.2s ease;
}

.abt-btn-primary:hover i {
  transform: translateX(3px);
}

.abt-video-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none !important;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 4px;
}

.abt-play-circle {
  width: 44px;
  height: 44px;
  background: #ffeef1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--abt-primary);
  font-size: 13px;
  padding-left: 2px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(255, 37, 86, 0.15);
}

.abt-video-btn:hover .abt-play-circle {
  background: var(--abt-primary);
  color: #ffffff;
  transform: scale(1.08);
}

.abt-video-info {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.abt-video-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--abt-dark);
  line-height: 1.25;
}

.abt-video-time {
  font-size: 12px;
  color: #94a3b8;
  font-weight: 500;
}

.abt-hero-visual-wrap {
  position: relative;
  text-align: center;
  z-index: 1;
}

.abt-hero-visual-img {
  max-width: 100%;
  height: auto;
  display: block;
  position: relative;
  left: -220px;
}

.abt-hero-experience-card,
.abt-hero-stat-card {
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(215, 23, 45, 0.08);
  box-shadow: 0 10px 28px rgba(11, 26, 48, 0.12);
}

.abt-hero-experience-card {
    position: absolute;
    z-index: 2;
    top: 10%;
    left: 33%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    border-radius: 8px;
    text-align: left;
    /* flex-direction: column; */
    width: 155px;
}

.abt-hero-experience-card > i,
.abt-hero-stat-icon {
  display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--abt-primary-soft);
    color: var(--abt-primary);
}

.abt-hero-experience-card strong,
.abt-hero-stat-info strong {
  display: block;
    color: var(--abt-dark);
    font-size: 28px;
    font-weight: 800;
    line-height: 1.1;
}

.abt-hero-experience-card span,
.abt-hero-stat-info > span {
  display: block;
  color: var(--abt-muted);
  font-size: 13px;
  line-height: 1.3;
  white-space: nowrap;
}
.abt-hero-experience-card span{
      white-space: inherit;
    display: block;
    margin-top: 5px;
    font-size: 14px;
}
.abt-hero-stats {
      position: absolute;
    z-index: 2;
    top: 18%;
    right: 0;
    display: grid;
    gap: 4px;
    width: 230px;
}

.abt-hero-stat-card {
  display: flex;
    align-items: center;
    gap: 10px;
    /* min-height: 55px; */
    padding: 10px;
    border-radius: 7px;
    text-align: left;
}

.abt-hero-stat-icon {
  font-size: 18px;
}

.abt-hero-stat-info {
  min-width: 0;
}

.abt-hero-stat-info strong {
  font-size: 17px;
    margin-bottom: 3px;
    font-weight: 700;
}

@media (max-width: 991px) {
  .abt-hero-visual-img {
    left: 0;
  }

  .abt-hero-experience-card {
    top: 2%;
    left: 14%;
  }

  .abt-hero-stats {
    top: 18%;
    right: 1%;
    width: 42%;
  }

  .abt-hero-stat-card {
    min-height: 52px;
  }
}

@media (max-width: 575px) {
  .abt-hero-visual-wrap {
    margin: 0 -10px;
  }

  .abt-hero-experience-card {
    top: 1%;
    left: 5%;
    gap: 7px;
    padding: 8px 10px;
  }

  .abt-hero-experience-card > i,
  .abt-hero-stat-icon {
    flex-basis: 29px;
    width: 29px;
    height: 29px;
  }

  .abt-hero-experience-card strong {
    font-size: 19px;
  }

  .abt-hero-experience-card span,
  .abt-hero-stat-info > span {
    font-size: 9px;
  }

  .abt-hero-stats {
    top: 21%;
    right: 1%;
    width: 49%;
    gap: 5px;
  }

  .abt-hero-stat-card {
    min-height: 46px;
    gap: 6px;
    padding: 6px 7px;
    border-radius: 10px;
  }

  .abt-hero-stat-info strong {
    font-size: 14px;
  }
}

/* ================== SECTION 2: OUR STORY & TIMELINE ================== */
.abt-story-section {
 padding: 45px 0;
    background: #ffffff;
}

.abt-story-heading {
  font-size: 35px;
    font-weight: 750;
    line-height: 1.35;
    color: var(--abt-dark);
    margin-bottom: 20px;
}

@media (max-width: 991px) {
  .abt-story-heading {
    font-size: 32px;
  }
}

.abt-story-desc {
  font-size: 16px;
    line-height: 1.7;
    color: #606d81;
    margin-bottom: 30px;
}

.abt-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--abt-primary) !important;
  border: 1.5px solid var(--abt-primary);
  padding: 10px 26px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none !important;
  transition: all 0.3s ease;
}

.abt-btn-outline:hover {
  background: var(--abt-primary);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(225, 20, 68, 0.25);
}

.abt-btn-outline i {
  font-size: 13px;
  transition: transform 0.2s ease;
}

.abt-btn-outline:hover i {
  transform: translateX(3px);
}

/* Timeline Components */
.abt-timeline-wrap {
      position: relative;
    padding-left: 80px;
}

.abt-timeline-wrap::before {
  content: "";
    position: absolute;
    left: 68px;
    top: 15px;
    bottom: 25px;
    width: 2px;
    background: rgb(215 23 46 / 25%);
}

.abt-timeline-item {
  position: relative;
  margin-bottom: 24px;
}

.abt-timeline-item:last-child {
  margin-bottom: 0;
}
.abt-timeline-item::after{
      position: absolute;
    content: '';
    width: 8px;
    height: 8px;
    background: #d7172e;
    left: -16px;
    top: 11px;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgb(215 23 46 / 25%);
}
.abt-timeline-node {
   position: absolute;
    left: -80px;
    top: -10px;
    width: 48px;
    height: 48px;
    background: #ffeef1;
    border: 6px solid #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--abt-primary);
    font-size: 20px;
    box-shadow: 0 2px 8px rgba(255, 37, 86, 0.15);
}

.abt-timeline-content {
  padding-left: 16px;
}

.abt-timeline-year {
      font-size: 13px;
    font-weight: 600;
    color: var(--abt-primary);
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

.abt-timeline-title {
  font-size: 15px;
    font-weight: 600;
    color: var(--abt-dark);
    margin-bottom: 7px;
}

.abt-timeline-text {
  font-size: 13px;
  line-height: 1.55;
  color: #64748b;
  margin-bottom: 0;
}

/* Quote Card */
.abt-quote-card-wrap {
      position: relative;
    z-index: 1;
    height: 485px;
    border-radius: 20px;
    overflow: hidden;
}

.abt-quote-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.abt-quote-card-wrap .overlay-cntnt{
  position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    padding: 30px 65px;
}
.abt-quote-card-wrap .overlay-cntnt .quote-icn{
  color: var(--abt-primary);
    font-size: 35px;
}
.abt-quote-card-wrap .overlay-cntnt h6{
  font-size: 21px;
    font-weight: 400;
    color: #13274a;
    line-height: 30px;
    margin: 15px 0 30px 0;
}

/* ================== SECTION 3: COMPANY STATS ================== */
.abt-achievements-section {
      padding: 22px 0;
    background: linear-gradient(90deg, #faf0f1, #f2f3f5);
}

.abt-achievements-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.abt-achievement-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 72px;
  padding: 8px 16px;
}

.abt-achievement-item + .abt-achievement-item {
  border-left: 1px solid #f5d3d7;
}

.abt-achievement-icon {
  display: flex;
    flex: 0 0 50px;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgb(215 23 46 / 10%);
    color: var(--abt-primary);
    font-size: 20px;
}

.abt-achievement-info strong {
  display: block;
  color: var(--abt-dark);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.1;
}

.abt-achievement-info > span {
  display: block;
  color: var(--abt-muted);
  font-size: 12px;
  line-height: 1.4;
}

@media (max-width: 767px) {
  .abt-achievements-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .abt-achievement-item:nth-child(3) {
    border-left: 0;
  }

  .abt-achievement-item:nth-child(n + 3) {
    border-top: 1px solid #e2e8f0;
  }
}

@media (max-width: 420px) {
  .abt-achievement-item {
    justify-content: flex-start;
    gap: 8px;
    padding: 8px 5px;
  }

  .abt-achievement-icon {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
    font-size: 15px;
  }

  .abt-achievement-info strong {
    font-size: 20px;
  }

  .abt-achievement-info > span {
    font-size: 10px;
  }
}

/* ================== SECTION 4: OUR EXPERTISE ================== */
.abt-expertise-section {
  padding: 45px 0;
    background: #fff;
}

.abt-expertise-img-wrap {
  position: relative;
  text-align: center;
}

.abt-expertise-img {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  transition: transform 0.4s ease;
}

.abt-expertise-img-wrap:hover .abt-expertise-img {
  transform: translateY(-4px);
}

.abt-expertise-heading {
  font-size: 35px;
    font-weight: 750;
    line-height: 1.35;
    color: var(--abt-dark);
    margin-bottom: 12px;
}

@media (max-width: 991px) {
  .abt-expertise-heading {
    font-size: 32px;
  }
}

.abt-expertise-desc {
 font-size: 16px;
    line-height: 1.65;
    color: #606d81;
    margin-bottom: 25px;
    max-width: 560px;
}

/* Expertise 2x2 Grid Cards */
.abt-service-card {
  background: #ffffff;
    border: 1px solid #f7e7ea;
    border-radius: 18px;
    padding: 24px 22px;
    box-shadow: 0 4px 20px rgb(14 22 38 / 9%);
    transition: all 0.35s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    text-decoration: none !important;
}

.abt-service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 37, 86, 0.25);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.09);
}

.abt-service-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.abt-service-icon {
  width: 44px;
  height: 44px;
  background: #ffeef1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--abt-primary);
  font-size: 18px;
  transition: all 0.3s ease;
}

.abt-service-card:hover .abt-service-icon {
  background: var(--abt-primary);
  color: #ffffff;
  transform: scale(1.05);
}

.abt-service-arrow {
  width: 28px;
  height: 28px;
  background: #f8fafc;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 12px;
  transition: all 0.3s ease;
}

.abt-service-card:hover .abt-service-arrow {
  background: var(--abt-primary-soft);
  color: var(--abt-primary);
  transform: translateX(3px);
}

.abt-service-title {
  font-size: 16px;
    font-weight: 600;
    color: var(--abt-dark);
    margin-bottom: 9px;
    line-height: 1.3;
}

.abt-service-text {
  font-size: 14px;
  line-height: 1.55;
  color: #64748b;
  margin-bottom: 0;
  font-weight: 400;
}

/* ================== SECTION 5: TRUSTED PARTNERS ================== */
.abt-partners-section {
      padding: 40px 0;
    background: linear-gradient(90deg, #f5eced, #f5f8fc);
}

.abt-partners-heading {
  font-size: 27px;
    font-weight: 500;
    color: var(--abt-dark);
    margin-bottom: 10px;
}

.abt-partners-desc {
  font-size: 14.5px;
  color: var(--abt-muted);
  max-width: 600px;
  margin-bottom: 30px;
}

.abt-partners-row {
      display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.abt-partner-card {
  background: #ffffff;
    /* border: 1px solid #eef2f6; */
    border-radius: 8px;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 calc(12.5% - 12px);
    /* min-width: 111px; */
    width: 160px;
    height: 70px;
    /* box-shadow: 0 2px 10px rgb(0 0 0 / 7%); */
    transition: all 0.3s ease;
}

.abt-partner-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  border-color: rgba(255, 37, 86, 0.2);
}

.abt-partner-card img {
  width: 100%;
    height: 100%;
    /* object-fit: scale-down; */
    object-fit: scale-down;
}

@media (max-width: 991px) {
  .abt-partner-card {
    flex: 1 1 calc(25% - 12px);
    max-width: none;
  }
}

@media (max-width: 575px) {
  .abt-partner-card {
    flex: 1 1 calc(50% - 12px);
    max-width: none;
  }
}

/* ================== SECTION 6: BOTTOM CTA BANNER ================== */
.abt-cta-section {
 padding: 40px 0;
    background: url(../images/about/cta-banner.png);
    position: relative;
    overflow: hidden;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.abt-cta-section::before {
  content: "";
  position: absolute;
  top: -50%;
  left: 20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 37, 86, 0.28) 0%, transparent 65%);
  pointer-events: none;
}

.abt-cta-section::after {
  content: "";
  position: absolute;
  right: -5%;
  bottom: -40%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(225, 20, 68, 0.25) 0%, transparent 60%);
  pointer-events: none;
}

.abt-cta-title {
 color: #ffffff;
    font-size: 27px;
    font-weight: 700;
    margin-bottom: 10px;
    /* letter-spacing: -0.3px; */
    position: relative;
    z-index: 2;
    text-shadow: 0 8px 24px rgb(30 1 16 / 75%);
}

.abt-cta-subtitle {
  color: #f3d5dd;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 0;
    max-width: 580px;
    position: relative;
    z-index: 2;
    text-shadow: 0 8px 24px rgb(30 1 16 / 75%);
}

.abt-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  color: var(--abt-primary) !important;
  font-weight: 600;
  font-size: 15px;
  padding: 13px 30px;
  border-radius: 50px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  border: none;
  text-decoration: none !important;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
  white-space: nowrap;
}

.abt-cta-btn:hover {
  background: #ffffff;
  color: var(--abt-primary) !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.abt-cta-btn i {
  font-size: 13px;
  transition: transform 0.2s ease;
}

.abt-cta-btn:hover i {
  transform: translateX(4px);
}

@media (max-width: 991px) {
  .abt-cta-section {
    padding: 45px 0;
    text-align: center;
  }
  .abt-cta-subtitle {
    margin: 0 auto 24px;
  }
}

/* Rich Editor Paragraph Styling in About Page */
.abt-hero-desc p,
.abt-story-desc p,
.abt-expertise-desc p {
  margin-bottom: 12px;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
}
.abt-hero-desc p:last-child,
.abt-story-desc p:last-child,
.abt-expertise-desc p:last-child {
  margin-bottom: 0;
}
