/* About Us Page Styles */

:root {
    --orange-primary: rgb(247, 157, 101);
    --orange-light: rgba(247, 157, 101, 0.2);
    --orange-dark: rgb(227, 137, 81);
    --purple-primary: #667eea;
    --purple-secondary: #764ba2;
}

.ss-about-wrapper {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(to bottom, #0a0e27 0%, #151933 50%, #0a0e27 100%);
    overflow-x: hidden;
}

/* Starry Background */
#starCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.cosmic-dust {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(10, 14, 39, 0.4) 100%);
    z-index: 2;
    pointer-events: none;
}

/* Content positioning */
.ss-about-wrapper > section {
    position: relative;
    z-index: 10;
}

/* Ensure footer appears above background */
footer {
    position: relative;
    z-index: 100;
}

/* Hero Section */
.about-hero {
    padding: 120px 0 80px;
    text-align: center;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.gradient-text {
    background: linear-gradient(135deg, var(--purple-primary) 0%, var(--orange-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #e2e8f0;
    margin-bottom: 1rem;
    font-weight: 300;
}

.hero-description {
    font-size: 1.125rem;
    color: #a0aec0;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Philosophy Section */
.philosophy-section {
    padding: 80px 0;
    background: rgba(0, 0, 0, 0.2);
}

.philosophy-intro {
    font-size: 1.25rem;
    color: #e2e8f0;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    line-height: 1.8;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.philosophy-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 40px;
    position: relative;
    transition: all 0.3s ease;
}

.philosophy-card:nth-child(2) {
    border-color: var(--orange-light);
}

.philosophy-card:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-5px);
}

.philosophy-card:nth-child(2):hover {
    box-shadow: 0 20px 40px rgba(247, 157, 101, 0.2);
}

.card-heading {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--purple-primary) 0%, var(--purple-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    display: inline-block;
}

.philosophy-card:nth-child(2) .card-heading {
    background: linear-gradient(135deg, var(--orange-primary) 0%, var(--orange-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Legacy card-number styles - kept for backward compatibility */
.card-number {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--purple-primary) 0%, var(--purple-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    display: inline-block;
}

.philosophy-card:nth-child(2) .card-number {
    background: linear-gradient(135deg, var(--orange-primary) 0%, var(--orange-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.philosophy-card p {
    color: #a0aec0;
    line-height: 1.7;
    font-size: 1.125rem;
}

/* Mission Section */
.mission-section {
    padding: 80px 0;
}

.mission-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.mission-content p {
    font-size: 1.125rem;
    color: #a0aec0;
    line-height: 1.8;
    margin-bottom: 24px;
}

/* Mission & Vision - Removed as it's replaced by Philosophy and Mission sections */

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.content-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
}

.content-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--purple-primary) 0%, var(--orange-primary) 100%);
    border-radius: 50%;
}

.card-icon svg {
    color: white;
}

.content-card h2 {
    font-size: 1.75rem;
    color: #fff;
    margin-bottom: 16px;
}

.content-card p {
    color: #a0aec0;
    line-height: 1.7;
}

/* Core Values */
.core-values {
    padding: 80px 0;
    background: rgba(0, 0, 0, 0.2);
}

.section-title {
    font-size: 2.5rem;
    color: #fff;
    text-align: center;
    margin-bottom: 60px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.value-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 32px;
    transition: all 0.3s ease;
}

.value-card:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-3px);
}

.value-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(102, 126, 234, 0.2);
    border-radius: 12px;
    margin-bottom: 20px;
}

.value-card:nth-child(2) .value-icon {
    background: var(--orange-light);
}

.value-icon svg {
    color: var(--purple-primary);
}

.value-card:nth-child(2) .value-icon svg {
    color: var(--orange-primary);
}

.value-card h3 {
    font-size: 1.375rem;
    color: #fff;
    margin-bottom: 12px;
}

.value-card p {
    color: #a0aec0;
    line-height: 1.7;
}

/* Unique Approach */
.unique-approach {
    padding: 80px 0;
}

.approach-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.approach-text {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(247, 157, 101, 0.1) 100%);
    border: 1px solid rgba(247, 157, 101, 0.3);
    border-radius: 16px;
    padding: 40px;
}

.approach-text p {
    font-size: 1.25rem;
    color: #e2e8f0;
    line-height: 1.8;
}

