/* About Page Styles */

/* Hero Section - Cinematic Redesign */
/* Hero Section - Synced with Website Theme */
.about-title-section {
    background: #fff;
    padding: 6rem 0 3rem;
    margin-top: 160px;
    position: relative;
    overflow: hidden;
}

.about-header-row {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 4rem;
}

.about-title-content {
    flex: 1;
    max-width: 900px;
}

.about-badge {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background: rgba(30, 58, 138, 0.05);
    /* Using the dark blue as an accent */
    color: #1e3a8a;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(30, 58, 138, 0.1);
}

.about-page-title {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -2px;
}

.about-page-title .highlight-text {
    color: var(--accent-red);
    font-style: italic;
}

.about-page-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    line-height: 1.6;
    max-width: 600px;
    font-weight: 300;
    margin: 0 auto;
}

.about-hero-visual {
    flex: 0.8;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-backdrop {
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--primary-yellow);
    opacity: 0.15;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    animation: morphVisual 10s ease-in-out infinite;
    z-index: 1;
}

.bg-initials {
    position: absolute;
    font-family: var(--font-heading);
    font-size: 10rem;
    font-weight: 800;
    color: rgba(0, 0, 0, 0.03);
    z-index: 0;
    user-select: none;
}

.about-hero-svg {
    width: 250px;
    height: 250px;
    position: relative;
    z-index: 2;
}

@keyframes morphVisual {

    0%,
    100% {
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    }

    50% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
}

.about-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.about-scroll-indicator span {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, var(--primary-yellow), transparent);
    animation: scrollLine 2s infinite;
}

@keyframes scrollLine {
    0% {
        transform: scaleY(0);
        transform-origin: top;
    }

    50% {
        transform: scaleY(1);
        transform-origin: top;
    }

    50.1% {
        transform: scaleY(1);
        transform-origin: bottom;
    }

    100% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
}


/* Evolution Timeline - Editorial Redesign */
.timeline-section {
    padding: 3.7rem 0 2rem;
    background: #ffffff;
    position: relative;
    transform: translateY(-5%);
}

.timeline-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 4rem 0 1rem;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    width: 2px;
    height: 100%;
    background: none;
    border-left: 2px dashed rgba(0, 0, 0, 0.08);
    /* Dotted path style */
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-item {
    position: relative;
    width: 50%;
    margin-bottom: 3rem;
    /* Breathing room */
    z-index: 2;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item.left {
    left: 0;
    padding-right: 6rem;
    text-align: right;
}

.timeline-item.right {
    left: 50%;
    padding-left: 6rem;
    text-align: left;
}

.timeline-dot {
    position: absolute;
    top: 15px;
    width: 12px;
    height: 12px;
    background: var(--primary-yellow);
    border-radius: 50%;
    z-index: 3;
    box-shadow: 0 0 0 8px rgba(255, 217, 61, 0.1);
}

.timeline-item.left .timeline-dot {
    right: -7px;
}

.timeline-item.right .timeline-dot {
    left: -7px;
}

/* Editorial Background Number */
.bg-step-num {
    position: absolute;
    top: -90px;
    font-size: 8rem;
    font-family: var(--font-heading);
    color: rgba(0, 0, 0, 0.08);
    /* Slightly darker grey */
    font-weight: 800;
    line-height: 1;
    z-index: -1;
    pointer-events: none;
    transition: all 0.5s ease;
}

.timeline-item.left .bg-step-num {
    right: 2rem;
}

.timeline-item.right .bg-step-num {
    left: 2rem;
}

.timeline-item:hover .bg-step-num {
    color: #f87171;
    opacity: 0.45;
    transform: translateY(-5px);
}

.timeline-content {
    background: transparent;
    /* Open layout */
    padding: 0;
    box-shadow: none;
    border: none;
    transition: all 0.4s ease;
}

.timeline-icon {
    display: none;
}

.timeline-text h3 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    /* Editorial size */
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.1;
}

