/* About Page Specific Styles */

:root {
    --primary: #4361ee;
    --secondary: #f8961e;
    --white: #fff;
    --dark: #212529;
    --light: #f8f9fa;
    --gray: #6c757d;
}

/* Reset body padding for fixed header */
body {
    padding-top: 70px;
}

@media (max-width: 768px) {
    body {
        padding-top: 60px;
    }
}

/* ===== ABOUT HERO SECTION ===== */
.about-hero {
    position: relative;
    padding: 80px 0;
    color: white;
    overflow: hidden;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.7), rgba(248, 150, 30, 0.7));
    z-index: -1;
}

.about-hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.about-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.about-hero .lead {
    font-size: 1.25rem;
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    max-width: 600px;
}

.hero-cta {
    margin-top: 30px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-visual img {
    max-width: 450px;
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* ===== MISSION/VISION SECTION ===== */
.mission-section {
    padding: 80px 0;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.mission-item {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.mission-item:hover {
    transform: translateY(-5px);
}

.mission-item h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.5rem;
    font-weight: 700;
}

.mission-item p {
    color: var(--gray);
    line-height: 1.6;
}

.mission-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mission-item li {
    padding: 8px 0;
    color: var(--gray);
    position: relative;
    padding-left: 25px;
}

.mission-item li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
}

/* ===== STATS SECTION ===== */
.stats-section {
    background: linear-gradient(180deg, #fff 0%, #f7f9ff 100%);
    padding: 60px 0;
}

.stats-grid {
    display: flex;
    gap: 30px;
    justify-content: space-between;
    text-align: center;
    flex-wrap: wrap;
}

.stat {
    flex: 1;
    min-width: 200px;
}

.stat h2 {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 10px;
    font-weight: 800;
}

.stat p {
    color: var(--gray);
    font-size: 1.1rem;
    font-weight: 600;
}

/* ===== STORY/TIMELINE SECTION ===== */
.story-section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 15px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.timeline {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.timeline-item {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    background: var(--white);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.timeline-item:hover {
    transform: translateX(10px);
}

.time-year {
    background: var(--primary);
    color: white;
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: 700;
    min-width: 100px;
    text-align: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.time-body h4 {
    margin: 0 0 10px 0;
    color: var(--dark);
    font-size: 1.3rem;
}

.time-body p {
    color: var(--gray);
    line-height: 1.6;
    margin: 0;
}

/* ===== TEAM SECTION ===== */
.team-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

/* Enhanced Dope Founder Card */
.founder-rect-card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.05) 100%);
    border-radius: 32px;
    box-shadow: 
        0 20px 60px rgba(67,97,238,0.15),
        0 8px 32px rgba(248,150,30,0.1),
        inset 0 1px 0 rgba(255,255,255,0.4);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    max-width: 1000px;
    margin: 0 auto 48px auto;
    min-height: 380px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(20px) saturate(180%);
}

/* Glow effect */
.founder-rect-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, 
        rgba(67,97,238,0.1) 0%, 
        rgba(248,150,30,0.05) 100%);
    border-radius: inherit;
    z-index: -1;
    transition: opacity 0.4s ease;
}

.founder-rect-card:hover {
    transform: translateY(-12px) scale(1.015);
    box-shadow: 
        0 32px 80px rgba(67,97,238,0.22),
        0 12px 48px rgba(248,150,30,0.15),
        inset 0 1px 0 rgba(255,255,255,0.6);
}

/* Border gradient animation on hover */
.founder-rect-card::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, 
        #4361ee 0%, 
        #7209b7 25%, 
        #f8961e 50%, 
        #4361ee 75%, 
        #7209b7 100%);
    background-size: 400% 400%;
    border-radius: inherit;
    z-index: -2;
    animation: gradientShift 8s ease infinite;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.founder-rect-card:hover::after {
    opacity: 1;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Image Section */
.founder-rect-img {
    flex: 0 0 380px;
    position: relative;
    overflow: hidden;
    border-radius: 24px 0 0 24px;
    margin: 12px 0 12px 12px;
}

.founder-rect-img::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, 
        rgba(67,97,238,0.2) 0%, 
        rgba(248,150,30,0.1) 100%);
    z-index: 1;
    mix-blend-mode: overlay;
}

.founder-rect-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, 
        transparent 60%, 
        rgba(0,0,0,0.1) 100%);
    z-index: 1;
}

.founder-rect-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 380px;
    border-radius: inherit;
    transform: scale(1.05);
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(1.05) contrast(1.1);
}