/* All in One Section */
.all-in-one {
    padding: 80px 0;
    background: rgba(0, 0, 0, 0.2);
}

.section-subtitle {
    font-size: 1.25rem;
    color: #a0aec0;
    text-align: center;
    margin-bottom: 40px;
}

.feature-content {
    max-width: 900px;
    margin: 0 auto;
}

.feature-text p {
    font-size: 1.125rem;
    color: #a0aec0;
    line-height: 1.8;
    margin-bottom: 24px;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
    padding: 50px 40px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    min-height: 150px;
    align-items: center;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1.3;
    background: linear-gradient(135deg, var(--purple-primary) 0%, var(--purple-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
    padding: 4px 0;
}

.stat:nth-child(2) .stat-number {
    background: linear-gradient(135deg, var(--orange-primary) 0%, var(--orange-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    display: block;
    font-size: 1rem;
    color: #a0aec0;
    line-height: 1.4;
}

/* Talent & Culture */
.talent-culture {
    padding: 80px 0;
}

.culture-content {
    max-width: 800px;
    margin: 0 auto;
}

.culture-content p {
    font-size: 1.125rem;
    color: #a0aec0;
    line-height: 1.8;
    margin-bottom: 24px;
}

.culture-content .footnote {
    font-size: 0.95rem;
    color: #718096;
    font-style: italic;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Timeline */
.company-timeline {
    padding: 80px 0;
    background: rgba(0, 0, 0, 0.2);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--purple-primary), var(--orange-primary));
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: 50%;
    padding-right: 40px;
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 50%;
    padding-left: 40px;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--purple-primary);
    border: 4px solid #0a0e27;
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-item:nth-child(even) .timeline-marker {
    background: var(--orange-primary);
}

.timeline-content h3 {
    font-size: 1.5rem;
    color: var(--purple-primary);
    margin-bottom: 8px;
}

.timeline-item:nth-child(even) .timeline-content h3 {
    color: var(--orange-primary);
}

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

/* Founders Photo End Section - Creative Design */
.founders-photo-end {
    padding: 100px 0 80px;
    position: relative;
    z-index: 10;
}

.photo-frame-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.photo-frame {
    position: relative;
    width: 500px;
    max-width: 100%;
    transform: rotate(-2deg);
    transition: transform 0.3s ease;
}

.photo-frame:hover {
    transform: rotate(0deg) scale(1.02);
}

.photo-frame .founders-photo {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 0 12px rgba(255, 255, 255, 0.05),
        0 0 0 24px rgba(102, 126, 234, 0.1),
        0 0 0 36px rgba(247, 157, 101, 0.05);
}

/* Decorative corner elements */
.frame-decoration {
    position: absolute;
    width: 60px;
    height: 60px;
    border: 3px solid var(--orange-primary);
}

.frame-decoration-1 {
    top: -20px;
    left: -20px;
    border-right: none;
    border-bottom: none;
    border-radius: 8px 0 0 0;
}

.frame-decoration-2 {
    bottom: -20px;
    right: -20px;
    border-left: none;
    border-top: none;
    border-radius: 0 0 8px 0;
}

.photo-text {
    flex: 1;
    max-width: 400px;
}

.photo-text h3 {
    font-size: 2rem;
    color: var(--orange-primary);
    margin-bottom: 16px;
    font-weight: 600;
}

.photo-text p {
    font-size: 1.125rem;
    color: #a0aec0;
    line-height: 1.6;
}

/* Team Section */
.team-section {
    padding: 80px 0;
}

/* Leadership Grid */
.leadership-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 80px;
    padding: 40px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(247, 157, 101, 0.05) 100%);
    border: 1px solid;
    border-image: linear-gradient(135deg, var(--purple-primary), var(--orange-primary)) 1;
    border-radius: 20px;
}

.leadership-member {
    text-align: center;
    position: relative;
}

.leader-image {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
    position: relative;
}

.leadership-member:nth-child(even) .leader-image {
    /* border-color: rgba(247, 157, 101, 0.3); */
}

.leadership-member:hover .leader-image {
    transform: scale(1.05);
    border-color: var(--purple-primary);
}

.leadership-member:nth-child(even):hover .leader-image {
    /* border-color: var(--orange-primary); */
}

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

/* CSS Mustache Styles */
.css-mustache {
    width: 13px;
    height: 13px;
    position: absolute;
    top: 27.5%;
    left: 37%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    color: var(--orange-primary);
    box-shadow:
        11px 18px 0 0 currentColor,
        22px 18px 0 0 currentColor;
    pointer-events: none;
    transition: transform 0.4s ease;
    z-index: 2;
}

.css-mustache::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 9px;
    width: 16px;
    height: 9px;
    border-bottom: solid 13px currentColor;
    border-radius: 0 0 0 100%;
    transform: rotate(-40deg);
    transform-origin: right 16px;
}