.timeline-text p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #4a5758;
    /* Further 10% darker */
    font-weight: 300;
}

.timeline-badges {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: inherit;
}

.t-badge {
    padding: 0.5rem 1.2rem;
    background: rgba(0, 0, 0, 0.03);
    color: var(--text-dark);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Philosophy Section - Seamless Alternative */
.philosophy-section {
    padding: 10rem 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--bg-light) 100%);
}

.philosophy-header {
    text-align: center;
    margin-bottom: 5rem;
}

.philosophy-display {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.philosophy-card-alt {
    display: flex;
    align-items: center;
    gap: 3rem;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: all var(--transition-normal);
}

.philosophy-card-alt:nth-child(even) {
    flex-direction: row-reverse;
    text-align: right;
}

.philosophy-card-alt:hover {
    background: var(--white);
    transform: scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

.p-icon {
    font-size: 3.5rem;
    min-width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
}

.p-content h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
}

.p-content p {
    font-size: 1.15rem;
    color: var(--text-light);
    line-height: 1.6;
}


/* Founders Section */
.founders-section {
    padding: calc(1.5rem + 10px) 0 1.1rem;
    background: linear-gradient(135deg, var(--bg-light) 0%, #fff 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 5.5rem;
    /* Increased gap between text and placards */
}

.section-title {
    font-family: var(--font-heading);
    font-size: 3.8rem;
    color: var(--text-dark);
    margin-bottom: 1.2rem;
    letter-spacing: -1px;
}

.section-description {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.4rem;
    color: var(--text-dark);
    max-width: none;
    white-space: nowrap;
    margin: 0 auto;
    font-weight: 400;
    position: relative;
    display: inline-block;
    z-index: 1;
}

.section-description::before {
    content: '';
    position: absolute;
    bottom: 5px;
    left: -5%;
    width: 110%;
    height: 12px;
    background: rgba(187, 247, 208, 0.6);
    /* Pastel green highlight */
    z-index: -1;
    border-radius: 2px;
}

.founders-placard-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.8rem;
    max-width: 1200px;
    margin: 3rem auto 2.5rem;
    position: relative;
    padding: 0 2rem;
}

.founder-info {
    flex: 1;
    text-align: center;
    max-width: 450px;
    z-index: 3;
}

.founder-info.left {
    text-align: center;
    transform: translateX(-7%);
    /* Shifted left by 7% */
}

.founder-info.right {
    text-align: center;
}

.founder-info h3 {
    font-family: var(--font-heading);
    font-size: 3.26rem;
    /* Reduced by another 5% */
    color: var(--secondary-blue);
    /* Interchanged color */
    font-style: italic;
    /* Added italics */
    margin-bottom: 0.5rem;
    line-height: 1.1;
    white-space: nowrap;
}

.founder-info .founder-role {
    color: var(--text-dark);
    /* Interchanged color */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 0.8rem;
}

.linkedin-link {
    color: #FF6B6B;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.linkedin-link:hover {
    transform: scale(1.1);
    color: #ff5252;
}

.linkedin-link svg {
    display: block;
}

.central-image-container {
    position: relative;
    width: 336px;
    height: 336px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    flex-shrink: 0;
    perspective: 1200px;
}

.founder-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 40px;
    box-shadow:
        0 40px 100px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(0, 0, 0, 0.05);
    z-index: 2;
    position: relative;
    transform-style: preserve-3d;
    animation: breatheFounders 10s ease-in-out infinite;
}

.image-glow {
    position: absolute;
    width: 115%;
    height: 115%;
    background: linear-gradient(135deg, var(--primary-yellow), var(--secondary-blue));
    opacity: 0.25;
    z-index: 1;
    animation: morph 12s ease-in-out infinite;
    filter: blur(50px);
}

@keyframes breatheFounders {

    0%,
    100% {
        transform: perspective(1200px) rotateY(-5deg) rotateX(3deg) translateY(0) scale(1);
    }

    50% {
        transform: perspective(1200px) rotateY(5deg) rotateX(-3deg) translateY(-20px) scale(1.03);
    }
}

