/* About Artist Page Styles */

/* Note: Removed global .container text-align center to prevent footer issues */

/* Apply center alignment to specific page sections only */
.section-from-cockpit .container,
.section-pioneer-banner .container,
.section-paf-school-banner .container,
.section-course-end-banner .container,
.section-jets-conversion-banner .container,
.section-flying-wing-banner .container,
.section-weapons-controller-banner .container,
.section-mission-banner .container,
.section-beyond-realism-banner .container,
.section-stamps-banner .container,
.section-stamps-intro .container,
.section-stamp-showcase .container,
.section-stamps-grid .container,
.related-collections .container {
    text-align: center;
}

/* Section 2: From Cockpit to Canvas */
.section-from-cockpit {
    padding: 40px 0;
    background: transparent;
}

.section-from-cockpit .section-title {
    font-size: 32px;
    font-weight: 600;
    color: #4a90e2;
    text-align: center;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.section-from-cockpit .section-subtitle {
    font-size: 18px;
    color: #666;
    text-align: center;
    margin-bottom: 5px;
    font-weight: 400;
    max-width: none !important;
    padding: 0 !important;
    width: 100% !important;
}

.section-from-cockpit .section-roles {
    font-size: 16px;
    color: #666;
    text-align: center;
    margin-bottom: 50px;
    font-style: italic;
}

.section-from-cockpit .section-description {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 40px;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

.section-from-cockpit .awards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 4rem auto;
    max-width: 1100px;
    justify-content: center;
}

.section-from-cockpit .award-card {
    background: transparent;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e5e7eb;
}

.section-from-cockpit .award-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.section-from-cockpit .award-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.section-from-cockpit .award-content {
    padding: 1.5rem;
    text-align: center;
}

.section-from-cockpit .award-content h3 {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    font-weight: 400;
    text-align: center;
}

/* Full-width banner sections */
.section-pioneer-banner,
.section-paf-school-banner,
.section-course-end-banner,
.section-jets-conversion-banner,
.section-flying-wing-banner,
.section-weapons-controller-banner,
.section-mission-banner,
.section-beyond-realism-banner {
    padding: 40px 0;
}

.section-pioneer-banner .full-width-banner,
.section-paf-school-banner .full-width-banner,
.section-course-end-banner .full-width-banner,
.section-jets-conversion-banner .full-width-banner,
.section-flying-wing-banner .full-width-banner,
.section-weapons-controller-banner .full-width-banner,
.section-mission-banner .full-width-banner,
.section-beyond-realism-banner .full-width-banner {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    object-position: center;
}

/* PAF School banner specific styling */
.section-paf-school-banner {
    padding-top: 40px;
    padding-bottom: 40px;
}

.section-paf-school-banner .section-title {
    font-size: 32px;
    font-weight: 600;
    color: #4a90e2;
    text-align: center;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.section-paf-school-banner .section-description {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 40px;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

/* Career span section */
.section-career-span {
    padding: 40px 0;
    background: transparent;
}

.section-career-span .section-title {
    font-size: 32px;
    font-weight: 600;
    color: #4a90e2;
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: 1px;
}

.section-career-span .section-description {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    font-weight: 400;
}

/* Early life section */
.section-early-life {
    padding: 40px 0;
    background: transparent;
}

.section-early-life .section-title {
    font-size: 32px;
    font-weight: 600;
    color: #4a90e2;
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: 1px;
}

.section-early-life .section-description {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 40px;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

.section-early-life .early-life-image {
    text-align: center;
    margin: 3rem 0 2rem 0;
}

.section-early-life .early-life-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Academy section 1968 */
.section-academy-1968 {
    padding: 40px 0;
    background: transparent;
}

.section-academy-1968 .section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #4a90e2;
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: 1px;
}

.section-academy-1968 .section-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 3rem;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

.section-academy-1968 .academy-image {
    text-align: center;
    margin-bottom: 2rem;
}

.section-academy-1968 .academy-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Flying Training Section with Dual Images */
.section-flying-training {
    padding: 40px 0;
    background: transparent;
}

.section-flying-training .section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #4a90e2;
    text-align: center;
    margin-bottom: 4rem;
    letter-spacing: 1px;
}

.dual-image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin: 3rem 0;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.dual-image-grid .image-card {
    text-align: center;
}

.dual-image-grid .image-card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

.dual-image-grid .image-card .image-caption {
    font-size: 0.95rem;
    color: #666;
    text-align: center;
    line-height: 1.5;
    margin-top: 0.75rem;
}

/* Passing Out Section with Six Images - Fixed Layout */
.section-passing-out {
    padding: 40px 0;
    background: transparent;
}

.section-passing-out .section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #4a90e2;
    text-align: center;
    margin-bottom: 4rem;
    letter-spacing: 1px;
}

.six-image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin: 3rem auto;
    max-width: 1200px;
}

