/* ============================================
   Comparison Pages Styles (Egnyte Alternative, etc.)
   ============================================ */

/* Hero Section - 60/40 column layout */
.comparison-hero-grid {
  grid-template-columns: 3fr 2fr !important;
}

  .comparison-hero-grid > .max-width-large {
    max-width: none !important;
    width: 100% !important;
  }

@media screen and (max-width: 991px) {
  .comparison-hero-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Sync & Share Alternative Page - 50/50 hero layout */
.sync-share-hero-grid {
  grid-template-columns: 1fr 1fr !important;
}

@media screen and (max-width: 991px) {
  .sync-share-hero-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Quick Comparison Card */
.comparison-card {
  background-color: #F5F4F1;
  border-radius: 16px;
  padding: 1rem;
}

  .comparison-card img {
    width: 100%;
    display: block;
  }

/* User Feedback Section Grid */
.comparison-feedback-grid {
  align-items: stretch;
}

/* User Feedback - Left Testimonial Card */
.comparison-testimonial-card {
  height: 100%;
  background-color: #F5F4F1 !important;
  border-radius: 16px;
  border: none !important;
}

/* User Feedback - Right Images Column */
.comparison-images-column {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

  .comparison-images-column img {
    width: 100%;
    flex: 1;
    object-fit: cover;
    border-radius: 16px;
  }

/* Button group centered */
.button-group-4.center {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

/* Faster Setup, Lower Costs - Mobile responsiveness */
@media screen and (max-width: 767px) {
  .compliance-logos-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
  }
}

/* ============================================
   SFTP Page Specific Styles
   ============================================ */

/* SFTP page - 50/50 hero layout */
.sftp-hero-grid {
  grid-template-columns: 1fr 1fr !important;
}

@media screen and (max-width: 991px) {
  .sftp-hero-grid {
    grid-template-columns: 1fr !important;
  }
}

/* SFTP Why Section - Fix text display in education-pricing sections */
.sftp-why-section .education-pricing-right .text-size-medium-grey,
.sftp-why-section .education-pricing-left .text-size-medium-grey {
  display: block;
  flex: none;
}

/* SFTP Why Section - Make image containers match text height */
.sftp-why-section .education-pricing-card {
  align-items: stretch;
}

.sftp-why-section .education-pricing-offer-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.sftp-why-section .education-pricing-image {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

  .sftp-why-section .education-pricing-image img {
    max-height: 100%;
    object-fit: contain;
  }

/* SFTP Business Benefits cards - uniform height */
.sftp-features-slider .featiures-card {
  height: 280px;
}

/* SFTP Position slider arrows closer to cards */
.sftp-features-slider .slider-arrow {
  top: 50%;
  transform: translateY(-50%);
}

.sftp-features-slider .features-mask {
  height: auto;
}

@media screen and (max-width: 767px) {
  .sftp-features-slider .featiures-card {
    height: auto;
    min-height: 240px;
  }
}

/* SFTP Key Features - vertically center FAQ content */
.sftp-licensing-faq-grid {
  align-items: center !important;
}

  .sftp-licensing-faq-grid .licensing-faq-image-wrap {
    align-items: center !important;
  }

/* ============================================
   SharePoint Migration Costs Page Styles
   ============================================ */

/* DS Why Section - Make columns stretch to full height */
.ds-why-section .education-pricing-card {
  align-items: stretch !important;
}

  /* DS Why Section - Columns need to stretch */
  .ds-why-section .education-pricing-card .education-pricing-left,
  .ds-why-section .education-pricing-card .education-pricing-right {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    gap: 0 !important;
  }

    /* DS Why Section - Reset paragraph margin in right column */
    .ds-why-section .education-pricing-card .education-pricing-right > p:last-child {
      margin-top: 0 !important;
      flex-grow: 0 !important;
      display: block !important;
    }

  /* DS Why Section - Image card fills full height and width */
  .ds-why-section .education-pricing-card .education-pricing-offer-card {
    height: 100% !important;
    width: 100% !important;
    display: flex;
    flex-direction: column;
    padding: 0 !important;
    flex: 1;
  }

.ds-why-section .education-pricing-image {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

  .ds-why-section .education-pricing-image img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 16px;
  }

/* ============================================
   Security & IT Control Tabbed Section
   ============================================ */

.security-it-control-section {
  background-color: #fff;
}

  .security-it-control-section .section-heading {
    text-align: center;
    margin-bottom: 2rem;
  }

/* Tab Navigation */
.security-tabs-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 3rem;
  background-color: #F5F4F1;
  border: none;
  border-radius: 100px;
  padding: 0;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.security-tab-btn {
  padding: 0.75rem 1.5rem;
  border: none;
  background: transparent;
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 500;
  color: #7B7B7B;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

  .security-tab-btn:hover {
    background-color: #e8e7e4;
  }

  .security-tab-btn.active {
    background-color: #007bff;
    color: #fff;
    padding: 0.75rem 1.5rem;
  }

/* Tab Content */
.security-tabs-content {
  position: relative;
}

.security-tab-panel {
  display: none;
  animation: fadeIn 0.3s ease;
}

  .security-tab-panel.active {
    display: block;
  }

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.security-tab-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: stretch;
}

.security-tab-image {
  background-color: #f5f4f1;
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 350px;
}

  .security-tab-image img {
    max-width: 100%;
    max-height: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
  }

.security-tab-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Mobile Styles - Stack all sections vertically */
@media screen and (max-width: 991px) {
  .security-tabs-nav {
    display: none;
  }

  .security-tab-panel {
    display: block !important;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid #e5e5e5;
  }

    .security-tab-panel:last-child {
      border-bottom: none;
      margin-bottom: 0;
      padding-bottom: 0;
    }

  .security-tab-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .security-tab-image {
    order: -1;
    min-height: 250px;
  }
}

@media screen and (max-width: 767px) {
  .security-tab-image {
    padding: 1.5rem;
    min-height: 200px;
  }
}