.css-mustache::after {
    content: "";
    position: absolute;
    left: 29px;
    top: 9px;
    width: 16px;
    height: 9px;
    border-bottom: solid 13px currentColor;
    border-radius: 0 0 100% 0;
    transform: rotate(40deg);
    transform-origin: left 16px;
}

.leader-image:hover .css-mustache {
    transform: translate(-50%, -50%) rotate(15deg) scale(1.1);
}

/* Hide unused mustache parts */
.mustache-left,
.mustache-center,
.mustache-right {
    display: none;
}

.leader-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
}

.leader-name {
    font-size: 1.25rem;
    color: var(--orange-primary);
    margin-bottom: 4px;
    font-weight: 600;
}

.leader-role {
    font-size: 0.95rem;
    color: var(--purple-primary);
    margin-bottom: 12px;
    font-weight: 500;
}

.leadership-member:nth-child(even) .leader-role {
    /* color: var(--orange-primary); */
}

.leader-bio {
    font-size: 0.875rem;
    color: #a0aec0;
    line-height: 1.5;
    margin-bottom: 16px;
}

.linkedin-link {
    display: inline-block;
    color: var(--orange-primary);
    transition: all 0.3s ease;
}

.linkedin-link:hover {
    color: var(--orange-dark);
    transform: translateY(-2px);
}

/* Subsection Title */
.subsection-title {
    font-size: 1.75rem;
    color: #fff;
    text-align: center;
    margin: 60px 0 40px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.team-member {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.team-member:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-5px);
}

.member-image {
    width: 100px;
    height: 100px;
    margin: 0 auto 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.member-initial {
    font-size: 2rem;
    font-weight: 700;
    color: white;
}

.member-name {
    font-size: 1.125rem;
    color: #fff;
    margin-bottom: 4px;
}

.member-role {
    font-size: 0.875rem;
    color: #667eea;
    margin-bottom: 12px;
}

.member-bio {
    font-size: 0.875rem;
    color: #a0aec0;
    line-height: 1.5;
}

/* Join Team */
.join-team {
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(247, 157, 101, 0.1) 100%);
    border-radius: 16px;
}

.join-team h3 {
    font-size: 1.75rem;
    color: #fff;
    margin-bottom: 12px;
}

.join-team p {
    color: #a0aec0;
    margin-bottom: 24px;
}

/* CTA Section */
.about-cta {
    padding: 100px 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.25rem;
    color: #a0aec0;
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--purple-primary) 0%, var(--orange-primary) 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(247, 157, 101, 0.3);
}

.btn-secondary {
    display: inline-block;
    padding: 14px 32px;
    background: transparent;
    color: var(--orange-primary);
    text-decoration: none;
    border: 2px solid var(--orange-primary);
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(247, 157, 101, 0.1);
    transform: translateY(-2px);
    border-color: var(--orange-dark);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .philosophy-grid {
        grid-template-columns: 1fr;
    }

    .photo-frame-wrapper {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .photo-frame {
        width: 90%;
        max-width: 400px;
    }

    .photo-text h3 {
        font-size: 1.5rem;
    }

    .frame-decoration {
        width: 40px;
        height: 40px;
    }

    .frame-decoration-1 {
        top: -15px;
        left: -15px;
    }

    .frame-decoration-2 {
        bottom: -15px;
        right: -15px;
    }

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

    .leader-image {
        width: 120px;
        height: 120px;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item .timeline-content {
        margin-left: 60px !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        text-align: left !important;
    }

    .timeline-marker {
        left: 20px;
    }

    .stats-row {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .leadership-grid {
        grid-template-columns: 1fr;
    }

    .leader-image {
        width: 100px;
        height: 100px;
    }

    .leader-name {
        font-size: 1.1rem;
    }

    .leader-role {
        font-size: 0.875rem;
    }
}