.founder-tagline-container {
    text-align: center;
    margin-top: 2rem;
    margin-bottom: 2rem;
    position: relative;
}

.elegant-tagline {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--text-dark);
    font-weight: 600;
    letter-spacing: 1.5px;
    /* Reduced from 3px */
    word-spacing: 6px;
    /* Reduced from 12px */
    opacity: 0.85;
    position: relative;
    display: inline-block;
}

.elegant-tagline::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #FF6B6B;
    border-radius: 2px;
    opacity: 0.5;
}

/* Responsive adjustments for the new layout */
@media (max-width: 1100px) {
    .founders-placard-wrapper {
        gap: 1.5rem;
    }

    .central-image-container {
        width: 266px;
        height: 266px;
    }

    .founder-info h3 {
        font-size: 2.4rem;
        /* Reduced by another 5% */
    }

    .founder-info .founder-role {
        font-size: 0.95rem;
    }
}

.cursor {
    display: inline-block;
    color: var(--accent-red);
    margin-left: 4px;
    font-weight: 300;
    animation: blink 0.8s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .founders-placard-wrapper {
        flex-direction: column;
        gap: 2.5rem;
        margin: 2rem auto;
        padding: 0 1rem;
    }

    .founder-info.left,
    .founder-info.right {
        text-align: center;
        order: 2;
        max-width: 100%;
    }

    .central-image-container {
        order: 1;
        width: 224px;
        height: 224px;
    }

    .elegant-tagline {
        font-size: 1.1rem;
        letter-spacing: 0.5px;
        /* Reduced from 1px */
        word-spacing: 2px;
        /* Reduced from 4px */
        padding: 0 1rem;
    }

    .founder-tagline-container {
        margin-top: 2.5rem;
        margin-bottom: 3.69rem;
        /* Further reduced from 4.11rem by 10% */
    }
}

/* Updated About CTA */
.about-cta {
    padding: 2.4rem 0;
    background: #f87171;
    /* Matches timeline hover color */
    color: var(--white);
    text-align: center;
    transform: translateY(-5%);
    position: relative;
}

.about-cta h2 {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    margin-bottom: 1.2rem;
    color: var(--white);
}

