/* ============================================================
   FOUNDER PAGE STYLES - Mosahel
============================================================ */
:root {
    --primary: #59358C;
    --secondary: #CC581F;
    --primary-dark: #43266b;
}

/* ── Hero ── */
.founder-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(142deg, #0b0c1a 0%, #14103a 55%, #1a0e2e 100%);
    padding: 130px 0 90px;
    overflow: hidden;
}

.hero-bg-grid {
    pointer-events: none;
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(89, 53, 140, .08) 1px, transparent 1px),
        linear-gradient(to left, rgba(89, 53, 140, .08) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 1;
}

.blob-1,
.blob-2 {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    z-index: 2;
    animation: blobFloat 18s ease-in-out infinite alternate;
}

.blob-1 {
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(89, 53, 140, .25) 0%, transparent 70%);
    top: -150px;
    right: -100px;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(204, 88, 31, .15) 0%, transparent 70%);
    bottom: -100px;
    left: 50px;
    animation-delay: -9s;
}

@keyframes blobFloat {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(30px, 40px) scale(1.08);
    }
}

.founder-grid {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 5rem;
    align-items: center;
}

/* content */
.founder-content {
    color: #fff;
    padding-top: 50px;
}

.name-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(89, 53, 140, .2);
    color: #c084fc;
    padding: 5px 14px;
    border-radius: 50px;
    font-weight: 700;
    font-size: .78rem;
    border: 1px solid rgba(192, 132, 252, .25);
    margin-bottom: 1rem;
}

.name-tag .dot-live {
    width: 8px;
    height: 8px;
    background: #a78bfa;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: .5;
        transform: scale(1.4);
    }
}

.founder-name {
    font-size: 2.4rem;
    font-weight: 900;
    margin-bottom: 0.6rem;
    line-height: 1.2;
    background: linear-gradient(120deg, #fff 30%, #94a3b8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.founder-role {
    font-size: 1.15rem;
    font-weight: 600;
    color: #c084fc;
    margin-bottom: 0.3rem;
}

.founder-position {
    font-size: .9rem;
    color: #64748b;
    margin-bottom: 1.4rem;
}

.founder-bio {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #94a3b8;
    margin-bottom: 2.5rem;
}

/* Stats */
.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 2.5rem;
}

.s-stat {
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 16px;
    padding: 20px 15px;
    text-align: center;
    transition: all .3s;
}

.s-stat:hover {
    background: rgba(89, 53, 140, .15);
    border-color: rgba(192, 132, 252, .3);
    transform: translateY(-5px);
}

.s-stat .s-num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--secondary);
    display: block;
}

.s-stat .s-plus {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--secondary);
}

.s-stat p {
    margin: 5px 0 0;
    font-size: .85rem;
    color: #64748b;
    line-height: 1.3;
}

/* Social */
.social-row {
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
    margin-bottom: 2.5rem;
    overflow-x: auto;
    padding-bottom: 10px;
}

.social-row::-webkit-scrollbar {
    height: 4px;
}

.social-row::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.founder-social {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(89, 53, 140, 0.2), rgba(89, 53, 140, 0.1)) !important;
    border: 1px solid rgba(204, 88, 31, 0.4) !important;
    color: #fff !important;
    text-decoration: none;
    font-size: .85rem;
    font-weight: 700;
    transition: all .4s ease;
    backdrop-filter: blur(5px);
    white-space: nowrap;
}

.founder-social i {
    font-size: 1.1rem;
    color: var(--secondary);
    transition: transform .4s ease;
}

.founder-social:hover {
    background: var(--primary);
    border-color: var(--secondary);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(89, 53, 140, 0.5);
}

.founder-social:hover i {
    color: #fff;
    transform: scale(1.2) rotate(10deg);
}

.founder-social span {
    color: rgba(255, 255, 255, 0.9);
}

.founder-social:hover span {
    color: #fff;
}

/* QR Button */
.qr-download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(204, 88, 31, 0.1);
    color: var(--secondary);
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all .4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1.5px solid var(--secondary);
    cursor: pointer;
    font-size: 0.85rem;
    margin-top: 20px;
    width: 100%;
}

.qr-download-btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 10px 20px rgba(204, 88, 31, 0.2);
    background: var(--secondary);
    color: #fff;
}

.qr-download-btn i {
    font-size: 1.1rem;
}

.header-actions-row {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 10px;
}

/* Image */
.founder-image-wrapper {
    position: relative;
    padding-bottom: 50px;
    max-width: 340px;
    margin-right: auto;
}

/* ── Rotating rings animation behind photo ── */
.photo-rings {
    position: absolute;
    inset: -35px;
    z-index: 0;
    pointer-events: none;
}

.ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid transparent;
}

.ring-1 {
    inset: 0;
    border-color: rgba(89, 53, 140, .55) rgba(89, 53, 140, .08) rgba(89, 53, 140, .08) rgba(89, 53, 140, .55);
    animation: spinRing 8s linear infinite;
}

.ring-2 {
    inset: 22px;
    border-color: rgba(204, 88, 31, .45) rgba(204, 88, 31, .08) rgba(204, 88, 31, .08) rgba(204, 88, 31, .45);
    animation: spinRing 13s linear infinite reverse;
}

