/* Founder Page Styles */

.founder-hero {
    background: linear-gradient(to bottom, #f5f7fa 0%, #c3cfe2 100%);
    padding: 80px 20px 10px 20px;  /* Even more top padding, minimal bottom padding */
    text-align: left;
}

.founder-hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 40px;
}

.founder-profile-pic {
    flex-shrink: 0;
    text-align: center;
}

.profile-caption {
    font-size: 12px;
    color: #666;
    font-style: italic;
    margin-top: 8px;
    margin-bottom: 0;
}

.profile-placeholder,
.founder-profile-pic img {
    width: 152px;  /* LinkedIn profile pic size */
    height: 152px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    background: white;
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.founder-info h1 {
    font-size: 42px;
    color: #4F4B45;
    margin-bottom: 10px;
    font-weight: 700;
}

.founder-info .founder-title {
    font-size: 20px;
    color: #666;
    margin: 0;
}

/* Override page-content margins for founder page */
.page-content {
    margin-top: 0 !important;
}

/* Story Section - Updated 2024 */
.founder-story {
    padding: 0 20px 40px 20px !important;  /* REMOVED top padding completely */
    background: #f8f9fa;
    margin-top: 0;  /* Remove negative margin */
}

/* First story section specific */
.story-section:first-child {
    margin-top: 0;  /* No gap from hero */
}

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

.story-section {
    margin-bottom: 30px;  /* Reduced from 50px */
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
}

.story-section:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.story-section h3 {
    color: #1e3c72;
    font-size: 24px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.story-section h3:before {
    content: "";
    width: 4px;
    height: 24px;
    background: #0077c5;
    margin-right: 15px;
    border-radius: 2px;
}

.story-section p {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
}

.founder-quote {
    font-size: 20px !important;
    font-style: italic;
    color: #00727C !important;
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(0, 114, 124, 0.05);
    border-left: 4px solid #00727C;
    border-radius: 5px;
}

/* Connect Section */
.connect-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.connect-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.connect-content p {
    font-size: 20px;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .founder-hero {
        padding: 65px 20px 30px 20px;  /* Added 35px more top padding for mobile */
    }
    
    .founder-hero-content {
        flex-direction: column;
        text-align: center;
        gap: 0;  /* Removed gap to control spacing manually */
    }
    
    .founder-profile-pic {
        margin-bottom: 0;  /* Remove any default margin */
    }
    
    .founder-profile-pic img {
        width: 120px;
        height: 120px;
        margin-bottom: -5px;  /* Reduce space below image */
    }
    
    .founder-info {
        margin-top: 0;  /* Ensure no extra top margin */
    }
    
    .founder-info h1 {
        font-size: 32px;
    }
    
    .founder-info .founder-title {
        font-size: 18px;
    }
    
    .founder-tagline {
        font-size: 18px;
    }
    
    .story-section {
        padding: 20px;
    }
    
    .story-section h3 {
        font-size: 20px;
    }
    
    .story-section p {
        font-size: 16px;
    }
    
    .connect-content h2 {
        font-size: 28px;
    }
    
    .connect-content p {
        font-size: 18px;
    }
    
    .connect-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .connect-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}