/* Main Content */
main {
    padding-top: 100px;
    padding-bottom: 80px;
}

/* Content Sections */
.content-section {
    margin-bottom: 80px;
    background: #ffffff;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.content-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(90, 62, 190, 0.01) 0%, rgba(110, 85, 210, 0.01) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.content-section:hover::before {
    opacity: 1;
}

.content-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(90, 62, 190, 0.1);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.about-section-subtitle {
    font-size: 1.2rem;
    color: #6e6e73;
    max-width: 600px;
    margin: 0 auto;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 40px;
    position: relative;
    z-index: 1;
}

.content-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    background: linear-gradient(135deg, #f8f7ff 0%, #e8e7ff 100%);
    border-radius: 15px;
    text-align: center;
    padding: 40px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.content-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(90, 62, 190, 0.05) 0%, rgba(110, 85, 210, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.content-visual:hover::before {
    opacity: 1;
}

.content-visual:hover {
    transform: scale(1.02);
}

.visual-content {
    position: relative;
    z-index: 1;
}

.visual-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #5A3EBE 0%, #6E55D2 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.content-visual:hover .visual-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 25px rgba(90, 62, 190, 0.3);
}

.visual-icon svg {
    width: 40px;
    height: 40px;
    color: white;
    stroke-width: 1.5;
}

/* Mission & Vision Cards */
.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 60px 0;
}

.mv-card {
    background: linear-gradient(135deg, #5A3EBE 0%, #6E55D2 100%);
    color: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.mv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s;
}

.mv-card:hover::before {
    left: 100%;
}

.mv-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(90, 62, 190, 0.3);
}

.mv-card h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    position: relative;
    z-index: 1;
}

.mv-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.mv-card:hover .mv-icon {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.3);
}

.mv-icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

.mv-card p {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

/* Values Section */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.value-card {
    background: #f8f7ff;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(90, 62, 190, 0.05) 0%, rgba(110, 85, 210, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.value-card:hover::before {
    opacity: 1;
}

.value-card:hover {
    border-color: #5A3EBE;
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(90, 62, 190, 0.15);
}

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #5A3EBE 0%, #6E55D2 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.value-card:hover .value-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 25px rgba(90, 62, 190, 0.3);
}

.value-icon svg {
    width: 40px;
    height: 40px;
    color: white;
    stroke-width: 1.5;
}

.value-card h4 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #1d1d1f;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.value-card:hover h4 {
    color: #5A3EBE;
}

.value-card p {
    color: #6e6e73;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* Future Vision */
.future-timeline {
    margin-top: 50px;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 40px;
    padding: 30px;
    background: #f8f7ff;
    border-radius: 15px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(90, 62, 190, 0.05) 0%, rgba(110, 85, 210, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.timeline-item:hover::before {
    opacity: 1;
}

.timeline-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 25px rgba(90, 62, 190, 0.1);
}

.timeline-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #5A3EBE 0%, #6E55D2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.timeline-item:hover .timeline-icon {
    transform: scale(1.15);
    box-shadow: 0 8px 20px rgba(90, 62, 190, 0.3);
}

.timeline-icon svg {
    width: 28px;
    height: 28px;
    stroke-width: 2;
}

.timeline-content {
    position: relative;
    z-index: 1;
}

.timeline-content h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #5A3EBE;
    transition: color 0.3s ease;
}

.timeline-item:hover .timeline-content h4 {
    color: #1d1d1f;
}

.timeline-content p {
    color: #6e6e73;
    line-height: 1.6;
}

/* Team Section */
.team-intro {
    text-align: center;
    background: linear-gradient(135deg, #1d1d1f 0%, #333 100%);
    color: white;
    padding: 50px;
    border-radius: 20px;
    margin-top: 60px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.team-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>') 0 0;
    background-size: 50px 50px;
    animation: float 20s infinite linear;
}

.team-intro:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.team-intro h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.team-intro p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* Call to Action */
.about-cta-section {
    background: linear-gradient(135deg, #5A3EBE 0%, #6E55D2 100%);
    color: white;
    padding: 60px;
    border-radius: 20px;
    text-align: center;
    margin-top: 80px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.about-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="25" cy="25" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1.5" fill="rgba(255,255,255,0.1)"/></svg>') 0 0;
    background-size: 80px 80px;
    animation: float 25s infinite linear;
}

.about-cta-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(90, 62, 190, 0.3);
}

.about-cta-section h3 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.about-cta-section p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

.app-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.about-app-button {
    display: inline-flex;
    align-items: center;
    padding: 15px 30px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
    min-width: 160px;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.about-app-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.about-app-button:hover::before {
    left: 100%;
}

.about-app-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}



/* Page header: fluid type and spacing */
.page-header{
  padding: clamp(48px, 10vw, 80px) 0;
  margin-bottom: clamp(40px, 8vw, 80px);
}
.page-header h1{
  font-size: clamp(2rem, 4.5vw + 1rem, 3.5rem);
}
.page-header p{
  font-size: clamp(1rem, 1.1vw + .85rem, 1.25rem);
  padding: 0 var(--screen-pad);
}

/* Generic section card */
.content-section{
  margin-bottom: clamp(36px, 8vw, 80px);
  padding: clamp(20px, 5vw, 50px);
}

/* 2-col → 1-col stack; reduce gap on small screens */
.content-grid{
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 5vw, 60px);
}
@media (max-width: 992px){
  .content-grid{ grid-template-columns: 1fr; }
}

