/* Founder Page Styles */
.founder-content {
    padding: 5rem 0;
    background: var(--light-beige);
}

.intro-section {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 4rem;
    align-items: start;
    margin-bottom: 5rem;
}

.founder-image-placeholder {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--wood), var(--brown));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px var(--shadow);
}

.founder-image-placeholder i {
    font-size: 10rem;
    color: var(--white);
    opacity: 0.7;
}

.intro-text {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 5px 25px var(--shadow);
}

.intro-text h2 {
    font-size: 2.2rem;
    color: var(--brown);
    margin-bottom: 1.5rem;
}

.intro-text p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--dark-gray);
}

.story-section {
    margin-bottom: 5rem;
}

.story-block {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 25px var(--shadow);
    margin-bottom: 2rem;
    border-left: 5px solid var(--wood);
}

.story-block h3 {
    font-size: 1.6rem;
    color: var(--wood);
    margin-bottom: 1rem;
}

.story-block p {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--dark-gray);
}

.vision-section {
    margin-bottom: 5rem;
}

.vision-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.vision-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 25px var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
    border-top: 4px solid transparent;
}

.vision-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px var(--shadow);
    border-top-color: var(--wood);
}

.vision-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--wood), var(--brown));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.vision-card:hover .vision-icon {
    transform: scale(1.1) rotate(10deg);
}

.vision-icon i {
    font-size: 2rem;
    color: var(--white);
}

.vision-card h3 {
    font-size: 1.4rem;
    color: var(--brown);
    margin-bottom: 1rem;
}

.vision-card p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--dark-gray);
}

.accomplishments-section {
    margin-bottom: 5rem;
}

.accomplishments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.accomplishment-item {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 25px var(--shadow);
    border-top: 4px solid var(--wood);
}

.accomplishment-item .number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--wood);
    font-family: 'Playfair Display', serif;
    margin-bottom: 0.5rem;
}

.accomplishment-item p {
    font-size: 1.05rem;
    color: var(--dark-gray);
    font-weight: 500;
}

.future-section {
    background: linear-gradient(135deg, var(--wood), var(--brown));
    padding: 4rem 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px var(--shadow);
    text-align: center;
    color: var(--white);
}

.future-section h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 2rem;
}

.future-section p {
    font-size: 1.15rem;
    line-height: 1.9;
    max-width: 1000px;
    margin: 0 auto;
    opacity: 0.95;
}

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

    .founder-image-placeholder {
        width: 100%;
        height: 250px;
        margin: 0 auto;
    }

    .founder-image-placeholder i {
        font-size: 7rem;
    }

    .intro-text {
        padding: 2rem;
    }

    .intro-text h2 {
        font-size: 1.8rem;
    }

    .story-block {
        padding: 2rem;
    }

    .vision-content {
        grid-template-columns: 1fr;
    }

    .future-section {
        padding: 3rem 2rem;
    }
}

/* Updated Founder Photo Styles */
.founder-photo-container {
    width: 300px;
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px var(--shadow);
    cursor: pointer;
    position: relative;
    background: var(--white);
}

.founder-photo-container:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 50px var(--shadow);
}

.founder-photo-container::after {
    content: '\f00e';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 2;
}

.founder-photo-container:hover::after {
    opacity: 1;
}

.founder-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

.founder-photo-img.loaded {
    display: block;
}

.founder-photo-img.loaded + .founder-image-placeholder {
    display: none;
}

.founder-image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.founder-image-placeholder i {
    font-size: 8rem;
}

.founder-image-placeholder p {
    margin-top: 1rem;
    font-size: 1rem;
    font-weight: 600;
}

.founder-image-placeholder small {
    display: block;
    font-size: 0.8rem;
    opacity: 0.6;
    margin-top: 0.5rem;
    font-family: monospace;
    background: rgba(139, 111, 71, 0.15);
    padding: 0.3rem 0.8rem;
    border-radius: 5px;
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    animation: zoomIn 0.3s;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 50px;
    color: white;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.lightbox-close:hover {
    color: var(--wood);
    transform: rotate(90deg);
}

/* Responsive Updates */
@media (max-width: 768px) {
    .founder-photo-container {
        width: 100%;
        height: 300px;
    }

    .founder-image-placeholder i {
        font-size: 6rem;
    }

    .lightbox-close {
        top: 20px;
        right: 25px;
        font-size: 40px;
    }
}
