:root {
    --primary-blue: #1a5276;
    --secondary-blue: #3498db;
    --accent-red: #e74c3c;
    --accent-orange: #e67e22;
    --light-bg: #f8f9fa;
    --dark-text: #2c3e50;
    --medium-text: #555;
    --light-text: #777;
}




/* ====== COMPLETE UPDATED LEGACY CSS FILE ====== */
/* Reset and base styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8fafc;
}

/* Founder Image Section - Smaller Rectangular Image */
.founder-image-section {
    padding: 40px 0 20px;
    text-align: center;
    background: white;
}

.founder-portrait-container {
    max-width: 350px;
    margin: 0 auto;
    position: relative;
}

.founder-portrait {
    width: 100%;
    height: auto;
    /* max-height: 380px; */
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    /* border: 1px solid #e9ecef; */
}

/* Legacy Title Section - CENTERED */
.legacy-title-section {
    padding: 40px 0 20px;
    text-align: center;
    background: white;
    border-bottom: 2px solid #f0f4f8;
}

.legacy-title-content h1 {
    font-size: 2.8rem;
    color: #1a365d;
    margin-bottom: 10px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    display: block;
    width: 100%;
}

.legacy-subtitle {
    font-size: 1.3rem;
    color: #2c5282;
    font-weight: 500;
    margin-top: 10px;
    letter-spacing: 0.5px;
    text-align: center;
    display: block;
    width: 100%;
}

/* Main Title Centering Fix */
.main-title {
    text-align: center !important;
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
}

/* All Sections Styling */
.legacy-intro,
.visionary-section,
.experience-section,
.legacy-section,
.values-section {
    width: 100%;
    padding: 60px 0;
}

/* Alternating background colors */
.legacy-intro,
.legacy-section,
.founder-quote-section {
    background: white;
}

.visionary-section,
.values-section {
    background: #f8fafc;
}

/* .experience-section {
    background: #ffffff;
} */

/* Box Container */
.boxContainer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Title Styling - All Centered FIX */
.section-title {
    text-align: center;
    margin-bottom: 50px;
    display: block;
    width: 100%;
}

.section-title h2 {
    font-size: 2.2rem;
    color: #1a365d;
    margin-bottom: 15px;
    font-weight: 700;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    text-align: center;
    left: 0;
    right: 0;
}

.section-title h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #2c5282, #4299e1);
    border-radius: 2px;
}

.section-title p {
    font-size: 1.15rem;
    color: #4a5568;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    text-align: center;
}

/* Legacy Intro Content - CENTERED */
.legacy-intro .legacy-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    display: block;
}

.legacy-intro .legacy-content h2 {
    font-size: 2.2rem;
    color: #1a365d;
    margin-bottom: 25px;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
    text-align: center;
    display: block;
    width: 100%;
}

.legacy-intro .legacy-content h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #2c5282, #4299e1);
    border-radius: 2px;
}

.legacy-intro .legacy-content p {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #4a5568;
    margin-bottom: 25px;
    text-align: center;
}

/* Visionary Pioneer Section - FIXED CENTERING */
.visionary-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    display: block;
}

.visionary-content h2 {
    font-size: 2.2rem;
    color: #1a365d;
    margin-bottom: 25px;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
    text-align: center;
    display: block;
    width: 100%;
}

.visionary-content h2 i {
    margin-right: 10px;
    color: #2c5282;
}

.visionary-content h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #2c5282, #4299e1);
    border-radius: 2px;
}

.visionary-content p {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #4a5568;
    margin-bottom: 25px;
    text-align: center;
}

/* Milestone Styling */
.milestone {
    display: inline-flex;
    align-items: center;
    background: #2c5282;
    color: white;
    padding: 10px 16px;
    border-radius: 50px;
    margin-top: 30px;
    box-shadow: 0 5px 15px rgba(44, 82, 130, 0.2);
    text-align: center;
    justify-content: center;
}

.milestone-year {
    font-weight: bold;
    font-size: 1.5rem;
    margin-right: 20px;
    background: white;
    color: #2c5282;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.milestone-text {
    font-size: 1.2rem;
    color: #ffffff;
    font-weight: 500;
    text-align: left;
}

/* Experience Grid */
.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    justify-items: center;
}

.experience-card {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    max-width: 380px;
    width: 100%;
    border-top: 4px solid #2c5282;
}

