/* ==========================================
   Fin Flow Group - About Us CSS
   Custom Styling with ff- prefix
   ========================================== */

/* ==========================================
   About Section Styling
   ========================================== */
.ff-about-inner {
  padding: 20px 0;
}

.ff-subtitle {
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #f59f46;
  margin-bottom: 15px;
}

.ff-title {
  font-size: 30px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.3;
  margin-bottom: 25px;
  letter-spacing: 1px;
}

.ff-about-desc {
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: 1px;
  color: #666666;
  margin-bottom: 20px;
}

/* ==========================================
   Service Box Styling
   ========================================== */
.ff-service-box {
  transition: all 0.3s ease;
  margin-bottom: 20px;
}

.ff-service-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.ff-service-box .pbmit-ihbox-contents {
  padding-top: 15px;
}

.ff-service-box .pbmit-element-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1a1a1a;
}

/* ==========================================
   Feature Box Styling
   ========================================== */
.ff-feature-box {
  text-align: center;
  padding: 15px;
  transition: all 0.3s ease;
}

.ff-feature-box:hover {
  background-color: rgba(245, 159, 70, 0.05);
  border-radius: 8px;
}

.ff-feature-box .pbmit-ihbox-icon-wrapper {
  width: 60px;
  height: 60px;
  margin: 0 auto 15px;
}

.ff-feature-box svg {
  width: 100%;
  height: 100%;
}

/* ==========================================
   Marquee Section Styling
   ========================================== */
.ff-marquee-section {
  padding: 40px 0;
}

.ff-marquee-section .pbmit-element-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ==========================================
   Mission & Vision Section Styling
   ========================================== */
.ff-mission-vision-section {
  padding: 60px 0;
}

.ff-heading-section {
  margin-bottom: 30px;
}

.ff-mission-title {
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #f59f46;
  margin-bottom: 10px;
}

.ff-mission-subtitle {
  font-size: 35px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  letter-spacing: 1px;
}

.ff-description-text {
  font-size: 1rem;
  line-height: 1.8;
  color: #ffffff;
  opacity: 0.95;
}

/* ==========================================
   Mission Boxes Styling
   ========================================== */
.ff-mission-boxes {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ff-box-item {
  margin-bottom: 25px;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.08);
  border-left: 4px solid #f59f46;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.ff-box-item:hover {
  background-color: rgba(245, 159, 70, 0.1);
  border-left-color: #fff;
  transform: translateX(5px);
}

.pbmit-static-box-number {
  margin-bottom: 15px;
}

.pbmit-box-number {
  font-size: 2rem;
  font-weight: 700;
  color: #f59f46;
  line-height: 1;
}

.pbmit-content-box {
  text-align: left;
}

.pbmit-static-box-title h1,
.pbmit-static-box-title h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.pbmit-static-box-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #cccccc;
  margin: 0;
}

/* ==========================================
   Boxes Wrapper Styling
   ========================================== */
.ff-boxes-wrapper {
  margin-top: 40px;
}

/* ==========================================
   Responsive Design
   ========================================== */