/* Visual block: fluid height and padding */
.content-visual{
  min-height: auto;
  padding: clamp(20px, 5vw, 40px);
  border-radius: 16px;
}
.visual-icon{
  width: clamp(56px, 9vw, 80px);
  height: clamp(56px, 9vw, 80px);
}
.visual-icon svg{
  width: clamp(28px, 5vw, 40px);
  height: clamp(28px, 5vw, 40px);
}

/* Mission & Vision cards → single column on tablets/phones */
.mission-vision{
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 4vw, 40px);
  margin: clamp(30px, 6vw, 60px) 0;
}
@media (max-width: 992px){
  .mission-vision{ grid-template-columns: 1fr; }
}
.mv-card{
  padding: clamp(20px, 5vw, 40px);
  border-radius: 18px;
}
.mv-card h3{
  font-size: clamp(1.25rem, 2.4vw + .8rem, 2rem);
  gap: clamp(8px, 1.6vw, 15px);
}
.mv-icon{
  width: clamp(44px, 7vw, 60px);
  height: clamp(44px, 7vw, 60px);
}
.mv-icon svg{
  width: clamp(22px, 3.6vw, 32px);
  height: clamp(22px, 3.6vw, 32px);
}
.mv-card p{
  font-size: clamp(1rem, 1vw + .8rem, 1.1rem);
}

/* Values grid already uses auto-fit; just tighten spacing on phones */
.values-grid{
  gap: clamp(16px, 4vw, 30px);
  margin-top: clamp(24px, 6vw, 50px);
}
.value-card{
  padding: clamp(18px, 4.5vw, 30px);
  border-radius: 14px;
}
.value-icon{
  width: clamp(56px, 9vw, 80px);
  height: clamp(56px, 9vw, 80px);
}
.value-icon svg{
  width: clamp(26px, 4.8vw, 40px);
  height: clamp(26px, 4.8vw, 40px);
}

/* Timeline items: stack & align nicely on phones */
.timeline-item{
  gap: clamp(14px, 3.5vw, 30px);
  padding: clamp(18px, 4.5vw, 30px);
}
@media (max-width: 768px){
  .timeline-item{
    flex-direction: row;          /* keep icon left, text right */
    align-items: center;
  }
}
.timeline-icon{
  width: clamp(44px, 7vw, 60px);
  height: clamp(44px, 7vw, 60px);
  border-radius: 50%;
}
.timeline-icon svg{
  width: clamp(20px, 3.5vw, 28px);
  height: clamp(20px, 3.5vw, 28px);
}
.timeline-content h4{
  font-size: clamp(1.05rem, 1.6vw + .7rem, 1.3rem);
}

/* Team intro */
.team-intro{
  padding: clamp(28px, 6vw, 50px);
  border-radius: 18px;
}
.team-intro h3{
  font-size: clamp(1.4rem, 2.8vw + .8rem, 2rem);
}
.team-intro p{
  font-size: clamp(1rem, 1.1vw + .85rem, 1.2rem);
  padding: 0 var(--screen-pad);
}

/* CTA */
.about-cta-section{
  padding: clamp(28px, 6vw, 60px);
  border-radius: 18px;
  margin-top: clamp(40px, 8vw, 80px);
}
.about-cta-section h3{
  font-size: clamp(1.4rem, 3vw + .8rem, 2.2rem);
}
.about-cta-section p{
  font-size: clamp(1rem, 1.2vw + .85rem, 1.25rem);
  padding: 0 var(--screen-pad);
}
.about-cta-section .app-buttons{
  gap: clamp(10px, 2.8vw, 20px);
}

/* CTA buttons: bigger tap targets on phones */
.about-app-button{
  min-width: clamp(140px, 35vw, 200px);
  padding: clamp(12px, 2.8vw, 15px) clamp(16px, 4.5vw, 30px);
  font-size: clamp(.95rem, 1vw + .85rem, 1rem);
  border-radius: 12px;
}

/* Touch devices: soften hover transforms */
@media (hover: none){
  .content-section:hover,
  .content-visual:hover,
  .mv-card:hover,
  .value-card:hover,
  .timeline-item:hover,
  .team-intro:hover,
  .about-cta-section:hover{
    transform: none;
    box-shadow: 0 4px 20px rgba(0,0,0,.05);
  }
}

/* Reduced motion accessibility */
@media (prefers-reduced-motion: reduce){
  *{ animation: none !important; transition: none !important; }
}

/* Safety: prevent media overflow */
img, svg{ max-width: 100%; height: auto; }

/* Small performance tweak for heavy blurs on tiny phones */
@media (max-width: 480px){
  .about-cta-section{ backdrop-filter: none; -webkit-backdrop-filter: none; }
}