.founder-rect-card:hover .founder-rect-img img {
    transform: scale(1.08);
}

/* Floating Badge on Image */
.founder-img-badge {
    position: absolute;
    top: 24px;
    left: 24px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    color: #4361ee;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    z-index: 2;
    border: 2px solid rgba(255,255,255,0.8);
    transform: translateY(0);
    transition: all 0.3s ease;
}

.founder-rect-card:hover .founder-img-badge {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.2);
}

/* Content Section */
.founder-rect-content {
    flex: 1 1 0%;
    padding: 48px 48px 40px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(to right, 
        rgba(255,255,255,0.95) 0%,
        rgba(255,255,255,0.85) 100%);
    border-radius: 0 24px 24px 0;
    margin: 12px 12px 12px 0;
}

/* Title Badge */
.founder-rect-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(90deg, #4361ee 0%, #7209b7 100%);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 10px 26px 10px 22px;
    border-radius: 50px;
    box-shadow: 0 8px 24px rgba(67,97,238,0.25);
    letter-spacing: 1.5px;
    border: 3px solid rgba(255,255,255,0.8);
    margin-bottom: 24px;
    align-self: flex-start;
    transition: all 0.3s ease;
}

.founder-rect-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(67,97,238,0.35);
}

.founder-rect-badge i {
    font-size: 1.2em;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

/* Name */
.founder-rect-content h4 {
    font-size: 2.4rem;
    font-weight: 900;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #4361ee 0%, #f8961e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    position: relative;
    display: inline-block;
}

.founder-rect-content h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #4361ee 0%, #f8961e 100%);
    border-radius: 2px;
}

/* Role */
.founder-rect-content .team-role {
    font-size: 1.2rem;
    color: #4361ee;
    font-weight: 700;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 8px 0;
    position: relative;
    display: inline-block;
}

.team-role::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 2px;
    background: #f8961e;
    opacity: 0.7;
}

/* Quote */
.founder-rect-quote {
    font-size: 1.22rem;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, 
        rgba(248, 249, 250, 0.95) 0%,
        rgba(255, 255, 255, 0.9) 100%);
    border-left: 5px solid #f8961e;
    padding: 20px 24px;
    margin: 20px 0;
    border-radius: 0 20px 20px 0;
    font-style: italic;
    box-shadow: 
        0 8px 32px rgba(67,97,238,0.1),
        inset 0 1px 0 rgba(255,255,255,0.8);
    position: relative;
    overflow: hidden;
}

.founder-rect-quote::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 10px;
    font-size: 120px;
    color: rgba(67,97,238,0.05);
    font-family: serif;
    line-height: 1;
}

.founder-rect-quote i:first-child {
    color: #4361ee;
    margin-right: 12px;
    font-size: 1.4em;
}

.founder-rect-quote i:last-child {
    color: #f8961e;
    margin-left: 12px;
    font-size: 1.4em;
}

/* Bio */
.team-bio {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
    margin-top: 20px;
    padding: 16px 0;
    border-top: 2px dashed rgba(67,97,238,0.15);
}

/* Social Icons */
.founder-social {
    display: flex;
    gap: 16px;
    margin-top: 28px;
}

.founder-social a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(67,97,238,0.1);
    border-radius: 50%;
    color: #4361ee;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.founder-social a:hover {
    background: #4361ee;
    color: white;
    transform: translateY(-4px) rotate(8deg);
    box-shadow: 0 8px 24px rgba(67,97,238,0.3);
    border-color: white;
}

/* ===== TESTIMONIALS SECTION ===== */
.about-testimonials {
    padding: 80px 0;
}

.testimonials-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 15px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.testimonial-inner {
    padding: 25px;
}

.video-thumb-wrap {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}

.testimonial-video-thumb {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.0), rgba(0,0,0,0.3));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 34px;
    opacity: 0.95;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.video-thumb-wrap:hover .play-overlay {
    transform: scale(1.02);
    opacity: 1;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 0 15px 0;
    color: #222;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    position: relative;
}

.testimonial-text::before {
    content: '“';
    position: absolute;
    left: 15px;
    top: 10px;
    font-size: 44px;
    color: rgba(67,97,238,0.12);
    font-family: Georgia, 'Times New Roman', Times, serif;
}

.testimonial-text p {
    margin: 0;
}

.testimonial-meta {
    margin-top: 15px;
}

.testimonial-name {
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 5px;
}

.testimonial-role {
    color: var(--gray);
    font-size: 0.9rem;
}

