/**
 * Founders First - Page-Specific Styles
 * Placeholders for page-specific layout, section customizations, and unique page components.
 */

/* ==========================================================================
   Home Page (index.html)
   ========================================================================== */
/* .page-home {} */

/* ==========================================================================
   About Page (about.html)
   ========================================================================== */
.page-about .about-grid-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  margin-bottom: 4.5rem;
}

@media (max-width: 992px) {
  .page-about .about-grid-two {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
    margin-bottom: 3rem !important;
  }
}

@media (max-width: 768px) {
  .page-about .hero-section {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }

  .page-about .about-story-section {
    padding: 2.5rem 0 1rem 0 !important;
  }

  .page-about .trust-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    margin-bottom: 2.5rem !important;
  }

  .page-about .trust-card {
    padding: 1.5rem 1.25rem !important;
  }

  .page-about .quote-box-wrapper {
    margin: 2rem auto 0 auto !important;
  }

  .page-about .quote-box-card {
    padding: 1.75rem 1.25rem 1.5rem 1.25rem !important;
    border-radius: 12px !important;
  }

  .page-about .quote-icon-badge {
    top: -20px !important;
    left: 20px !important;
    padding: 2px 10px !important;
  }

  .page-about .quote-icon-badge span {
    font-size: 32px !important;
  }

  .page-about .quote-box-card p {
    font-size: 1.05rem !important;
    line-height: 1.6 !important;
  }

  .page-about .faq-cta-design-section {
    padding-top: 1.5rem !important;
    padding-bottom: 2.5rem !important;
  }

  .page-about .cta-red-card-box {
    padding: 2rem 1.25rem !important;
    border-radius: 16px !important;
  }

  .page-about #about-lead-form button[type="submit"],
  .page-about #about-lead-form a.btn {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
  }
}

@media (max-width: 480px) {
  .page-about .hero-title-main {
    font-size: 1.85rem !important;
  }

  .page-about .hero-subtitle {
    font-size: 1rem !important;
  }

  .page-about .section-title-main {
    font-size: 1.6rem !important;
  }
}

/* ==========================================================================
   Registration Pages (private-limited, llp, opc, company)
   ========================================================================== */
/* .page-private-limited {} */
/* .page-llp {} */
/* .page-opc {} */
/* .page-company {} */

/* ==========================================================================
   Trademark Pages (trademark-registration, trademark-compliance)
   ========================================================================== */
/* .page-trademark-registration {} */
/* .page-trademark-compliance {} */

/* ==========================================================================
   Company Compliance (company-compliance.html)
   ========================================================================== */
/* .page-company-compliance {} */

/* ==========================================================================
   Legal & Policy Pages (privacy-policy, terms-and-conditions, cancellation-policy)
   ========================================================================== */
.page-legal {
  background-color: #F8F9FA;
}

/* Hero Banner */
.legal-hero-section {
  position: relative;
  background: linear-gradient(135deg, #161922 0%, #1D2230 50%, #2A1C24 100%);
  color: #FFFFFF;
  padding: 4.5rem 0 4rem 0;
  overflow: hidden;
}

.legal-hero-section::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(224, 36, 25, 0.18) 0%, rgba(224, 36, 25, 0) 70%);
  pointer-events: none;
}

.legal-hero-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.12) 0%, rgba(59, 130, 246, 0) 70%);
  pointer-events: none;
}

.legal-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(224, 36, 25, 0.15);
  border: 1px solid rgba(224, 36, 25, 0.3);
  border-radius: 9999px;
  color: #FF6B6B;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.legal-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.legal-hero-subtitle {
  font-size: 1.05rem;
  color: #9CA3AF;
  max-width: 650px;
  margin: 0 auto 1.75rem auto;
  line-height: 1.6;
}

.legal-hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.875rem;
  color: #D1D5DB;
}

.legal-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.35rem 0.85rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-meta-item svg {
  width: 16px;
  height: 16px;
  fill: #E02419;
}

/* Trust Highlights Grid */
.legal-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: -2.25rem;
  margin-bottom: 3.5rem;
  position: relative;
  z-index: 10;
}

.trust-pillar-card {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 14px;
  padding: 1.25rem 1.25rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.trust-pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(224, 36, 25, 0.08);
  border-color: rgba(224, 36, 25, 0.3);
}

.trust-pillar-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 10px;
  background: #FFF5F3;
  color: #E02419;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-pillar-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.trust-pillar-text h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.2rem;
}