.experience-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.experience-icon {
    font-size: 2.8rem;
    color: #2c5282;
    margin-bottom: 20px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.experience-card h3 {
    color: #1a365d;
    margin-bottom: 15px;
    font-size: 1.5rem;
    font-weight: 600;
}

.experience-card p {
    color: #4a5568;
    line-height: 1.6;
    text-align: center;
    font-size: 1.05rem;
}

/* ====== UPDATED LEGACY TIMELINE CONTAINER ====== */
.legacy-timeline-container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 40px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: visible;
    border: 2px solid #e2e8f0;
}

/* Main Timeline */
.legacy-timeline {
    position: relative;
    padding: 30px 0;
}

/* Vertical timeline line - FIXED HEIGHT NO EXTENSION */
.legacy-timeline::before {
    content: '';
    position: absolute;
    left: 120px;
    top: 30px;
    bottom: 30px;
    width: 4px;
    background: linear-gradient(to bottom, #0a4a7a, #0d6db7, #4299e1);
    border-radius: 2px;
    z-index: 1;
    height: calc(100% - 60px); /* FIXED: No extension beyond container */
}

/* Timeline Items */
.timeline-item {
    position: relative;
    margin-bottom: 30px;
    padding-left: 150px;
    min-height: 100px;
    transition: all 0.3s ease;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

/* Year Marker */
.timeline-year {
    position: absolute;
    left: 0;
    top: 0;
    width: 100px;
    height: 40px;
    background: linear-gradient(135deg, #0a4a7a, #0d6db7);
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(10, 74, 122, 0.3);
    z-index: 2;
}

/* Year marker dot on timeline */
.timeline-year::after {
    content: '';
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: white;
    border: 4px solid #0d6db7;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(13, 109, 183, 0.2);
    z-index: 3;
}

/* Present year special styling */
.timeline-item:last-child .timeline-year {
    background: linear-gradient(135deg, #0d6db7, #4299e1);
}

.timeline-item:last-child .timeline-year::after {
    border-color: #4299e1;
    box-shadow: 0 0 0 4px rgba(66, 153, 225, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(66, 153, 225, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(66, 153, 225, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(66, 153, 225, 0);
    }
}

/* Phase Title */
.timeline-phase {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1a365d;
    margin-bottom: 12px;
    position: relative;
    padding-bottom: 10px;
}

.timeline-phase::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #0a4a7a, #0d6db7);
    border-radius: 2px;
}

.timeline-phase.highlight {
    color: #0d6db7;
    font-size: 1.8rem;
}

.timeline-phase.highlight::after {
    width: 80px;
    background: linear-gradient(90deg, #0d6db7, #4299e1);
}

/* Description */
.timeline-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #4a5568;
    margin-bottom: 20px;
    padding: 15px 20px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #0a4a7a;
}

.timeline-item:last-child .timeline-description {
    border-left-color: #0d6db7;
    background: linear-gradient(135deg, #f0f7ff, #e6f0ff);
}

/* ====== UPDATED LEGACY MESSAGE BOX WITH COMPLETE BORDER ====== */
.legacy-message-box {
    margin-top: 25px;
    padding: 30px 35px;
    background: linear-gradient(135deg, #f8fafc, #ffffff);
    border-radius: 10px;
    border: 3px solid #0a4a7a; /* COMPLETE BORDER */
    box-shadow: 0 5px 25px rgba(10, 74, 122, 0.15);
    position: relative;
    overflow: hidden;
}

/* Decorative corner accents */
.legacy-message-box::before,
.legacy-message-box::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    border: 3px solid #0d6db7;
    border-radius: 8px;
    opacity: 0.5;
}

.legacy-message-box::before {
    top: -5px;
    left: -5px;
    border-right: 0;
    border-bottom: 0;
}

.legacy-message-box::after {
    bottom: -5px;
    right: -5px;
    border-left: 0;
    border-top: 0;
}

.legacy-message-box p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 20px;
    padding-left: 25px;
    position: relative;
}

.legacy-message-box p:last-child {
    margin-bottom: 0;
}

.legacy-message-box p::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #0d6db7;
    font-weight: bold;
    font-size: 1.3rem;
}

/* Special styling for first paragraph */
.legacy-message-box p:first-child {
    color: #1a365d;
    font-weight: 500;
    font-size: 1.15rem;
}

/* Special styling for last paragraph */
.legacy-message-box p:last-child {
    color: #0a4a7a;
    font-style: italic;
    font-weight: 500;
    text-align: center;
    padding: 15px 0;
    border-top: 1px solid #e2e8f0;
    margin-top: 25px;
}

.legacy-message-box p:last-child::before {
    display: none;
}

/* Legacy Message */
.legacy-message {
    max-width: 900px;
    margin: 40px auto 0;
    text-align: center;
    background: #f8fafc;
    padding: 40px;
    border-radius: 10px;
    border: 5px dotted #2c5282;
}

.legacy-message p {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #4a5568;
    margin-bottom: 20px;
    text-align: center;
}

.legacy-message .highlight {
    color: #2c5282;
    font-weight: 700;
    font-size: 1.3rem;
    font-style: italic;
    margin-top: 20px;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    justify-items: center;
}

.value-card {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    max-width: 280px;
    width: 100%;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.value-icon {
    font-size: 2.8rem;
    color: #2c5282;
    margin-bottom: 20px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-card h3 {
    color: #1a365d;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.value-card p {
    color: #4a5568;
    line-height: 1.6;
    text-align: center;
    font-size: 1.05rem;
}

/* Enhanced Quote Section */
.founder-quote-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
    position: relative;
    overflow: hidden;
}

.founder-quote-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(255,255,255,0.03)"/></svg>');
    background-size: cover;
}

.quote-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    text-align: center;
}

.quote-icon {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.15);
    margin-bottom: 30px;
}

.quote-text {
    font-size: 2.2rem;
    font-weight: 300;
    font-style: italic;
    color: white;
    line-height: 1.5;
    margin-bottom: 30px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.quote-author {
    font-size: 1.4rem;
    color: #cbd5e0;
    font-weight: 500;
    letter-spacing: 1px;
    display: inline-block;
    padding: 10px 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    backdrop-filter: blur(10px);
}

/* CTA Section */
.about-founder-cta {
    padding: 80px 0;
    background: white;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    color: #1a365d;
    margin-bottom: 20px;
    text-align: center;
}

.cta-content p {
    font-size: 1.2rem;
    color: #4a5568;
    margin-bottom: 40px;
    line-height: 1.6;
    text-align: center;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.cta-btn-primary,
.cta-btn-secondary {
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.cta-btn-primary {
    background: #2c5282;
    color: white;
    border: 2px solid #2c5282;
}

.cta-btn-primary:hover {
    background: #1a365d;
    border-color: #1a365d;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(26, 54, 93, 0.2);
}

.cta-btn-secondary {
    background: white;
    color: #2c5282;
    border: 2px solid #2c5282;
}

.cta-btn-secondary:hover {
    background: #f8fafc;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(44, 82, 130, 0.1);
}

/* ====== WHY US HERO SECTION ====== */
.about-founder-hero {
    background: linear-gradient(rgba(10, 74, 122, 0.95), rgba(13, 109, 183, 0.95)), url('../images/hero/why-us-banner.webp');
    background-size: cover;
    background-position: center;
    padding: 120px 0;
    text-align: center;
    color: white;
    margin-top: 0;
    position: relative;
}

.about-founder-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%230a4a7a' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.about-founder-hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}

.hero-subtitle {
    font-size: 22px;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.hero-quote {
    background: rgba(255, 255, 255, 0.1);
    border-left: 4px solid white;
    padding: 25px 30px;
    margin-top: 40px;
    border-radius: 5px;
    backdrop-filter: blur(10px);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-quote i.fa-quote-left {
    font-size: 24px;
    color: white;
    opacity: 0.7;
    margin-bottom: 15px;
    display: block;
    text-align: center;
}

.hero-quote p {
    font-size: 20px;
    font-style: italic;
    margin-bottom: 10px;
    line-height: 1.6;
    text-align: center;
}

.quote-author {
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 0;
    opacity: 0.9;
    display: block;
    width: 100%;
}

/* ====== LEGACY INTRODUCTION ====== */
.legacy-intro {
    padding: 80px 0;
    background: #fff;
}

.legacy-content {
    max-width: 900px;
    margin: 0 auto;
}

.legacy-content h2 {
    color: #0a4a7a;
    font-size: 36px;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 700;
    display: block;
    width: 100%;
}

.legacy-content p {
    color: #555;
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 25px;
    text-align: center;
}

/* ====== VISIONARY SECTION ====== */
.visionary-section {
    padding: 80px 0;
    background: #f8fafc;
}

.visionary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.visionary-content h2 {
    color: #1a365d;
    font-size: 32px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: center;
    text-align: center;
}

.visionary-content h2 i {
    color: #0d6db7;
}

.visionary-content p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 16px;
    text-align: center;
}

/* ====== EXPERIENCE SECTION ====== */
.experience-section {
    padding: 80px 0;
    /* background: white; */
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* ====== LEGACY SECTION ====== */
.legacy-section {
    padding: 80px 0;
    /* background: #f8fafc; */
}

.legacy-content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.legacy-content-wrapper h2 {
    color: #0a4a7a;
    font-size: 36px;
    margin-bottom: 40px;
    text-align: center;
    font-weight: 700;
    display: block;
    width: 100%;
    position: relative; 
    padding-bottom: 15px;
}


.legacy-content-wrapper h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #2c5282, #4299e1);
  border-radius: 2px;
}

/* ====== VALUES SECTION ====== */
.values-section {
    padding: 80px 0;
    /* background: white; */
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.value-card {
    background: #f8fafc;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
    border: 2px solid transparent;
}

.value-card:hover {
    transform: translateY(-5px);
    border-color: #0a4a7a;
    background: white;
}

.value-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #0a4a7a, #0d6db7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.value-icon i {
    font-size: 28px;
    color: white;
}

.value-card h3 {
    color: #0a4a7a;
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 600;
}

.value-card p {
    color: #666;
    line-height: 1.6;
    font-size: 15px;
    margin: 0;
}

/* ====== WHY US CTA SECTION ====== */
.why-us-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #0a4a7a 0%, #0d6db7 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: white;
    text-align: center;
}

.cta-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.6;
    text-align: center;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ====== RESPONSIVE STYLES ====== */
@media (max-width: 992px) {
    .about-founder-hero h1 {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-quote p {
        font-size: 18px;
    }
    
    .visionary-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .experience-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .legacy-content h2,
    .legacy-content-wrapper h2 {
        font-size: 28px;
    }
    
    /* Updated Timeline Responsive */
    .legacy-timeline-container {
        padding: 30px;
        margin: 30px 20px;
    }
    
    .legacy-timeline::before {
        left: 80px;
        top: 25px;
        bottom: 25px;
        height: calc(100% - 50px);
    }
    
    .timeline-item {
        padding-left: 110px;
        min-height: 90px;
    }
    
    .timeline-year {
        width: 80px;
        height: 35px;
        font-size: 1.1rem;
    }
    
    .timeline-year::after {
        right: -12px;
        width: 16px;
        height: 16px;
        border-width: 3px;
    }
    
    .timeline-phase {
        font-size: 1.4rem;
    }
    
    .timeline-phase.highlight {
        font-size: 1.5rem;
    }
    
    .legacy-message-box {
        padding: 25px;
    }
    
    .legacy-message-box p {
        font-size: 1.05rem;
        padding-left: 20px;
    }
}

@media (max-width: 768px) {
    .founder-portrait-container {
        max-width: 280px;
    }
    
    .founder-portrait {
        max-height: 320px;
    }
    
    .legacy-title-content h1 {
        font-size: 2rem;
    }
    
    .legacy-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title h2,
    .legacy-intro .legacy-content h2,
    .visionary-content h2 {
        font-size: 1.8rem;
    }
    
    .legacy-timeline-container h2 {
        font-size: 2rem;
    }
    
    .quote-text {
        font-size: 1.8rem;
    }
    
    .quote-icon {
        font-size: 3rem;
    }
    
    .milestone {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .milestone-year {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .milestone-text {
        text-align: center;
    }
    
    .experience-grid {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons a {
        width: 100%;
        max-width: 300px;
        margin-bottom: 15px;
    }
    
    .about-founder-hero {
        padding: 80px 0;
    }
    
    .about-founder-hero h1 {
        font-size: 32px;
    }
    
    .legacy-intro,
    .visionary-section,
    .experience-section,
    .legacy-section,
    .values-section,
    .why-us-cta {
        padding: 60px 0;
    }
    
    /* Updated Timeline Responsive */
    .legacy-timeline-container {
        padding: 25px 20px;
        margin: 25px 15px;
        border-width: 2px;
    }
    
    .legacy-timeline::before {
        left: 60px;
        top: 20px;
        bottom: 20px;
        height: calc(100% - 40px);
    }
    
    .timeline-item {
        padding-left: 90px;
        min-height: 80px;
        margin-bottom: 25px;
    }
    
    .timeline-year {
        width: 70px;
        height: 32px;
        font-size: 1rem;
    }
    
    .timeline-year::after {
        right: -10px;
        width: 14px;
        height: 14px;
        border-width: 2px;
    }
    
    .timeline-phase {
        font-size: 1.3rem;
    }
    
    .timeline-phase.highlight {
        font-size: 1.4rem;
    }
    
    .timeline-phase::after {
        width: 40px;
    }
    
    .timeline-phase.highlight::after {
        width: 60px;
    }
    
    .timeline-description {
        font-size: 1rem;
        padding: 12px 15px;
    }
    
    .legacy-message-box {
        padding: 20px;
        border-width: 2px;
    }
    
    .legacy-message-box p {
        font-size: 1rem;
        padding-left: 18px;
    }
    
    .legacy-message-box p:first-child {
        font-size: 1.05rem;
    }
    
    .legacy-message-box::before,
    .legacy-message-box::after {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 576px) {
    .about-founder-hero h1 {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-quote {
        padding: 20px;
    }
    
    .hero-quote p {
        font-size: 16px;
    }
    
    .milestone {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .milestone-year {
        width: 70px;
        height: 70px;
        font-size: 20px;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .experience-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-content h2 {
        font-size: 28px;
    }
    
    .cta-content p {
        font-size: 16px;
    }
    
    /* Updated Timeline Responsive */
    .legacy-timeline-container {
        padding: 20px 15px;
        margin: 20px 10px;
        border-width: 1px;
    }
    
    .legacy-timeline::before {
        left: 45px;
        top: 15px;
        bottom: 15px;
        height: calc(100% - 30px);
        width: 3px;
    }
    
    .timeline-item {
        padding-left: 70px;
        min-height: 70px;
        margin-bottom: 20px;
    }
    
    .timeline-year {
        width: 60px;
        height: 28px;
        font-size: 0.95rem;
    }
    
    .timeline-year::after {
        right: -8px;
        width: 12px;
        height: 12px;
        border-width: 2px;
    }
    
    .timeline-phase {
        font-size: 1.1rem;
    }
    
    .timeline-phase.highlight {
        font-size: 1.2rem;
    }
    
    .timeline-phase::after {
        width: 30px;
        height: 2px;
    }
    
    .timeline-phase.highlight::after {
        width: 40px;
    }
    
    .timeline-description {
        font-size: 0.95rem;
        padding: 10px 12px;
    }
    
    .legacy-message-box {
        padding: 15px;
        border-width: 2px;
    }
    
    .legacy-message-box p {
        font-size: 0.95rem;
        padding-left: 15px;
        margin-bottom: 15px;
    }
    
    .legacy-message-box p:first-child {
        font-size: 1rem;
    }
    
    .legacy-message-box p::before {
        font-size: 1.1rem;
    }
    
    .legacy-message-box::before,
    .legacy-message-box::after {
        width: 25px;
        height: 25px;
    }
}

@media (max-width: 480px) {
    .founder-portrait-container {
        max-width: 240px;
    }
    
    .founder-portrait {
        max-height: 280px;
    }
    
    .legacy-title-content h1 {
        font-size: 1.8rem;
    }
    
    .legacy-subtitle {
        font-size: 1rem;
    }
    
    .quote-text {
        font-size: 1.5rem;
    }
}

/* ====== UPDATED FIXES ====== */
/* Fix for any potential overflow */
.legacy-timeline-container,
.legacy-timeline,
.timeline-item,
.legacy-message-box {
    overflow: visible !important;
}

/* Smooth transitions */
.timeline-item,
.timeline-year,
.timeline-phase,
.timeline-description {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover effects */
.timeline-item:hover {
    transform: translateX(5px);
}

.timeline-item:hover .timeline-year {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(10, 74, 122, 0.4);
}

/* Ensure no line extension beyond container */
.legacy-message-box,
.legacy-timeline-container {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

/* Fix for any potential overflow */
* {
    overflow-wrap: break-word;
    word-wrap: break-word;
}

/* Container to prevent horizontal scrolling */
.container {
    max-width: 100%;
    overflow-x: hidden;
}


/* Final CTA */
.final-cta {
    text-align: center;
    padding: 4rem 2rem;
background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));    border-radius: 15px;
    margin: 3rem 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.final-cta h2 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 2.5rem;
}

.slogan {
    font-size: 1.8rem;
    color: #e74c3c;
    font-style: italic;
    margin: 2rem 0;
    font-weight: 600;
}