.ring-3 {
    inset: 44px;
    border-color: rgba(192, 132, 252, .35) transparent transparent rgba(192, 132, 252, .35);
    animation: spinRing 20s linear infinite;
}

.ring-glow {
    position: absolute;
    inset: -20px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, rgba(89, 53, 140, .3) 0%, transparent 65%);
    animation: glowPulse 4s ease-in-out infinite alternate;
}

@keyframes spinRing {
    to {
        transform: rotate(360deg);
    }
}

@keyframes glowPulse {
    0% {
        opacity: .5;
        transform: scale(.93);
    }

    100% {
        opacity: 1;
        transform: scale(1.07);
    }
}

.founder-photo-frame {
    position: relative;
    z-index: 2;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(0, 0, 0, .55);
    border: 2px solid rgba(255, 255, 255, .08);
}

.founder-photo-frame img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform .8s ease;
}

.founder-photo-frame:hover img {
    transform: scale(1.04);
}

.photo-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(89, 53, 140, .4), transparent 50%);
    border-radius: 28px;
    pointer-events: none;
}

.exp-chip {
    position: absolute;
    top: 20px;
    left: -30px;
    background: linear-gradient(135deg, var(--secondary), #f97316);
    color: #fff;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 35px rgba(204, 88, 31, 0.4), inset 0 0 15px rgba(255, 255, 255, 0.3);
    text-align: center;
    z-index: 15;
    border: 3px solid #fff;
    animation: floatMedal 5s ease-in-out infinite;
}

@keyframes floatMedal {

    0%,
    100% {
        transform: translateY(0) rotate(5deg);
    }

    50% {
        transform: translateY(-15px) rotate(-5deg);
    }
}

.exp-chip .exp-num {
    font-size: 2.2rem;
    line-height: 1;
    font-weight: 900;
    margin-bottom: -2px;
    color: #ffffff;
}

.exp-chip .exp-plus {
    font-size: 1.2rem;
    position: absolute;
    top: 15px;
    right: 15px;
    font-weight: 900;
}

.exp-chip .exp-lbl {
    font-size: .65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    max-width: 60px;
    line-height: 1.2;
}

/* ── Skills ── */
.skills-section {
    background: #f8fafc;
    padding: 100px 0;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 60px;
}

.skill-card {
    background: #fff;
    border-radius: 20px;
    padding: 32px 28px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .05);
    border: 1px solid #edf2f7;
    transition: all .35s;
}

.skill-card:hover {
    box-shadow: 0 20px 40px rgba(89, 53, 140, .1);
    transform: translateY(-8px);
    border-color: rgba(89, 53, 140, .2);
}

.skill-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(89, 53, 140, .25);
}

.skill-card h4 {
    color: var(--primary-dark);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.skill-card p {
    color: #64748b;
    font-size: .95rem;
    line-height: 1.7;
    margin: 0;
}

/* ── Timeline ── */
.timeline-section {
    background: linear-gradient(160deg, #0f172a 0%, #1a103a 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.timeline-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(89, 53, 140, .06) 1px, transparent 1px),
        linear-gradient(to left, rgba(89, 53, 140, .06) 1px, transparent 1px);
    background-size: 50px 50px;
}

.timeline-title {
    color: #fff;
}

.timeline-title .text-gradient {
    color: var(--secondary);
}

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

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

.tl-item {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    margin-bottom: 50px;
    position: relative;
}

.tl-item:nth-child(even) {
    flex-direction: row-reverse;
}

.tl-year {
    flex: 1;
    text-align: left;
    padding-top: 10px;
}

.tl-item:nth-child(even) .tl-year {
    text-align: right;
}

.tl-year-num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--secondary);
    display: block;
}

.tl-dot {
    width: 20px;
    height: 20px;
    background: var(--primary);
    border: 3px solid var(--secondary);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 12px;
    box-shadow: 0 0 0 5px rgba(89, 53, 140, .2);
    position: relative;
    z-index: 2;
}

.tl-body {
    flex: 1;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 16px;
    padding: 24px;
    transition: all .3s;
}

.tl-body:hover {
    background: rgba(89, 53, 140, .12);
    border-color: rgba(192, 132, 252, .3);
}

.tl-body h4 {
    color: #e2e8f0;
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 8px;
}

.tl-body p {
    color: #64748b;
    font-size: .92rem;
    line-height: 1.65;
    margin: 0;
}

/* ── Bento Compact Modern Achievements ── */
.achievements-section {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 60px 0;
    position: relative;
}

.bento-achievements-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, rgba(89, 53, 140, 0.08), rgba(204, 88, 31, 0.08));
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 800;
    padding: 5px 18px;
    border-radius: 50px;
    margin-bottom: 10px;
    border: 1px solid rgba(89, 53, 140, 0.12);
}

.bento-achievements-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    margin-top: 32px;
}

.bento-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 22px 24px;
    box-shadow: 0 8px 25px rgba(89, 53, 140, 0.04), 0 0 0 1px rgba(89, 53, 140, 0.06);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    direction: rtl;
}