.trust-pillar-text p {
  font-size: 0.8rem;
  color: #6B7280;
  line-height: 1.4;
  margin: 0;
}

/* Two-Column Layout */
.legal-layout-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2.5rem;
  align-items: start;
  margin-bottom: 5rem;
}

/* Sidebar Navigation */
.legal-sidebar {
  position: sticky;
  top: 100px;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.sidebar-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #F3F4F6;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.toc-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.toc-nav-item a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #4B5563;
  text-decoration: none;
  transition: all 0.2s ease;
}

.toc-nav-item a:hover {
  background: #FFF5F3;
  color: #E02419;
}

.toc-nav-item a.active {
  background: #E02419;
  color: #FFFFFF;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(224, 36, 25, 0.25);
}

.toc-num-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.06);
  min-width: 24px;
  text-align: center;
}

.toc-nav-item a.active .toc-num-badge {
  background: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
}

.sidebar-cta-card {
  margin-top: 1.5rem;
  padding: 1.15rem;
  background: linear-gradient(135deg, #161922 0%, #222634 100%);
  border-radius: 12px;
  color: #FFFFFF;
  text-align: center;
}

.sidebar-cta-card h5 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.sidebar-cta-card p {
  font-size: 0.78rem;
  color: #9CA3AF;
  margin-bottom: 0.85rem;
  line-height: 1.4;
}

.sidebar-cta-btn {
  display: inline-block;
  width: 100%;
  padding: 0.55rem;
  background: #E02419;
  color: #FFFFFF !important;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 6px;
  text-align: center;
  text-decoration: none;
  transition: background 0.2s ease;
}

.sidebar-cta-btn:hover {
  background: #C51F15;
}

/* Main Content Area */
.legal-content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.policy-section-card {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  padding: 2.25rem 2.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  scroll-margin-top: 100px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.policy-section-card:hover {
  border-color: #D1D5DB;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
}

.section-header-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #F3F4F6;
}

.section-num-pill {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: #FFF5F3;
  color: #E02419;
  border: 1px solid rgba(224, 36, 25, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
}

.section-header-row h2 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: #111827;
  margin: 0;
}

.policy-section-card p {
  font-size: 0.975rem;
  line-height: 1.75;
  color: #4B5563;
  margin-bottom: 1.25rem;
}

.policy-section-card p:last-child {
  margin-bottom: 0;
}

/* Feature & List Styling */
.policy-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin: 1.25rem 0;
}

.policy-feature-box {
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 1.25rem;
}

.policy-feature-box h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.policy-feature-box h3 svg {
  width: 20px;
  height: 20px;
  fill: #E02419;
}

.custom-bullet-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.custom-bullet-list li {
  position: relative;
  padding-left: 1.75rem;
  font-size: 0.95rem;
  color: #4B5563;
  line-height: 1.6;
}

.custom-bullet-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.3rem;
  width: 18px;
  height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23E02419'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

/* Callout Box */
.policy-alert-box {
  background: #FFF5F3;
  border-left: 4px solid #E02419;
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.policy-alert-icon {
  color: #E02419;
  width: 24px;
  height: 24px;
  min-width: 24px;
  margin-top: 0.15rem;
}

.policy-alert-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.policy-alert-content h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: #991B1B;
  margin-bottom: 0.25rem;
}

.policy-alert-content p {
  font-size: 0.925rem;
  color: #7F1D1D;
  margin: 0;
  line-height: 1.5;
}

/* Rights Cards Grid */
.rights-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.right-card {
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 1.25rem;
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.right-card:hover {
  transform: translateY(-3px);
  background: #FFFFFF;
  border-color: rgba(224, 36, 25, 0.3);
}

.right-card-icon {
  width: 42px;
  height: 42px;
  margin: 0 auto 0.85rem auto;
  border-radius: 50%;
  background: #FFF5F3;
  color: #E02419;
  display: flex;
  align-items: center;
  justify-content: center;
}

.right-card-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.right-card h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.35rem;
}

.right-card p {
  font-size: 0.825rem;
  color: #6B7280;
  margin: 0;
  line-height: 1.45;
}

/* Contact Executive Card */
.policy-contact-card {
  background: linear-gradient(135deg, #161922 0%, #222634 100%);
  border-radius: 16px;
  padding: 2.5rem;
  color: #FFFFFF;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.policy-contact-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 0.5rem;
}

.policy-contact-card p {
  color: #9CA3AF;
  margin-bottom: 2rem;
}

.contact-details-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.contact-detail-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.contact-detail-box:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(224, 36, 25, 0.5);
}