@media (max-width: 1024px) {
  .ff-title {
    font-size: 1.9rem;
  }

  .ff-mission-subtitle {
    font-size: 1.9rem;
  }

  .pbmit-static-box-title h1,
  .pbmit-static-box-title h2 {
    font-size: 1.1rem;
  }

  .pbmit-static-box-desc {
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  .ff-title {
    font-size: 1.6rem;
  }

  .ff-subtitle,
  .ff-mission-title {
    font-size: 0.85rem;
    letter-spacing: 1.5px;
  }

  .ff-mission-subtitle {
    font-size: 1.6rem;
  }

  .ff-about-desc,
  .ff-description-text {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .ff-box-item {
    margin-bottom: 15px;
    padding: 15px;
  }

  .pbmit-box-number {
    font-size: 1.5rem;
  }

  .pbmit-static-box-title h1,
  .pbmit-static-box-title h2 {
    font-size: 1rem;
  }

  .pbmit-static-box-desc {
    font-size: 0.85rem;
  }

  .ff-feature-box {
    padding: 10px;
    margin-bottom: 15px;
  }

  .ff-feature-box .pbmit-ihbox-icon-wrapper {
    width: 50px;
    height: 50px;
  }

  .swiper-static-slide-nav {
    max-width: 100% !important;
  }

  .swiper-static-slide-images {
    display: none;
  }
}

@media (max-width: 576px) {
  .ff-breadcrumb-title {
    font-size: 1.5rem;
  }

  .ff-title {
    font-size: 1.4rem;
  }

  .ff-subtitle,
  .ff-mission-title {
    font-size: 0.75rem;
  }

  .ff-mission-subtitle {
    font-size: 1.3rem;
  }

  .ff-about-desc,
  .ff-description-text {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .ff-box-item {
    margin-bottom: 12px;
    padding: 12px;
    border-left-width: 3px;
  }

  .pbmit-box-number {
    font-size: 1.2rem;
  }

  .pbmit-static-box-title h1,
  .pbmit-static-box-title h2 {
    font-size: 0.9rem;
  }

  .pbmit-static-box-desc {
    font-size: 0.8rem;
    line-height: 1.5;
  }

  .ff-marquee-section .pbmit-element-title {
    font-size: 1.1rem;
    letter-spacing: 0.5px;
  }

  .ff-service-box .pbmit-element-title {
    font-size: 1rem;
  }
}

/* ==========================================
   Animation Effects
   ========================================== */
.ff-about-inner,
.ff-heading-section,
.ff-box-item {
  animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================
   Accessibility
   ========================================== */
.ff-box-item:focus {
  outline: 2px solid #f59f46;
  outline-offset: 2px;
}

.ff-service-box:focus {
  outline: 2px solid #f59f46;
  outline-offset: 2px;
}

/* ==========================================
   About Section Extended
   ========================================== */
.ff-about-section {
  padding: 80px 0;
}

.ff-about-content {
  padding-right: 40px;
}

.ff-about-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.ff-about-image img {
  width: 100%;
  height: auto;
  display: block;
}

.ff-about-highlights {
  display: flex;
  gap: 30px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.ff-highlight-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.ff-highlight-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: #f59f46;
  border-radius: 50%;
  color: #fff;
  font-size: 1.3rem;
}

.ff-highlight-text {
  font-size: 15px;
  color: #333;
  font-weight: 500;
  letter-spacing: 1px;
}

.ff-highlight-text strong {
  color: #f59f46;
}

/* ==========================================
   Mission & Vision Extended
   ========================================== */
.ff-mission-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

.ff-bg-dark {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

.ff-bg-light {
  background-color: #f8f9fa;
}

.ff-mission-box {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(245, 159, 70, 0.2);
}

.ff-mission-box:hover {
  background: rgba(245, 159, 70, 0.1);
  transform: translateY(-10px);
  border-color: #f59f46;
}

.ff-mission-box-icon {
  font-size: 3rem;
  color: #f59f46;
  margin-bottom: 20px;
}

.ff-mission-box-title {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 15px;
  letter-spacing: 1px;
}

.ff-mission-box-desc {
  font-size: 15px;
  line-height: 1.8;
  color: #ddd;
  margin: 0;
  letter-spacing: 1px;
}

/* ==========================================
   Why Choose Us Section
   ========================================== */
.ff-why-choose-section {
  padding: 80px 0;
}

.ff-section-header {
  margin-bottom: 50px;
}

.ff-section-subtitle {
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #f59f46;
  margin-bottom: 15px;
  display: inline-block;
}

.ff-section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.3;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.ff-section-desc {
  font-size: 1rem;
  color: #666;
  line-height: 1.8;
}

.ff-why-item {
  display: flex;
  gap: 20px;
  padding: 25px;
  background: #fff;
  border-radius: 8px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.ff-why-item:hover {
  border-color: #f59f46;
  box-shadow: 0 10px 30px rgba(245, 159, 70, 0.15);
  transform: translateX(10px);
}

.ff-why-item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #f59f46, #ff6b6b);
  border-radius: 50%;
  color: #fff;
  font-size: 1.5rem;
}

.ff-why-item-content {
  flex: 1;
}

.ff-why-title {
  font-size: 19px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 10px 0;
  letter-spacing: 1px;
}

.ff-why-desc {
  font-size: 15px;
  color: #666;
  line-height: 1.6;
  margin: 0;
  letter-spacing: 1px;
}

/* ==========================================
   Services Section
   ========================================== */
.ff-services-section {
  padding: 80px 0;
}

.ff-service-category {
  margin-bottom: 50px;
}

.ff-category-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 30px;
  letter-spacing: 1px;
  padding-bottom: 15px;
  border-bottom: 3px solid #f59f46;
  display: inline-block;
}

.ff-category-title i {
  margin-right: 10px;
  color: #f59f46;
}

.ff-service-item {
  display: flex;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  border-left: 4px solid #f59f46;
  transition: all 0.3s ease;
  height: 100%;
}

.ff-service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border-left-color: #ff6b6b;
}

.ff-service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #f59f46, #ff6b6b);
  border-radius: 8px;
  color: #fff;
  font-size: 1.3rem;
}

.ff-service-info {
  flex: 1;
}

.ff-service-info h4 {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: 1px;
  margin: 0 0 8px 0;
}

.ff-service-info p {
  font-size: 14px;
  color: #666;
  margin: 0;
  line-height: 1.6;
  letter-spacing: 1px;
}

/* ==========================================
   CTA Section
   ========================================== */
.ff-cta-section {
  padding: 60px 0;
  background: linear-gradient(135deg, #f59f46 0%, #ff6b6b 100%);
}

.ff-cta-wrapper {
  padding: 40px 0;
}

.ff-cta-content {
  color: #fff;
}

.ff-cta-title {
  font-size: 30px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 15px;
  letter-spacing: 1px;
}

.ff-cta-subtitle {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.8;
  margin: 0;
  letter-spacing: 1px;
}

.ff-cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.ff-btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  text-align: center;
  border: none;
  cursor: pointer;
  letter-spacing: 1px;
}

.ff-btn-primary {
  background-color: #fff;
  color: #f59f46;
}

.ff-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  background-color: #f8f9fa;
}

.ff-btn-secondary {
  background-color: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.ff-btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

.ff-btn-secondary i {
  margin-right: 8px;
}

/* ==========================================
   Enhanced Responsive Design
   ========================================== */
@media (max-width: 1024px) {
  .ff-about-content {
    padding-right: 20px;
  }

  .ff-title,
  .ff-section-title {
    font-size: 1.9rem;
  }

  .ff-mission-subtitle,
  .ff-cta-title {
    font-size: 1.6rem;
  }

  .ff-category-title {
    font-size: 1.4rem;
  }

  .ff-mission-box {
    padding: 25px;
  }

  .ff-why-item {
    padding: 20px;
  }
}

@media (max-width: 768px) {
  .ff-about-section,
  .ff-mission-section,
  .ff-why-choose-section,
  .ff-services-section {
    padding: 50px 0;
  }

  .ff-about-content {
    padding-right: 0;
    margin-bottom: 30px;
  }

  .ff-title,
  .ff-section-title {
    font-size: 1.6rem;
  }

  .ff-mission-subtitle,
  .ff-cta-title {
    font-size: 1.4rem;
  }

  .ff-section-subtitle,
  .ff-subtitle {
    font-size: 0.85rem;
    letter-spacing: 1.5px;
  }

  .ff-about-highlights {
    gap: 15px;
  }

  .ff-highlight-item {
    gap: 10px;
    margin-bottom: 10px;
  }

  .ff-highlight-text {
    font-size: 0.9rem;
  }

  .ff-why-item {
    padding: 15px;
    gap: 15px;
  }

  .ff-why-item-icon {
    min-width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }

  .ff-why-title {
    font-size: 1.1rem;
  }

  .ff-why-desc,
  .ff-mission-box-desc {
    font-size: 0.9rem;
  }

  .ff-category-title {
    font-size: 1.3rem;
  }

  .ff-service-item {
    padding: 15px;
  }

  .ff-service-icon {
    min-width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }

  .ff-service-info h4 {
    font-size: 1rem;
  }

  .ff-service-info p {
    font-size: 0.85rem;
  }

  .ff-cta-buttons {
    flex-direction: row;
  }

  .ff-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .ff-about-section,
  .ff-mission-section,
  .ff-why-choose-section,
  .ff-services-section,
  .ff-cta-section {
    padding: 40px 0;
  }

  .ff-title,
  .ff-section-title {
    font-size: 1.4rem;
  }

  .ff-mission-subtitle,
  .ff-cta-title {
    font-size: 1.2rem;
  }

  .ff-section-subtitle,
  .ff-subtitle {
    font-size: 0.75rem;
  }

  .ff-about-highlights {
    gap: 10px;
    flex-direction: column;
  }

  .ff-highlight-item {
    gap: 8px;
  }

  .ff-highlight-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .ff-highlight-text {
    font-size: 0.85rem;
  }

  .ff-mission-box {
    padding: 20px;
    margin-bottom: 15px;
  }

  .ff-mission-box-icon {
    font-size: 2.2rem;
  }

  .ff-mission-box-title {
    font-size: 1.2rem;
  }

  .ff-mission-box-desc {
    font-size: 0.85rem;
  }

  .ff-why-item {
    padding: 12px;
    gap: 12px;
    flex-direction: column;
    align-items: flex-start;
  }

  .ff-why-item-icon {
    min-width: 45px;
    height: 45px;
    align-self: flex-start;
  }

  .ff-why-title {
    font-size: 1rem;
  }

  .ff-why-desc {
    font-size: 0.8rem;
  }

  .ff-category-title {
    font-size: 1.1rem;
    margin-bottom: 15px;
  }

  .ff-service-item {
    padding: 12px;
    gap: 12px;
  }

  .ff-service-icon {
    min-width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .ff-service-info h4 {
    font-size: 0.9rem;
  }

  .ff-service-info p {
    font-size: 0.8rem;
  }

  .ff-cta-wrapper {
    padding: 20px 0;
  }

  .ff-cta-content {
    margin-bottom: 20px;
    text-align: center;
  }

  .ff-cta-buttons {
    flex-direction: column;
  }

  .ff-btn {
    padding: 10px 15px;
    font-size: 0.85rem;
  }
}

/* ==========================================
   Print Styles
   ========================================== */
@media print {
  .ff-cta-section {
    page-break-inside: avoid;
  }

  .ff-box-item,
  .ff-mission-box,
  .ff-why-item,
  .ff-service-item {
    page-break-inside: avoid;
  }

  .ff-title,
  .ff-mission-subtitle,
  .ff-section-title {
    color: #000;
  }

  .ff-btn {
    border: 1px solid #333;
    color: #000;
  }
}