.bento-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--secondary), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.bento-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 35px rgba(89, 53, 140, 0.1), 0 0 0 1px rgba(89, 53, 140, 0.15);
}

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

/* Span 3 columns for top row */
.bento-col-3 {
    grid-column: span 3;
}

/* Span 2 columns for bottom row */
.bento-col-2 {
    grid-column: span 2;
}

.bento-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: right;
    z-index: 2;
}

.bento-subtitle {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 700;
    margin-bottom: 2px;
}

.bento-number-wrapper {
    display: flex;
    align-items: baseline;
    gap: 4px;
    direction: rtl;
    margin-bottom: 2px;
}

.bento-number {
    font-size: 2.1rem;
    font-weight: 900;
    color: var(--primary-dark);
    line-height: 1;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bento-plus {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--secondary);
}

.bento-desc {
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 3px;
    font-weight: 600;
    line-height: 1.4;
}

/* Graphic/Icon visuals */
.bento-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 2;
}

/* Bar Chart Visual */
.bars-visual {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 44px;
    padding: 6px 10px;
    background: rgba(241, 245, 249, 0.7);
    border-radius: 12px;
}

.bar-col {
    width: 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
}
.bar-col-1 { height: 55%; background: linear-gradient(180deg, #10b981, #059669); }
.bar-col-2 { height: 80%; background: linear-gradient(180deg, #3b82f6, #2563eb); }
.bar-col-3 { height: 100%; background: linear-gradient(180deg, #8b5cf6, #7c3aed); }
.bar-col-4 { height: 70%; background: linear-gradient(180deg, #f59e0b, #d97706); }

/* Avatars Stack Visual */
.avatars-visual-grid {
    display: flex;
    align-items: center;
}

.avatar-thumb {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    margin-right: -10px;
    transition: transform 0.25s ease;
}

.avatar-thumb:hover {
    transform: translateY(-3px) scale(1.12);
    z-index: 10 !important;
}

/* Country Tags */
.country-tags {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.country-tag {
    background: rgba(89, 53, 140, 0.05);
    color: var(--primary-dark);
    font-size: 0.72rem;
    font-weight: 800;
    padding: 2px 9px;
    border-radius: 50px;
    border: 1px solid rgba(89, 53, 140, 0.08);
    transition: all 0.25s ease;
}

.country-tag:hover {
    background: var(--primary);
    color: #ffffff;
}

/* Icon Circle */
.bento-icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.bento-card:hover .bento-icon-circle {
    transform: scale(1.08);
}

.bento-icon-circle.phone-green {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(16, 185, 129, 0.25);
}

.bento-icon-circle.gov-purple {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(89, 53, 140, 0.25);
}

.bento-icon-circle.exp-orange {
    background: linear-gradient(135deg, var(--secondary) 0%, #ea580c 100%);
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(204, 88, 31, 0.25);
}

/* Curve Line Visual */
.curve-line-svg {
    width: 80px;
    height: 38px;
}

@media (max-width: 991px) {
    .bento-achievements-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .bento-col-3, .bento-col-2 {
        grid-column: span 1;
    }
    .bento-card {
        flex-direction: row-reverse;
        align-items: center;
        padding: 18px 20px;
    }
}

/* ── Light & Simple CTA ── */
.founder-cta {
    background: #f8fafc;
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

.cta-glass-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 30px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.cta-glass-card h2 {
    color: var(--primary);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 15px;
}

.cta-glass-card p {
    color: #64748b;
    font-size: 1.15rem;
    max-width: 650px;
    margin: 0 auto 35px;
    line-height: 1.7;
}

.cta-btns-row {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-wa-cta {
    background: #25D366;
    color: #fff;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.2);
}

.btn-wa-cta:hover {
    transform: translateY(-3px);
    background: #20ba5a;
}

.btn-outline-cta {
    background: #fff;
    color: var(--primary);
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    border: 2px solid var(--primary);
    transition: all 0.3s;
}

.btn-outline-cta:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-3px);
}

.floating-icon-cta {
    display: none;
}

/* ── Responsive ── */
@media (max-width: 991px) {
    .founder-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3.5rem;
    }

    .founder-name {
        font-size: 2.8rem;
    }

    .founder-role {
        font-size: 1.4rem;
    }

    .social-row,
    .stats-row {
        justify-content: center;
    }

    .stats-row {
        grid-template-columns: repeat(3, 1fr);
    }

    .founder-image-wrapper {
        max-width: 420px;
        margin: 0 auto;
    }

    .timeline::before {
        right: 20px;
        transform: none;
    }

    .tl-item,
    .tl-item:nth-child(even) {
        flex-direction: column;
        padding-right: 50px;
    }

    .tl-year {
        text-align: right !important;
    }

    .tl-item:nth-child(even) .tl-year {
        text-align: right !important;
    }

    .tl-dot {
        position: absolute;
        right: 0;
        margin: 0;
    }

    .founder-cta h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .stats-row {
        grid-template-columns: 1fr 1fr;
    }

    .founder-social span {
        display: none;
    }

    .founder-social {
        padding: 10px 14px;
    }
}