.six-image-grid .image-card {
    text-align: center;
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.six-image-grid .image-card img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.six-image-grid .image-card .image-caption {
    font-size: 0.95rem;
    color: #666;
    text-align: center;
    line-height: 1.5;
    margin-top: 0.75rem;
}

/* Certificate Section */
.section-certificate {
    padding: 40px 0;
    background: transparent;
}

.section-certificate .certificate-content {
    text-align: center;
    margin-bottom: 2rem;
}

.section-certificate img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Squadron Photo Section */
.section-squadron-photo {
    padding: 40px 0;
    background: transparent;
}

.section-squadron-photo .squadron-content {
    text-align: center;
    margin-bottom: 2rem;
}

.section-squadron-photo img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Pilot T33 Section */
.section-pilot-t33 {
    padding: 40px 0;
    background: transparent;
}

.section-pilot-t33 .pilot-content {
    text-align: center;
    margin-bottom: 2rem;
}

.section-pilot-t33 img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Updated Artistic Legacy Section */
.section-artistic-legacy {
    padding: 40px 0;
    background: transparent;
}

.section-artistic-legacy .section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #4a90e2;
    text-align: center;
    margin-bottom: 0;
    letter-spacing: 1px;
}

.section-artistic-legacy .section-subtitle {
    font-size: 1.1rem;
    color: #666;
    text-align: center;
    margin-bottom: 2rem;
    margin-top: 0;
    font-weight: 500;
}

.section-artistic-legacy .section-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 1rem;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

.section-artistic-legacy .studio-image {
    text-align: center;
    margin: 4rem 0;
}

.section-artistic-legacy .studio-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Presidential Visit Section */
.section-presidential-visit {
    padding: 40px 0;
    background: transparent;
}

.section-presidential-visit .presidential-content {
    text-align: center;
    margin-bottom: 2rem;
}

.section-presidential-visit img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Mission Banner Section */
.section-mission-banner {
    padding: 40px 0;
}

.section-mission-banner .section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #4a90e2;
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: 1px;
}

.section-mission-banner .section-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 3rem;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

/* Beyond Realism Banner Section */
.section-beyond-realism-banner {
    padding: 40px 0;
}

.section-beyond-realism-banner .section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #4a90e2;
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: 1px;
}

.section-beyond-realism-banner .section-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 3rem;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

/* Weapons Controller Banner Section */
.section-weapons-controller-banner {
    padding-top: 20px;
    padding-bottom: 60px;
}

.section-weapons-controller-banner .section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #4a90e2;
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: 1px;
}

.section-weapons-controller-banner .section-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 3rem;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

/* Jets Conversion Banner Section */
.section-jets-conversion-banner {
    padding-top: 60px;
    padding-bottom: 60px;
}

.section-jets-conversion-banner .section-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    margin-top: 2rem;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