.contact-detail-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(224, 36, 25, 0.2);
  color: #FF6B6B;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-detail-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.contact-detail-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #9CA3AF;
  font-weight: 600;
}

.contact-detail-val {
  font-size: 0.9rem;
  color: #FFFFFF;
  font-weight: 500;
  line-height: 1.4;
  word-break: break-word;
}

.contact-detail-val a {
  color: #FFFFFF;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-detail-val a:hover {
  color: #FF6B6B;
}

/* Responsive Rules for Legal Page */
@media (max-width: 1024px) {
  .legal-trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .legal-layout-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .legal-sidebar {
    position: relative;
    top: 0;
  }

  .toc-nav-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }

  .rights-cards-grid,
  .contact-details-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .legal-trust-grid {
    grid-template-columns: 1fr;
  }

  .toc-nav-list {
    grid-template-columns: 1fr;
  }

  .policy-section-card {
    padding: 1.5rem;
  }

  .policy-contact-card {
    padding: 1.5rem;
  }
}


/* ==========================================================================
   Thank You Page (thank-you.html)
   ========================================================================== */
.page-thank-you {
  background-color: #F8F9FA;
}

.thank-you-section {
  padding: 4rem 0 5rem 0;
}

.thank-you-card-wrapper {
  max-width: 820px;
  margin: 0 auto;
}

/* Success Header Card */
.thank-you-main-card {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 20px;
  padding: 3rem 2.5rem;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.05);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.thank-you-main-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #E02419 0%, #FF6B6B 50%, #E02419 100%);
}

.success-badge-circle {
  width: 76px;
  height: 76px;
  margin: 0 auto 1.5rem auto;
  border-radius: 50%;
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
  animation: pulseSuccess 2s infinite ease-in-out;
}

@keyframes pulseSuccess {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 14px rgba(16, 185, 129, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.success-badge-circle svg {
  width: 40px;
  height: 40px;
  fill: currentColor;
}

.thank-you-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: #111827;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.thank-you-subtitle {
  font-size: 1.05rem;
  color: #6B7280;
  max-width: 620px;
  margin: 0 auto 2.25rem auto;
  line-height: 1.6;
}

/* Submitted Details Summary Ticket Box */
.lead-details-summary-box {
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  padding: 1.75rem 2rem;
  margin-bottom: 2.5rem;
  text-align: left;
}

.summary-box-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
  border-bottom: 1.5px dashed #E5E7EB;
}

.summary-box-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.summary-box-title svg {
  width: 18px;
  height: 18px;
  fill: #E02419;
}

.summary-ref-pill {
  font-size: 0.75rem;
  font-weight: 700;
  color: #E02419;
  background: #FFF5F3;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  border: 1px solid rgba(224, 36, 25, 0.2);
  letter-spacing: 0.05em;
}

.summary-details-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.summary-detail-item {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.summary-detail-item:hover {
  transform: translateY(-2px);
  border-color: rgba(224, 36, 25, 0.3);
}

.detail-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6B7280;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.detail-label svg {
  width: 15px;
  height: 15px;
  fill: #E02419;
}

.detail-val {
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
  word-break: break-word;
}

/* Next Steps Steps Cards */
.next-steps-section {
  margin-bottom: 2.5rem;
  text-align: left;
}

.next-steps-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1.25rem;
  text-align: center;
}

.next-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.step-card {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 1.25rem 1rem;
  text-align: center;
  position: relative;
}

.step-num-circle {
  width: 28px;
  height: 28px;
  margin: 0 auto 0.75rem auto;
  border-radius: 50%;
  background: #FFF5F3;
  color: #E02419;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(224, 36, 25, 0.2);
}

.step-card h4 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.35rem;
}

.step-card p {
  font-size: 0.78rem;
  color: #6B7280;
  margin: 0;
  line-height: 1.45;
}

/* Action Buttons Row */
.thank-you-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* Responsive Rules for Thank You Page */
@media (max-width: 768px) {
  .summary-details-grid {
    grid-template-columns: 1fr;
  }

  .next-steps-grid {
    grid-template-columns: 1fr;
  }

  .thank-you-main-card {
    padding: 2rem 1.25rem;
  }

  .lead-details-summary-box {
    padding: 1.25rem 1rem;
  }
}

