/* SheSight Media exact design styling system */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700&family=Poppins:wght@500;600;700;800&display=swap');

:root {
  --background: #ffffff;
  --foreground: #2e2e2e;
  --primary: #f0414c; /* hsl(356 77% 58%) */
  --primary-rgb: 240, 65, 76;
  --secondary: #5e2f60; /* hsl(298 34% 28%) */
  --muted: #f5f5f5;
  --muted-foreground: #666666;
  --border: #e5e7eb;
  --cream: #fffaf5;
  
  --gradient-purple-red: linear-gradient(135deg, #f0414c 0%, #602e5f 100%);
  --gradient-subtle: linear-gradient(135deg, #fffaf5 0%, #fdf1f2 100%);
  
  --font-heading: 'Poppins', system-ui, sans-serif;
  --font-body: 'Open Sans', system-ui, sans-serif;
  
  --transition: all 0.3s ease-in-out;
  --radius: 0.75rem;
  --max-width: 1200px;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border-color: var(--border);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

/* Layout Utilities */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* Top bar style (Simple notification/date) */
.top-bar {
  border-bottom: 1px solid var(--border);
  padding: 0.8rem 0;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted-foreground);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.date-text i {
  color: var(--primary);
  margin-right: 0.3rem;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  color: #999999;
  font-size: 0.85rem;
}

.social-links a:hover {
  color: var(--primary);
}

/* Minimalist Header */
.main-header {
  padding: 2.2rem 0;
}

.main-header .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.header-logo {
  height: 48px;
  object-fit: contain;
}

.header-tagline {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--muted-foreground);
  text-transform: uppercase;
  margin-top: 0.4rem;
  font-weight: 500;
  display: block;
}

/* Hero Section */
.hero-gradient {
  background: var(--gradient-purple-red);
  color: #ffffff;
  padding: 6rem 0;
  text-align: center;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 1.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-subtitle {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
  font-family: var(--font-heading);
}

.hero-description {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Sections */
.section-py {
  padding: 5rem 0;
}

.bg-cream {
  background-color: var(--cream);
}

.bg-gradient-subtle {
  background: var(--gradient-subtle);
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 1.5rem;
  text-align: center;
}

.section-title span {
  color: var(--primary);
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--muted-foreground);
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem auto;
}

/* Custom Cards */
.card-base {
  background-color: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

/* Vision & Mission Split */
.vision-mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.vision-mission-card {
  padding: 3rem;
  border-width: 2px;
}

.vision-mission-card.vision {
  border-color: rgba(240, 65, 76, 0.15);
}

.vision-mission-card.vision:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 10px 25px -5px rgba(240, 65, 76, 0.15);
}

.vision-mission-card.mission {
  border-color: rgba(94, 47, 96, 0.15);
}

.vision-mission-card.mission:hover {
  border-color: var(--secondary);
  transform: translateY(-4px);
  box-shadow: 0 10px 25px -5px rgba(94, 47, 96, 0.15);
}

.card-heading {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.card-heading.vision-title {
  color: var(--primary);
}

.card-heading.mission-title {
  color: var(--secondary);
}

.card-body-text {
  font-size: 1.05rem;
  color: var(--muted-foreground);
  line-height: 1.75;
}

/* Guiding Principles Grid */
.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.principle-card {
  padding: 2rem;
  border-width: 2px;
}

.principle-card:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.1);
}

.principle-card-header {
  display: flex;
  align-items: start;
  gap: 1rem;
}

.principle-icon-wrap {
  padding: 0.75rem;
  border-radius: 8px;
  background-color: rgba(240, 65, 76, 0.08);
  color: var(--primary);
  flex-shrink: 0;
}

.principle-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.principle-desc {
  font-size: 0.88rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* Founder Block */
.founder-card {
  border-width: 2px;
  border-color: rgba(240, 65, 76, 0.15);
  overflow: hidden;
}

.founder-grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
}

.founder-image-col {
  background-color: var(--cream);
  min-height: 380px;
}

.founder-image-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.founder-content-col {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.founder-name {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 0.25rem;
}

.founder-role {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.founder-text-block {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: var(--muted-foreground);
  font-size: 0.95rem;
  line-height: 1.7;
}

.founder-highlight {
  font-weight: 600;
  color: var(--secondary);
}

/* Team Grid styling */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.team-card {
  padding: 2rem 1.5rem;
  border-width: 2px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.team-card:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08);
}

.team-avatar-wrap {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 1.2rem;
  border: 2px solid rgba(240, 65, 76, 0.15);
  background-color: rgba(240, 65, 76, 0.05);
}

.team-avatar-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 0.25rem;
}

.team-role {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.85rem;
}

/* Global Presence cards */
.offices-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.office-card {
  padding: 2rem 1.5rem;
  border-width: 1px;
}

.office-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  display: block;
}

.office-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 0.4rem;
}

