/* ==========================================================================
   TopResume Inspired Home Page Sections CSS
   Standard: 100% External CSS Only (No inline styles, no head embedded CSS)
   ========================================================================== */

/* Resume Writing Services Hero Banner Section (100% Full Width Background & Fixed Header Offset) */
.rws-banner-section {
  width: calc(100% - 32px);
  max-width: 1400px;
  margin: 16px auto 0;
  border-radius: 24px;
  background-image: url('../assets/images/blue-bg.jpg');
  background-repeat: no-repeat;
  background-position: right 0% top 60px;
  background-size: cover;
  background-color: rgb(234, 246, 255);
  padding: 165px 0 72px;
  position: relative;
  overflow: hidden;
}

.rws-banner-section::before,
.rws-banner-section::after {
  display: none;
}

.rws-banner-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 5;
}

.rws-banner-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 5;
}

.rws-banner-subtitle {
  color: #1a91f0;
  font-size: 50px;
  font-weight: 600;
  margin: 0 0 16px 0;
  letter-spacing: -0.5px;
  line-height: 1.1;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.rws-banner-title {
  color: #0f141e;
  font-size: 32px;
  font-weight: 600;
  margin: 0 0 18px 0;
  letter-spacing: -0.5px;
  line-height: 1.18;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.rws-banner-desc {
  color: #3b4455;
  font-size: 17px;
  line-height: 1.45;
  margin: 0 0 36px 0;
  max-width: 480px;
  font-weight: 400;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Google Rating Pill */
.rws-google-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: #ffffff;
  border: 1px solid #cce5ff;
  border-radius: 9999px;
  padding: 12px 26px;
  box-shadow: 0 4px 16px rgba(15, 56, 113, 0.06);
}

.rws-google-logo {
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 1px;
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: -0.5px;
}

.rws-g-blue {
  color: #4285f4;
}

.rws-g-red {
  color: #ea4335;
}

.rws-g-yellow {
  color: #fbbc05;
}

.rws-g-green {
  color: #34a853;
}

.rws-stars {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #ffb400;
  font-size: 16px;
}

.rws-rating-divider {
  color: #828ba2;
  margin: 0 4px;
  font-weight: 300;
}

.rws-rating-text {
  font-size: 16px;
  font-weight: 600;
  color: #1e2532;
}

/* Right Side Stacked Cards Layout (Matching TopResume Hero Cards Colors & Geometry) */
.rws-banner-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  z-index: 5;
  min-height: 440px;
  justify-content: flex-start;
  margin-top: 10px;
}

/* Organic Soft Light Blue Backdrop Glow Shape Behind Boxes */
.rws-banner-right::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 45%;
  transform: translate(-50%, -50%);
  width: 580px;
  height: 580px;
  background: radial-gradient(circle, rgba(175, 218, 255, 0.7) 0%, rgba(210, 235, 255, 0.25) 65%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.rws-tilted-card {
  width: 100%;
  max-width: 370px;
  padding: 24px 28px;
  border-radius: 0px !important;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s ease;
  cursor: pointer;
  position: relative;
  text-decoration: none;
  box-sizing: border-box;
}

.rws-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 8px;
}

.rws-card-1 {
  background: #c3e5fe;
  transform: rotate(-6deg) translate(10px, 0px);
  z-index: 1;
  box-shadow: 0 8px 20px rgba(0, 40, 100, 0.06);
}

.rws-card-2 {
  background: #92cdfc;
  transform: rotate(1deg) translate(45px, 12px);
  z-index: 3;
  box-shadow: 0 14px 32px rgba(0, 40, 100, 0.16);
}

.rws-card-3 {
  background: #f7faff;
  transform: rotate(6deg) translate(15px, 24px);
  z-index: 2;
  box-shadow: 0 10px 24px rgba(0, 40, 100, 0.08);
}

.rws-card-1:hover {
  transform: rotate(-6deg) translate(6px, -6px) !important;
  box-shadow: 0 14px 28px rgba(0, 40, 100, 0.12) !important;
}

.rws-card-2:hover {
  transform: rotate(1deg) translate(50px, 6px) !important;
  box-shadow: 0 18px 36px rgba(0, 40, 100, 0.18) !important;
}

.rws-card-3:hover {
  transform: rotate(6deg) translate(18px, 18px) !important;
  box-shadow: 0 14px 28px rgba(0, 40, 100, 0.14) !important;
}

.rws-card-title {
  font-size: 22px;
  line-height: 1.25;
  font-weight: 700;
  color: #0b121e;
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.rws-card-arrow {
  display: none !important;
}

.rws-card-text {
  font-size: 15px;
  line-height: 1.45;
  color: #333f52;
  margin: 0;
  font-weight: 400;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Company Trust Logo Bar */
.hired-trust-section {
  padding: 32px 0 24px;
  background-color: #ffffff;
  border-bottom: 1px solid #eef2f6;
  width: 100%;
}

.hired-trust-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.hired-trust-title {
  font-size: 16px;
  color: #656e83;
  font-weight: 500;
  white-space: nowrap;
  margin: 0;
}

.hired-trust-logos {
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
}

.hired-trust-logo-item {
  font-size: 20px;
  font-weight: 700;
  color: #3b4252;
  letter-spacing: -0.5px;
  opacity: 0.8;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: opacity 0.25s ease, transform 0.25s ease;
  user-select: none;
}

.hired-trust-logo-item:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.hired-trust-logo-icon {
  font-size: 22px;
  color: #1a91f0;
}

.hired-trust-more {
  font-size: 15px;
  color: #828ba2;
  font-weight: 400;
  white-space: nowrap;
}

/* Feature Cards Section */
.topresume-features-section {
  padding: 72px 0;
  background-color: #ffffff;
  width: 100%;
}

.topresume-features-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 72px;
}

.topresume-feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.topresume-feature-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.topresume-feature-heading {
  font-size: 38px;
  line-height: 1.18;
  font-weight: 600;
  color: #1e2532;
  margin-top: 0;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.topresume-feature-description {
  font-size: 18px;
  line-height: 1.55;
  color: #495163;
  margin-top: 0;
  margin-bottom: 32px;
  font-weight: 400;
}

/* Reusable Standard Button */
.topresume-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  background-color: #1a91f0;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  border-radius: 9999px;
  text-decoration: none;
  border: 2px solid transparent;
  box-shadow: 0 4px 14px rgba(26, 145, 240, 0.25);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.topresume-cta-btn:hover,
.topresume-cta-btn:focus {
  background-color: #0c7cd5;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(26, 145, 240, 0.35);
  transform: translateY(-2px);
  text-decoration: none;
}

.topresume-cta-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(26, 145, 240, 0.2);
}

.topresume-feature-image-wrapper {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(15, 37, 70, 0.08);
  border: 1px solid #eef2f6;
  background-color: #f8fafc;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.topresume-feature-image-wrapper:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 45px rgba(15, 37, 70, 0.12);
}

.topresume-feature-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 20px;
}

/* Responsiveness - Tablet & Mobile Breakpoints */
@media (max-width: 1024px) {
  .rws-banner-section {
    padding: 135px 0 48px;
  }

  .rws-banner-container {
    grid-template-columns: 1fr;
    padding: 0 24px;
    gap: 40px;
  }

  .rws-banner-right {
    min-height: auto;
    width: 100%;
    align-items: center;
  }

  .rws-tilted-card {
    max-width: 100%;
  }

  .rws-card-1 {
    transform: rotate(-4deg) translate(0px, 0px);
  }

  .rws-card-2 {
    transform: rotate(0deg) translate(16px, -10px);
  }

  .rws-card-3 {
    transform: rotate(4deg) translate(0px, -20px);
  }

  .topresume-features-section {
    padding: 56px 0;
  }

  .topresume-features-container {
    gap: 56px;
  }

  .topresume-feature-row {
    gap: 40px;
  }

  .topresume-feature-heading {
    font-size: 30px;
  }

  .topresume-feature-description {
    font-size: 16px;
    margin-bottom: 24px;
  }

  .hired-trust-logos {
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .rws-banner-section {
    width: 100% !important;
    margin: 0 !important;
    border-radius: 0 !important;
    background-image: url('../assets/images/blue-bg.jpg') !important;
    background-repeat: no-repeat !important;
    background-position: right 0% top 70px !important;
    background-size: cover !important;
    background-color: rgb(234, 246, 255) !important;
    padding: 200px 0 12px !important;
  }

  .rws-banner-container {
    padding: 0 16px;
    gap: 0px !important;
    grid-template-columns: 1fr;
  }

  .rws-banner-left {
    align-items: flex-start;
    text-align: left;
  }

  .rws-banner-subtitle {
    font-size: 34px;
    margin-bottom: 12px;
    line-height: 1.15;
  }

  .rws-banner-title {
    font-size: 28px;
    margin-bottom: 14px;
    line-height: 1.2;
  }

  .rws-banner-desc {
    font-size: 16px;
    line-height: 1.45;
    margin-bottom: 20px !important;
    text-align: left;
  }

  .rws-google-pill {
    padding: 10px 18px;
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
  }

  .rws-banner-right {
    display: none !important;
  }

  .hired-trust-section {
    padding: 24px 0 20px;
  }

  .hired-trust-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }

  .hired-trust-logos {
    justify-content: center;
    gap: 18px 24px;
  }

  .topresume-features-section {
    padding: 40px 0;
  }

  .topresume-features-container {
    gap: 48px;
  }

  .topresume-feature-row {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }

  .topresume-feature-row-order-mobile-text {
    order: 1;
  }

  .topresume-feature-row-order-mobile-img {
    order: 2;
  }

  .topresume-feature-content {
    align-items: center;
  }

  .topresume-feature-heading {
    font-size: 24px;
    margin-bottom: 14px;
  }

  .topresume-feature-description {
    font-size: 15px;
    margin-bottom: 20px;
  }

  .topresume-cta-btn {
    width: 100%;
    max-width: 320px;
  }
}

@media (max-width: 565px) {
  .rws-banner-section {
    padding: 235px 0 12px !important;
  }

  .rws-banner-subtitle {
    font-size: 42px;
  }

  .rws-banner-title {
    font-size: 26px;
  }

  .rws-banner-desc {
    font-size: 16px;
  }
}

@media (max-width: 400px) {
  .rws-banner-section {
    padding: 222px 0 12px !important;
  }
}

/* Header Menu Links Hover & Active Underline (#1a91f0) */
.menu ul li:hover,
.menu ul li a:hover,
.nav-link:hover {
  border-bottom-color: #1a91f0 !important;
}

.menu ul li.active1,
.active1,
.nav-link.active1 {
  border-bottom: 4px solid #1a91f0 !important;
}

/* Reviews Carousel Component */
.reviews-section {
  padding: 64px 0;
  background-color: #ffffff;
  width: 100%;
}

.reviews-title {
  text-align: center;
  font-size: 38px;
  line-height: 1.18;
  color: #002d6b;
  font-family: Jost, sans-serif;
  margin-top: 0;
  margin-bottom: 36px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.reviews-carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 12px;
}

.reviews-carousel-viewport {
  overflow: hidden;
  width: 100%;
  border-radius: 16px;
  padding: 12px 4px;
}

.reviews-carousel-track {
  display: flex;
  gap: 24px;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.reviews-card {
  flex: 0 0 calc(33.333% - 16px);
  min-width: 280px;
  box-sizing: border-box;
  background-color: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(15, 56, 113, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.reviews-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(15, 56, 113, 0.12);
}

.reviews-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.reviews-user-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.reviews-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid #eaf4ff;
}

.reviews-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reviews-user-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.reviews-user-name {
  font-size: 16px;
  font-weight: 700;
  color: #0f141e;
  margin: 0;
  line-height: 1.35;
  padding-top: 2px;
}

.reviews-stars {
  display: flex;
  align-items: center;
  gap: 3px;
  color: #ffb400;
  font-size: 13px;
}

.reviews-user-location {
  font-size: 13px;
  color: #717d96;
  margin: 0;
}

.reviews-google-logo {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.reviews-google-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.reviews-divider {
  border: 0;
  border-top: 1px solid #edf2f7;
  margin: 8px 0 10px;
}

.reviews-card-body {
  font-size: 15px;
  line-height: 1.6;
  color: #4a5568;
  font-weight: 400;
}

.reviews-nav-btn {
  background-color: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #1a91f0 !important;
  width: 44px;
  height: 44px;
  border-radius: 50% !important;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
  transition: all 0.2s ease;
  z-index: 10;
  flex-shrink: 0;
  font-size: 16px;
  outline: none !important;
}

.reviews-nav-btn:hover,
.reviews-nav-btn:focus,
.reviews-nav-btn:active {
  background-color: #ffffff !important;
  color: #0c7cd5 !important;
  border-color: #1a91f0 !important;
  outline: none !important;
  transform: scale(1.08);
  box-shadow: 0 6px 16px rgba(26, 145, 240, 0.25) !important;
}

.reviews-carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.reviews-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #cbd5e1;
  cursor: pointer;
  transition: all 0.3s ease;
}

.reviews-dot.active {
  background-color: #1a91f0;
  width: 28px;
  border-radius: 999px;
}

@media (max-width: 1024px) {
  .reviews-card {
    flex: 0 0 calc(50% - 12px);
  }
}

@media (max-width: 640px) {
  .reviews-section {
    padding: 16px 0 32px !important;
  }

  .reviews-title {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .reviews-carousel-wrapper {
    position: relative;
    padding: 0 16px;
    gap: 0;
  }

  .reviews-nav-btn {
    position: absolute;
    top: 130px;
    transform: none;
    width: 38px;
    height: 38px;
    font-size: 14px;
    background-color: #ffffff !important;
    color: #1a91f0 !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12) !important;
  }

  .reviews-prev-btn {
    left: -4px;
  }

  .reviews-next-btn {
    right: -4px;
  }

  .reviews-card {
    flex: 0 0 100%;
    padding: 18px 16px;
    border-radius: 14px;
  }

  .reviews-avatar {
    width: 44px;
    height: 44px;
  }

  .reviews-user-name {
    font-size: 14px;
    line-height: 1.35;
    word-break: break-word;
    padding-top: 2px;
  }

  .reviews-user-location {
    font-size: 12px;
  }

  .reviews-stars {
    font-size: 12px;
  }

  .reviews-google-logo {
    width: 28px;
    height: 28px;
  }

  .reviews-card-header {
    align-items: center;
    margin-bottom: 6px;
  }

  .reviews-divider {
    margin: 6px 0 8px;
  }

  .reviews-card-body {
    font-size: 14px;
    line-height: 1.5;
  }
}