/* About page styles based on user's provided specification */
:root{
  --page-bg:#ffffff;
  /* base font family */
  --font-sans:-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  --hero-bg-start:#F9FAFB;
  --hero-bg-end:#ffffff;
  --badge-start:#1075CD;
  --badge-end:#0B4678;
  --title-color:#0B4678;
  --title-highlight:#1075CD;
  --subtitle-color:#4B5563;
  --body-color:#374151;
  --card-border:#F3F4F6;
  --icon-red:#FF0000;
}

body{
  font-family:var(--font-sans);
}

/* small utilities reused from tailwind */
.w-4{width:1rem;height:1rem;}
.w-6{width:1.5rem;height:1.5rem;}
.w-8{width:2rem;height:2rem;}
.w-10{width:2.5rem;height:2.5rem;}

/* utility reveal (optional) */
.reveal{opacity:0;transform:translateY(20px);transition:opacity 0.6s ease,transform 0.6s ease}
.reveal.in-view{opacity:1;transform:none}

.about-hero{position:relative;background:#fff;padding:40px 0 64px;overflow:hidden;margin-top:36px}
@media(min-width:640px){.about-hero{padding:80px 0 112px;margin-top:36px}}
.about-hero .bg-base{position:absolute;inset:0;background:linear-gradient(to bottom right,var(--hero-bg-start),var(--hero-bg-end));z-index:0}
.about-hero .glow-blue{position:absolute;top:0;right:0;width:500px;height:500px;border-radius:9999px;background:linear-gradient(to bottom right,rgba(16,117,205,0.1),transparent);filter:blur(96px);z-index:0}
.about-hero .glow-red{position:absolute;bottom:0;left:0;width:500px;height:500px;border-radius:9999px;background:linear-gradient(to top right,rgba(255,0,0,0.05),transparent);filter:blur(96px);z-index:0}

.container{max-width:80rem;margin:0 auto;padding:0 1rem}

/* ensure hero content stacks above the background layers */
.about-hero .container{position:relative;z-index:1}
@media(min-width:640px){.container{padding:0 1.5rem}}
@media(min-width:1024px){.container{padding:0 2rem}}

.hero-grid{display:grid;grid-template-columns:1fr;gap:3rem;align-items:center}
@media(min-width:1024px){.hero-grid{grid-template-columns:repeat(2,1fr)}}

.about-badge{display:inline-flex;align-items:center;gap:0.5rem;background:linear-gradient(to right,var(--badge-start),var(--badge-end));color:#fff;border-radius:9999px;padding:0.625rem 1.25rem;margin-bottom:1.5rem;box-shadow:0 10px 15px -3px rgba(0,0,0,0.1),0 4px 6px -2px rgba(0,0,0,0.05);font-weight:700;font-size:0.875rem;letter-spacing:0.025em;text-transform:uppercase;}
.about-badge svg{width:1rem;height:1rem}

.hero-title{font-weight:700;color:var(--title-color);line-height:1.1;margin-bottom:1.5rem}
.hero-title.small{font-size:36px}
@media(min-width:640px){.hero-title.small{font-size:48px}}
@media(min-width:1024px){.hero-title.small{font-size:60px}}

.hero-sub{font-size:1.25rem;color:var(--subtitle-color);margin-bottom:2rem;line-height:1.625}

.stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem}
.stat-card{text-align:center;background:#fff;border-radius:0.75rem;padding:1rem;box-shadow:0 10px 15px -3px rgba(0,0,0,0.1),0 4px 6px -2px rgba(0,0,0,0.05);border:1px solid var(--card-border)}
.stat-number{font-size:1.875rem;font-weight:700;margin-bottom:0.25rem}
.stat-label{font-size:0.75rem;color:var(--subtitle-color);font-weight:500}

.visual-box{position:relative}
.visual-glow-blue{position:absolute;top:-16px;right:-16px;width:18rem;height:18rem;border-radius:1.5rem;background:linear-gradient(to bottom right,rgba(16,117,205,0.2),rgba(11,70,120,0.2));filter:blur(64px)}
.visual-glow-red{position:absolute;bottom:-16px;left:-16px;width:18rem;height:18rem;border-radius:1.5rem;background:linear-gradient(to top left,rgba(255,0,0,0.1),transparent);filter:blur(64px)}
.visual-box .content-box{position:relative;background:linear-gradient(to bottom right,#0B4678,#1075CD,#0B4678);border-radius:1rem;padding:2rem;color:#fff;box-shadow:0 25px 50px -12px rgba(0,0,0,0.25);border:1px solid rgba(255,255,255,0.1)}
.content-box .feature{display:flex;align-items:flex-start;gap:1rem}
.icon-circle{width:3rem;height:3rem;background:rgba(255,255,255,0.1);backdrop-filter:blur(4px);border-radius:0.75rem;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.icon-circle svg{width:1.5rem;height:1.5rem;color:var(--icon-red);stroke:currentColor;fill:currentColor}
.feature h3{font-size:1.25rem;font-weight:700;margin-bottom:0.5rem;color:#fff}
.feature p{font-size:0.875rem;color:rgba(255,255,255,0.8);line-height:1.625}

/* Brand showcase & story */
.showcase img{width:100%;border-radius:1rem;box-shadow:0 25px 50px -12px rgba(0,0,0,0.25);border:2px solid var(--card-border);}

/* generous spacing only on larger screens */
@media(min-width:768px){
  .showcase .reveal{margin-bottom:4rem;}
}

/* utility for responsive images while keeping intrinsic dimensions */
.responsive-img{max-width:100%;height:auto;display:block;}

/* story-grid images should fill available width on small screens and scale down on larger viewports */
.story-grid img{width:100%;height:auto;display:block;padding:0 1rem;box-sizing:border-box;border-radius:1rem;}
@media(min-width:768px){
  .story-grid img{width:100%;height:auto;display:block;border-radius:1rem;}
}

.story-grid{display:grid;grid-template-columns:1fr;gap:2rem;align-items:center;margin-bottom:5rem}
@media(min-width:768px){
  .story-grid{grid-template-columns:repeat(2,1fr);gap:3rem;}
}
/* switch to two-column layout earlier to keep image from spanning entire screen too soon */
@media(min-width:768px){.story-grid{grid-template-columns:repeat(2,1fr);gap:4rem}}
.story-badge{display:inline-flex;align-items:center;gap:0.5rem;background:linear-gradient(to right,#E7F1FB,#D4E7F7);color:var(--title-color);border-radius:9999px;padding:0.5rem 1rem;margin-bottom:1.5rem;font-weight:700;font-size:0.875rem}
.story-title{font-size:1.875rem;font-weight:700;color:var(--title-color);margin-bottom:1.5rem}
.story p{font-size:1rem;color:var(--body-color);line-height:1.625}

/* Core values */
.values-section{background:linear-gradient(to bottom right,#F9FAFB,#ffffff);padding:4rem 0}
.values-grid{display:grid;grid-template-columns:1fr;gap:2rem}
@media(min-width:768px){.values-grid{grid-template-columns:repeat(3,1fr)}}
.value-card{background:#fff;border-radius:1rem;padding:2rem;box-shadow:0 10px 15px -3px rgba(0,0,0,0.1),0 4px 6px -2px rgba(0,0,0,0.05);border:2px solid var(--card-border);transition:all 300ms ease}
.value-card:hover{border-color:rgba(16,117,205,0.3);box-shadow:0 20px 25px -5px rgba(0,0,0,0.1)}
.value-icon{width:4rem;height:4rem;background:linear-gradient(to bottom right,#E7F1FB,#D4E7F7);border-radius:0.75rem;display:flex;align-items:center;justify-content:center;margin-bottom:1.5rem;transition:transform 300ms ease}
.value-card:hover .value-icon{transform:scale(1.1)}
.value-title{font-size:1.5rem;font-weight:700;color:var(--title-color);margin-bottom:1rem}
.value-desc{font-size:1rem;color:var(--body-color);line-height:1.625}

/* features grid */
.features-grid{display:grid;grid-template-columns:1fr;gap:1.5rem}
@media(min-width:640px){.features-grid{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1024px){.features-grid{grid-template-columns:repeat(4,1fr)}}
.feature-card{background:linear-gradient(to bottom right,#F9FAFB,#ffffff);padding:1.5rem;border-radius:0.75rem;border:2px solid var(--card-border);transition:all 300ms ease}
.feature-card:hover{border-color:rgba(16,117,205,0.3)}
.feature-emoji{font-size:2.25rem;margin-bottom:1rem}
.feature-card h3{font-size:1.125rem;font-weight:700;color:var(--title-color);margin-bottom:0.5rem}
.feature-card p{font-size:0.875rem;color:var(--body-color)}

/* add extra bottom space after features section to separate from next */
.features-section{margin-bottom:4rem}


/* Why choose section */
.choose-section{position:relative;color:#fff;padding:4rem 0;background:linear-gradient(to bottom right,#0B4678,#1075CD,#0B4678);overflow:hidden}
.choose-section .glow-red{position:absolute;top:0;right:0;width:24rem;height:24rem;border-radius:9999px;background:rgba(255,0,0,0.1);filter:blur(96px)}
.choose-section .glow-white{position:absolute;bottom:0;left:0;width:24rem;height:24rem;border-radius:9999px;background:rgba(255,255,255,0.05);filter:blur(96px)}
.choose-grid{display:grid;grid-template-columns:1fr;gap:1.5rem}
@media(min-width:640px){.choose-grid{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1024px){.choose-grid{grid-template-columns:repeat(3,1fr)}}
.reason-card{background:rgba(255,255,255,0.1);backdrop-filter:blur(4px);border-radius:0.75rem;padding:1.5rem;border:1px solid rgba(255,255,255,0.2);transition:all 300ms ease}
.reason-card:hover{background:rgba(255,255,255,0.15)}
.reason-card svg{width:2.5rem;height:2.5rem;color:var(--icon-red);margin-bottom:1rem}
.reason-card h3{font-size:1.125rem;font-weight:700;color:#fff;margin-bottom:0.5rem}
.reason-card p{font-size:0.875rem;color:rgba(255,255,255,0.8)}

/* Mission */
.mission-card{text-align:center;background:linear-gradient(to bottom right,#F9FAFB,#ffffff);border-radius:1rem;padding:2rem;margin:0 auto;border:2px solid var(--card-border)}
.mission-icon{width:4rem;height:4rem;background:linear-gradient(to bottom right,#1075CD,#0B4678);border-radius:9999px;display:flex;align-items:center;justify-content:center;margin:0 auto 1.5rem}
.mission-title{font-size:1.875rem;font-weight:700;color:var(--title-color);margin-bottom:1.5rem}
.mission-quote{font-size:1.125rem;color:var(--body-color);line-height:1.625;font-style:italic}