.office-address {
  font-size: 0.85rem;
  color: var(--muted-foreground);
}

/* Contact box submittal form */
.contact-form-wrap {
  max-width: 520px;
  margin: 4rem auto 0 auto;
  text-align: center;
  background: var(--cream);
  border: 1px solid var(--border);
  padding: 2.5rem;
  border-radius: var(--radius);
}

.contact-form-wrap p {
  font-size: 0.88rem;
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

.newsletter-form {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
}

.newsletter-input {
  background-color: #ffffff;
  border: 1px solid var(--border);
  color: var(--foreground);
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  border-radius: 6px;
  font-family: var(--font-body);
  outline: none;
  transition: var(--transition);
  flex-grow: 1;
}

.newsletter-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 10px rgba(240, 65, 76, 0.15);
}

.newsletter-submit {
  background-color: var(--primary);
  color: #ffffff;
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  border: none;
  border-radius: 6px;
  padding: 0.75rem 1.8rem;
  font-size: 0.78rem;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.05em;
}

.newsletter-submit:hover {
  background-color: #d82e39;
  box-shadow: 0 0 15px rgba(240, 65, 76, 0.25);
}

/* Premium Footer */
.main-footer {
  border-top: 1px solid var(--border);
  background-color: var(--secondary);
  color: #e2e8f0;
  padding: 5rem 0 2.5rem 0;
  font-size: 0.85rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2.5rem;
}

.footer-logo {
  height: 48px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.footer-bio {
  max-width: 500px;
  line-height: 1.6;
  color: #cbd5e1;
}

.footer-legal-links {
  display: flex;
  gap: 2rem;
  margin-top: 0.5rem;
}

.footer-legal-link {
  color: #e2e8f0;
  font-weight: 500;
}

.footer-legal-link:hover {
  color: var(--primary);
}

.footer-copyright {
  font-size: 0.78rem;
  color: #94a3b8;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
  padding-top: 2rem;
  margin-top: 1rem;
}

/* ---------------------------------------------------- */
/* Legal Page Styling (Premium Clean Typography Stack)  */
/* ---------------------------------------------------- */
.legal-container {
  max-width: 800px;
  margin: 3rem auto 6rem auto;
  padding: 3.5rem 4rem;
}

.legal-header {
  margin-bottom: 3rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
  padding-bottom: 2rem;
}

.legal-title {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  color: var(--secondary);
  margin-bottom: 0.6rem;
  font-weight: 700;
}

.legal-update-date {
  font-size: 0.85rem;
  color: var(--muted-foreground);
  font-style: italic;
}

.legal-toc {
  background-color: var(--cream);
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  padding: 1.5rem 2rem;
  border-radius: 8px;
  margin-bottom: 3rem;
}

.legal-toc-title {
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
  color: var(--secondary);
  letter-spacing: 0.05em;
}

.legal-toc ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.legal-toc a {
  font-size: 0.88rem;
  color: var(--muted-foreground);
  font-weight: 500;
}

.legal-toc a:hover {
  color: var(--primary);
  text-decoration: none;
  padding-left: 0.2rem;
}

.legal-content h2 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--secondary);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.4rem;
}

.legal-content p {
  margin-bottom: 1.4rem;
  color: var(--muted-foreground);
  line-height: 1.75;
  font-size: 0.95rem;
}

.legal-content ul, .legal-content ol {
  margin-left: 1.5rem;
  margin-bottom: 1.8rem;
  color: var(--muted-foreground);
  font-size: 0.95rem;
}

.legal-content li {
  margin-bottom: 0.6rem;
}

.legal-content strong {
  color: var(--secondary);
}

/* Back Link helper for Legal pages */
.back-link-container {
  width: 100%;
  margin-bottom: 2rem;
}

.back-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted-foreground);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.back-link:hover {
  color: var(--primary);
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .principles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .offices-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  .top-bar-left {
    display: none;
  }
  .main-header {
    padding: 1.5rem 0;
  }
  .header-logo {
    height: 40px;
  }
  .hero-gradient {
    padding: 4rem 0;
  }
  .hero-title {
    font-size: 2.4rem;
  }
  .hero-subtitle {
    font-size: 1.4rem;
  }
  .vision-mission-grid, .principles-grid, .team-grid, .offices-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .founder-grid {
    grid-template-columns: 1fr;
  }
  .founder-image-col {
    min-height: 280px;
  }
  .founder-content-col {
    padding: 2rem;
  }
  .legal-container {
    padding: 2rem 1.5rem;
  }
  .legal-title {
    font-size: 2rem;
  }
  .newsletter-form {
    flex-direction: column;
    width: 100%;
  }
}