/* Image captions - Universal styling */
.image-caption {
    font-size: 1rem;
    color: #666;
    text-align: center;
    font-weight: 500;
    line-height: 1.6;
    max-width: 800px;
    margin: 0.75rem auto 0 auto;
    padding: 0 1rem;
}

/* Banner sections - Consistent caption spacing */
.section-pioneer-banner .image-caption,
.section-paf-school-banner .image-caption,
.section-course-end-banner .image-caption,
.section-jets-conversion-banner .image-caption,
.section-weapons-controller-banner .image-caption,
.section-mission-banner .image-caption,
.section-beyond-realism-banner .image-caption {
    margin-top: 0.75rem;
}

/* View More button */
.view-more-btn-wrapper {
    text-align: center;
    margin-top: 4rem;
}

.btn-view-more {
    background: #2c5282;
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-view-more:hover {
    background: #2a4a7c;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(44, 82, 130, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .section-from-cockpit .awards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        max-width: 700px;
    }
    
    .six-image-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .section-from-cockpit .section-title,
    .section-career-span .section-title,
    .section-early-life .section-title,
    .section-academy-1968 .section-title,
    .section-flying-training .section-title,
    .section-passing-out .section-title,
    .section-artistic-legacy .section-title,
    .section-paf-school-banner .section-title,
    .section-mission-banner .section-title,
    .section-beyond-realism-banner .section-title,
    .section-weapons-controller-banner .section-title {
        font-size: 1.8rem;
        padding: 0 15px;
        line-height: 1.2;
    }
    
    .section-from-cockpit .section-subtitle {
        font-size: 16px;
        padding: 0 !important;
        line-height: 1.4;
        width: 100% !important;
        max-width: none !important;
    }
    
    .section-from-cockpit .section-roles {
        font-size: 14px;
        padding: 0 15px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .section-from-cockpit .section-description,
    .section-career-span .section-description,
    .section-early-life .section-description,
    .section-academy-1968 .section-description,
    .section-artistic-legacy .section-description,
    .section-paf-school-banner .section-description,
    .section-mission-banner .section-description,
    .section-beyond-realism-banner .section-description,
    .section-weapons-controller-banner .section-description,
    .section-jets-conversion-banner .section-description {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .section-from-cockpit .awards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 2rem auto;
        max-width: 400px;
    }
    
    .dual-image-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .six-image-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Reduce padding on mobile */
    .section-from-cockpit,
    .section-career-span,
    .section-early-life,
    .section-academy-1968,
    .section-flying-training,
    .section-passing-out,
    .section-artistic-legacy,
    .section-squadron-photo,
    .section-pilot-t33,
    .section-presidential-visit,
    .section-mission-banner,
    .section-beyond-realism-banner,
    .section-weapons-controller-banner,
    .section-paf-school-banner {
        padding: 60px 0;
    }
    
    .section-certificate {
        padding: 40px 0;
    }
    
    .section-pioneer-banner,
    .section-course-end-banner,
    .section-jets-conversion-banner,
    .section-flying-wing-banner {
        padding: 30px 0;
    }
}

@media (max-width: 480px) {
    .section-from-cockpit .section-title,
    .section-career-span .section-title,
    .section-early-life .section-title,
    .section-academy-1968 .section-title,
    .section-flying-training .section-title,
    .section-passing-out .section-title,
    .section-artistic-legacy .section-title,
    .section-paf-school-banner .section-title,
    .section-mission-banner .section-title,
    .section-beyond-realism-banner .section-title,
    .section-weapons-controller-banner .section-title {
        font-size: 1.5rem;
        padding: 0 10px;
        line-height: 1.3;
    }
    
    .section-from-cockpit .section-subtitle {
        font-size: 14px;
        padding: 0 !important;
        margin-bottom: 15px;
        width: 100% !important;
        max-width: none !important;
    }
    
    .section-from-cockpit .section-roles {
        font-size: 13px;
        padding: 0 15px;
        margin-bottom: 30px;
    }
    
    .section-from-cockpit .section-description,
    .section-career-span .section-description,
    .section-early-life .section-description,
    .section-academy-1968 .section-description,
    .section-artistic-legacy .section-description,
    .section-paf-school-banner .section-description,
    .section-mission-banner .section-description,
    .section-beyond-realism-banner .section-description,
    .section-weapons-controller-banner .section-description,
    .section-jets-conversion-banner .section-description {
        font-size: 14px;
        padding: 0 10px;
        line-height: 1.7;
    }
    
    .image-caption {
        font-size: 0.9rem;
    }
    
    .btn-view-more {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
    
    /* Further reduce padding on small screens */
    .section-from-cockpit,
    .section-career-span,
    .section-early-life,
    .section-academy-1968,
    .section-flying-training,
    .section-passing-out,
    .section-artistic-legacy,
    .section-squadron-photo,
    .section-pilot-t33,
    .section-presidential-visit,
    .section-mission-banner,
    .section-beyond-realism-banner,
    .section-weapons-controller-banner,
    .section-paf-school-banner {
        padding: 40px 0;
    }
    
    .six-image-grid .image-card {
        padding: 1rem;
    }
}

/* Extra small mobile devices */
@media (max-width: 360px) {
    .section-from-cockpit .section-title,
    .section-career-span .section-title,
    .section-early-life .section-title,
    .section-academy-1968 .section-title,
    .section-flying-training .section-title,
    .section-passing-out .section-title,
    .section-artistic-legacy .section-title,
    .section-paf-school-banner .section-title,
    .section-mission-banner .section-title,
    .section-beyond-realism-banner .section-title,
    .section-weapons-controller-banner .section-title {
        font-size: 1.3rem;
        padding: 0 5px;
        line-height: 1.2;
        margin-bottom: 20px;
    }
    
    .section-from-cockpit .section-subtitle {
        font-size: 13px;
        padding: 0 !important;
        margin-bottom: 10px;
        width: 100% !important;
        max-width: none !important;
    }
    
    .section-from-cockpit .section-roles {
        font-size: 12px;
        padding: 0 10px;
        margin-bottom: 25px;
    }
    
    .section-from-cockpit .section-description,
    .section-career-span .section-description,
    .section-early-life .section-description,
    .section-academy-1968 .section-description,
    .section-artistic-legacy .section-description,
    .section-paf-school-banner .section-description,
    .section-mission-banner .section-description,
    .section-beyond-realism-banner .section-description,
    .section-weapons-controller-banner .section-description,
    .section-jets-conversion-banner .section-description {
        font-size: 13px;
        padding: 0 8px;
        line-height: 1.6;
    }
    
    .section-artistic-legacy .section-subtitle {
        font-size: 14px;
        padding: 0 10px;
    }
    
    .image-caption {
        font-size: 0.8rem;
        padding: 0 8px;
    }
    
    .btn-view-more {
        padding: 8px 20px;
        font-size: 0.8rem;
        min-width: 120px;
    }
    
    .section-from-cockpit .award-content h3 {
        font-size: 12px;
        line-height: 1.5;
        padding: 0 5px;
    }
    
    .dual-image-grid .image-card .image-caption,
    .six-image-grid .image-card .image-caption {
        font-size: 0.8rem;
        padding: 0 5px;
    }
    
    /* Reduce container padding for very small screens */
    .container {
        padding: 0 10px;
    }
    
    /* Reduce section padding on extra small screens */
    .section-from-cockpit,
    .section-career-span,
    .section-early-life,
    .section-academy-1968,
    .section-flying-training,
    .section-passing-out,
    .section-artistic-legacy,
    .section-squadron-photo,
    .section-pilot-t33,
    .section-presidential-visit,
    .section-mission-banner,
    .section-beyond-realism-banner,
    .section-weapons-controller-banner,
    .section-paf-school-banner {
        padding: 30px 0;
    }
}