/* ==========================================================================
   StayMitra Technologies - About Page Stylesheet (css/about.css)
   ========================================================================== */

/* ==========================================================================
   About Us Section
   ========================================================================== */

.about-section {
  padding: 100px 0;
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: 70px;
}

.about-visual-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}

.chart-card-container {
  position: relative;
  width: 100%;
  max-width: 480px;
  background: #f8faff;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 15px 40px rgba(10, 25, 90, 0.06);
  border: 1px solid rgba(16, 35, 120, 0.05);
}

.bar-chart-preview {
  width: 100%;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.click-card-overlay {
  position: absolute;
  top: -25px;
  left: -25px;
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: 0 20px 45px rgba(10, 25, 90, 0.12);
  border: 1px solid rgba(16, 35, 120, 0.06);
  max-width: 240px;
  animation: floatOverlay 6s ease-in-out infinite alternate;
}

@keyframes floatOverlay {
  0% { transform: translateY(0); }
  100% { transform: translateY(-10px); }
}

.donut-preview {
  width: 100%;
}

.pie-accent-badge {
  position: absolute;
  top: -20px;
  right: -20px;
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 14px;
  box-shadow: 0 15px 35px rgba(10, 25, 90, 0.1);
  display: flex;
  align-items: center;
  gap: 8px;
}

.pie-accent-badge svg {
  width: 32px;
  height: 32px;
}

.about-content {
  max-width: 580px;
}

.about-quote {
  font-size: 18px;
  font-style: italic;
  font-weight: 600;
  color: var(--text-title);
  border-left: 3px solid var(--primary);
  padding-left: 18px;
  margin: 28px 0;
  line-height: 1.6;
}

.about-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 32px 0 38px;
  padding: 20px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.about-stat-item h3 {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 6px;
}

.about-stat-item p {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-about {
  padding: 15px 36px;
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  background: var(--primary);
  border-radius: var(--radius-full);
  box-shadow: 0 8px 24px rgba(23, 50, 173, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-about:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(23, 50, 173, 0.5);
}

.about-actions-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-about-outline {
  padding: 14px 30px;
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
  background: transparent;
  border: 2px solid var(--primary);
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-about-outline:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(23, 50, 173, 0.15);
}



/* ==========================================================================
   Meet Our Team Section
   ========================================================================== */

.team-section {
  padding: 100px 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
  position: relative;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 860px;
  margin: 0 auto;
}

.team-card {
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid rgba(16, 27, 59, 0.08);
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(15, 33, 119, 0.06);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 28px 55px -10px rgba(15, 33, 119, 0.16);
}

.team-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, #eef2fa 0%, #dde5f7 100%);
}

.team-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-card:hover .team-img {
  transform: scale(1.05);
}

.team-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(9, 21, 99, 0.75) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 20px;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.team-card:hover .team-img-overlay {
  opacity: 1;
}

.team-social-links {
  display: flex;
  gap: 10px;
}

.team-social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: all 0.25s ease;
  transform: translateY(10px);
}

.team-card:hover .team-social-btn {
  transform: translateY(0);
}

.team-social-btn:hover {
  background: #ffffff;
  color: var(--primary);
  transform: scale(1.1) translateY(0) !important;
}

.team-info {
  padding: 28px 24px 32px;
}

.team-role-badge {
  display: inline-block;
  padding: 5px 16px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.founder-badge {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #78350f;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.cofounder-badge {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.team-name {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-title);
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.team-bio {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.7;
  max-width: 340px;
  margin: 0 auto;
}



/* ==========================================================================
   Why Choose Us Section
   ========================================================================== */

.why-choose-section {
  padding: 110px 0;
  background: #ffffff;
  position: relative;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: 70px;
}

.why-visual-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}

.why-main-img {
  width: 100%;
  max-width: 520px;
  filter: drop-shadow(0 20px 35px rgba(10, 25, 90, 0.1));
}

.why-content {
  max-width: 580px;
}

.why-features {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 32px 0 36px;
}

.why-feat-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.check-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #0066f5;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
  margin-top: 3px;
  box-shadow: 0 4px 12px rgba(0, 102, 245, 0.3);
}

.feat-info h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 4px;
}

.feat-info p {
  font-size: 15px;
  color: var(--text-body);
}

/* Radial Progress Box */
.growth-metric-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 24px 32px;
  box-shadow: 0 15px 40px rgba(10, 25, 90, 0.08);
  border: 1px solid rgba(16, 35, 120, 0.08);
  display: inline-flex;
  align-items: center;
  gap: 26px;
}

.radial-progress-ring {
  position: relative;
  width: 90px;
  height: 90px;
}

.radial-progress-ring svg {
  transform: rotate(-90deg);
}

.radial-progress-ring circle {
  fill: none;
  stroke-width: 8;
  stroke-linecap: round;
}

.circle-bg {
  stroke: #eef2f9;
}

.circle-val {
  stroke: #0066f5;
  stroke-dasharray: 226;
  stroke-dashoffset: 45; /* 80% */
  transition: stroke-dashoffset 1s ease-in-out;
}