.about-cta p {
    font-size: 1.25rem;
    opacity: 0.95;
    margin-bottom: 2.5rem;
    color: var(--white);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.cta-btn {
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all var(--transition-fast);
    cursor: pointer;
    border: none;
}

.cta-btn.primary {
    background: var(--white);
    color: #f87171;
}

.cta-btn.primary:hover {
    background: #f87171;
    color: var(--white);
    border: 2px solid var(--white);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.cta-btn.secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.cta-btn.secondary:hover {
    background: var(--white);
    color: #f87171;
    transform: translateY(-5px);
}

/* Responsive */
@media (max-width: 1024px) {
    .about-page-title {
        font-size: 3.5rem;
    }

    .about-header-row {
        gap: 2rem;
    }

    .about-hero-visual {
        display: none;
        /* Hide visual on smaller tablets to focus on text */
    }
}

@media (max-width: 768px) {
    .about-title-section {
        padding: 2.9rem 0 1.8rem;
        /* Reduced from 3.4rem by 15% */
        text-align: center;
        margin-top: 109px;
        /* Reduced from 128px by 15% */
    }

    .about-header-row {
        flex-direction: column;
    }

    .about-page-title {
        font-size: 1.8rem;
        letter-spacing: -1px;
        transform: translateY(-15%);
    }

    .about-page-subtitle {
        font-size: 0.75rem;
        margin: 0 auto;
    }

    .why-grid {
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .about-title {
        font-size: 3rem;
    }

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

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

    .founders-section {
        margin-top: -10%;
    }

    .about-cta h2 {
        font-size: 1.4rem;
    }

    .cta-buttons {
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
    }

    .cta-btn {
        padding: 0.6rem 1rem;
        font-size: 0.7rem;
    }

    .timeline-section {
        padding-top: 2.2rem;
    }

    /* Timeline Proportional Scaling */
    .timeline-container {
        padding: 2rem 0 1rem;
    }

    .timeline-line {
        left: 50%;
        display: block;
    }

    .timeline-item {
        width: 50%;
        margin-bottom: 2rem;
        padding: 0;
    }

    .timeline-item.left {
        left: 0;
        padding-right: 1.5rem !important;
        text-align: right !important;
    }

    .timeline-item.right {
        left: 50%;
        padding-left: 1.5rem !important;
        text-align: left !important;
    }

    .timeline-dot {
        width: 8px;
        height: 8px;
        top: 10px;
    }

    .timeline-item.left .timeline-dot {
        right: -4px !important;
    }

    .timeline-item.right .timeline-dot {
        left: -4px !important;
    }

    .bg-step-num {
        font-size: 3rem;
        top: -35px;
        opacity: 0.4;
        color: #f87171;
        transform: translateY(-10%);
    }

    .timeline-item.left .bg-step-num {
        right: 0.5rem !important;
        left: auto !important;
    }

    .timeline-item.right .bg-step-num {
        left: 0.5rem !important;
    }

    .timeline-text h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .timeline-text p {
        font-size: 0.55rem;
        line-height: 1.4;
    }

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

    .section-description {
        font-size: 0.75rem;
    }

    .section-header {
        margin-bottom: 3rem;
    }
}

/* =========================================
   Contact Us Section
   ========================================= */
.contact-section {
    padding: 1rem 0 3rem;
    background: #ffffff;
    position: relative;
}

.contact-divider {
    border: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.08), transparent);
    margin-bottom: 2rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
    align-items: start;
}

.contact-info {
    padding-right: 1rem;
}

.contact-heading {
    font-size: 2.2rem;
    font-family: var(--font-heading);
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.contact-text {
    font-size: 1.05rem;
    line-height: 1.5;
    color: #64748b;
    margin-bottom: 1.25rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0;
}

.contact-method svg {
    color: var(--primary-yellow);
}

.contact-email {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-short);
}

.contact-email:hover {
    color: var(--primary-yellow);
}

.contact-socials {
    display: flex;
    gap: 1.2rem;
}

.contact-socials .social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f8fafc;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-short);
}

.contact-socials .social-icon:hover {
    background: var(--primary-yellow);
    color: var(--white);
    transform: translateY(-3px);
}

.contact-form-container {
    background: #ffffff;
    padding: 1.5rem 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.contact-form .form-group {
    margin-bottom: 0.75rem;
}

.contact-form label {
    display: none;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem 1.2rem;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-dark);
    background: #fdfdfd;
    transition: all var(--transition-short);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-yellow);
    box-shadow: 0 0 0 3px rgba(255, 217, 61, 0.15);
    background: #ffffff;
}

.contact-form textarea {
    resize: vertical;
    min-height: 44px;
    /* Matches height of input boxes */
    height: 44px;
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
    overflow-y: hidden;
    transition: height 0.2s ease, border-color var(--transition-short), box-shadow var(--transition-short);
}

.submit-btn {
    width: 100%;
    padding: 0.8rem 1.5rem;
    background: var(--primary-yellow);
    color: var(--text-dark);
    border: none;
    border-radius: 10px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(255, 217, 61, 0.1);
}

.submit-btn:hover {
    background: #f5c400;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 217, 61, 0.25);
}

.submit-btn:active {
    transform: translateY(0);
}

.form-feedback-msg {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
}

.form-feedback-msg.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #34d399;
}

.form-feedback-msg.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #f87171;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-info {
        padding-right: 0;
        text-align: center;
    }

    .contact-method {
        justify-content: center;
    }

    .contact-socials {
        justify-content: center;
    }
}