/* ===== PARTNERS SECTION ===== */
.partners {
    padding: 60px 0;
}

.partners h3 {
    text-align: center;
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 40px;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    align-items: center;
    justify-items: center;
}

.partners-grid img {
    height: 80px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    opacity: 0.8;
    transition: opacity 0.3s ease, transform 0.3s ease;
    filter: grayscale(100%);
}

.partners-grid img:hover {
    opacity: 1;
    transform: scale(1.05);
    filter: grayscale(0%);
}

/* ===== CTA SECTION ===== */
.cta-container {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    margin: 80px 0;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.7), rgba(248, 150, 30, 0.7));
    z-index: -1;
}

.cta {
    color: white;
    padding: 60px 20px;
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.cta h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    font-weight: 800;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.cta p {
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    opacity: 0.95;
    line-height: 1.6;
}

.btn-light {
    background: white !important;
    color: var(--primary) !important;
    padding: 15px 40px !important;
    font-weight: 700;
    border-radius: 8px !important;
    display: inline-block;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.btn-light:hover {
    background: #f0f0f0 !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet */
@media (max-width: 992px) {
    .about-hero-inner {
        flex-direction: column-reverse;
        text-align: center;
        gap: 40px;
    }
    
    .mission-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .stats-grid {
        gap: 20px;
    }
    
    .founder-rect-card {
        max-width: 90%;
        min-height: 340px;
    }
    
    .founder-rect-img {
        flex: 0 0 340px;
    }
    
    .founder-rect-img img {
        min-height: 340px;
    }
    
    .founder-rect-content {
        padding: 36px 36px 32px 36px;
    }
    
    .founder-rect-content h4 {
        font-size: 2.1rem;
    }
    
    .about-hero h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta h2 {
        font-size: 2.2rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .about-hero {
        padding: 60px 0;
        min-height: 60vh;
    }
    
    .about-hero h1 {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .about-hero .lead {
        font-size: 1.1rem;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-visual img {
        max-width: 350px;
    }
    
    .stats-grid {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    
    .stat {
        min-width: 200px;
    }
    
    .stat h2 {
        font-size: 2.5rem;
    }
    
    .timeline-item {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
    }
    
    .time-year {
        width: 100%;
        min-width: auto;
    }
    
    .founder-rect-card {
        flex-direction: column;
        min-height: unset;
        border-radius: 24px;
        margin-bottom: 36px;
    }
    
    .founder-rect-img {
        flex-basis: 280px;
        min-height: 280px;
        border-radius: 20px 20px 0 0;
        margin: 12px 12px 0 12px;
    }
    
    .founder-rect-img img {
        min-height: 280px;
        border-radius: inherit;
    }
    
    .founder-rect-content {
        padding: 32px 24px 28px 24px;
        border-radius: 0 0 20px 20px;
        margin: 0 12px 12px 12px;
    }
    
    .founder-rect-content h4 {
        font-size: 1.9rem;
    }
    
    .founder-img-badge {
        top: 20px;
        left: 20px;
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .partners-grid img {
        height: 60px;
    }
    
    .cta-container {
        margin: 60px 0;
        min-height: 350px;
    }
    
    .cta {
        padding: 40px 20px;
    }
    
    .cta h2 {
        font-size: 1.8rem;
    }
    
    .cta p {
        font-size: 1rem;
        margin-bottom: 25px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .about-hero h1 {
        font-size: 1.8rem;
    }
    
    .hero-visual img {
        max-width: 280px;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-cta .btn {
        width: 100%;
        max-width: 250px;
    }
    
    .mission-item {
        padding: 20px;
    }
    
    .mission-item h3 {
        font-size: 1.3rem;
    }
    
    .stat h2 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .founder-rect-card {
        max-width: 95%;
    }
    
    .founder-rect-img {
        flex-basis: 240px;
        min-height: 240px;
    }
    
    .founder-rect-img img {
        min-height: 240px;
    }
    
    .founder-rect-content {
        padding: 24px 20px;
    }
    
    .founder-rect-content h4 {
        font-size: 1.7rem;
    }
    
    .founder-rect-badge {
        font-size: 1rem;
        padding: 8px 20px;
    }
    
    .founder-rect-quote {
        font-size: 1.1rem;
        padding: 16px;
    }
    
    .partners-grid {
        grid-template-columns: 1fr;
    }
    
    .cta h2 {
        font-size: 1.6rem;
    }
    
    .btn-light {
        padding: 12px 30px !important;
        font-size: 1rem;
    }
}