.radial-val-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 20px;
  font-weight: 800;
  color: var(--text-title);
}

.growth-metric-info h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-title);
  margin-bottom: 4px;
}

.growth-metric-info p {
  font-size: 13px;
  color: var(--text-muted);
}



/* ==========================================================================
   About Page Custom Modern Styles (Responsive & Mobile First Optimized)
   ========================================================================== */

/* About Hero */
.about-hero-section {
  background: linear-gradient(135deg, #0a1428 0%, #1e3a8a 100%);
  color: #ffffff;
  padding: 75px 20px 50px;
  text-align: center;
}

.about-hero-badge {
  background: rgba(255, 255, 255, 0.15);
  color: #93c5fd;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  display: inline-block;
}

.about-hero-title {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  margin: 16px 0 12px;
  color: #ffffff;
  line-height: 1.25;
}

.about-hero-desc {
  font-size: clamp(14px, 2vw, 16px);
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.6;
  margin: 0 auto;
  max-width: 680px;
}

/* About Story Section */
.about-story-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 50px;
}

.about-story-text {
  order: 1;
}

.about-story-title {
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  margin: 12px 0 20px;
}

.about-story-p {
  font-size: 15px;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 16px;
}

.about-story-p:last-child {
  margin-bottom: 0;
}

.about-story-visual {
  order: 2;
  display: flex;
  justify-content: center;
  position: relative;
}

.about-story-img {
  width: 100%;
  max-width: 480px;
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
  display: block;
}

/* Statutory Compliance Grid */
.compliance-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.compliance-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 24px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.compliance-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.compliance-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.compliance-title {
  color: #0f172a;
  font-size: 15.5px;
  font-weight: 700;
  display: block;
  margin-bottom: 6px;
}

.compliance-desc {
  font-size: 13.5px;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

/* Leadership Grid */
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 380px));
  justify-content: center;
  gap: 32px;
  margin-top: 40px;
}

.director-card {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.director-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.09);
}

.director-img-wrap {
  height: 320px;
  overflow: hidden;
  background: #e2e8f0;
}

.director-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s ease;
}

.director-card:hover .director-img {
  transform: scale(1.03);
}

.director-info {
  padding: 24px;
}

.director-header-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.director-name {
  font-size: 21px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}

.director-badge {
  font-size: 12px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 20px;
}

.director-badge.founder {
  color: #0284c7;
  background: rgba(2, 132, 199, 0.08);
}

.director-badge.cto {
  color: #1732ad;
  background: rgba(23, 50, 173, 0.08);
}

.director-bio {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
  margin-top: 12px;
  margin-bottom: 0;
}

/* Engineering Creed Grid */
.creed-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.creed-card {
  background: #f8fafc;
  border-radius: 16px;
  padding: 28px 24px;
  border: 1px solid #e2e8f0;
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.creed-card:hover {
  transform: translateY(-3px);
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
}

.creed-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.creed-title {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
}

.creed-desc {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

/* About CTA Section */
.about-cta-section {
  background: linear-gradient(135deg, #0a1428 0%, #1e3a8a 100%);
  color: #ffffff;
  padding: 65px 20px;
  text-align: center;
}

.about-cta-title {
  font-size: clamp(22px, 4vw, 30px);
  font-weight: 800;
  margin-bottom: 12px;
  color: #ffffff;
}

.about-cta-desc {
  font-size: 15.5px;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 26px;
  line-height: 1.6;
}

/* ==========================================================================
   Responsive Overrides for About Page
   ========================================================================== */

@media (max-width: 992px) {
  .about-story-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  /* In mobile: logo/visual on top, narrative text below */
  .about-story-visual {
    order: -1 !important;
    display: flex !important;
    justify-content: center !important;
    margin-bottom: 10px !important;
  }

  .about-story-text {
    order: 2 !important;
  }

  .about-story-img {
    max-width: 440px;
  }

  .compliance-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }

  .leadership-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }

  .creed-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .about-hero-section {
    padding: 70px 16px 45px !important;
  }

  .about-cta-section {
    padding: 50px 16px !important;
  }
}

@media (max-width: 768px) {
  .leadership-grid {
    grid-template-columns: 1fr !important;
    max-width: 420px;
    margin: 30px auto 0 !important;
  }

  .compliance-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .about-story-img {
    max-width: 100%;
    border-radius: 14px;
  }

  .director-img-wrap {
    height: 300px !important;
  }

  .director-info {
    padding: 20px 18px !important;
  }
}

@media (max-width: 480px) {
  .about-hero-section {
    padding: 55px 14px 35px !important;
  }

  .about-story-title {
    font-size: 22px !important;
    line-height: 1.3 !important;
  }

  .about-story-p {
    font-size: 14px !important;
    line-height: 1.65 !important;
  }

  .director-img-wrap {
    height: 250px !important;
  }

  .director-name {
    font-size: 19px !important;
  }
}
