/* ===== ABOUT PAGES GENERAL STYLES ===== */
.about-main {
    margin-top: 140px;
    min-height: calc(100vh - 140px);
    background-color: #fff;
    padding-bottom: 60px;
}

/* Page Header Banner */
.page-header-banner {
    background: linear-gradient(135deg, #042240 0%, #024f9c 100%);
    color: white;
    padding: 60px 40px;
    text-align: center;
    margin-bottom: 40px;
}

.page-header-banner h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
}

.page-header-banner p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Breadcrumb */
.breadcrumb {
    max-width: 1400px;
    margin: 0 auto 30px;
    padding: 0 40px;
}

.breadcrumb ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.breadcrumb li {
    font-size: 14px;
    color: #024f9c;
}

.breadcrumb a {
    color: #495057;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #2c3e50;
}

.breadcrumb li:not(:last-child)::after {
    content: '›';
    margin-left: 10px;
    color: #9ca3af;
}

/* Content Container */
.about-content-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Content Section */
.content-section {
    background-color: white;
    padding: 50px 40px;
    margin-bottom: 40px;
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.content-section h2 {
    font-size: 32px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    border-bottom: 3px solid #024f9c;
    padding-bottom: 15px;
}

.content-section h3 {
    font-size: 24px;
    font-weight: 600;
    color: #34495e;
    margin-top: 30px;
    margin-bottom: 15px;
}

.content-section p {
    font-size: 16px;
    line-height: 1.8;
    color: #495057;
    margin-bottom: 20px;
    text-align: justify;
}

.content-section ul,
.content-section ol {
    margin-left: 30px;
    margin-bottom: 20px;
}

.content-section li {
    font-size: 16px;
    line-height: 1.8;
    color: #495057;
    margin-bottom: 10px;
}

/* Two Column Layout */
.two-column-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 30px;
}

.column-box {
    background-color: #fff;
    padding: 30px;
    border-radius: 4px;
}

.column-box h3 {
    font-size: 22px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
}

.column-box p {
    font-size: 15px;
    line-height: 1.7;
    color: #495057;
}

/* Team Grid */
.team-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
}

.team-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 220px;
    transition: transform 0.3s ease;
}

.team-card:hover {
    transform: none;
}

.team-card-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(135deg, #024f9c, #0d7ef5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: white;
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(2, 79, 156, 0.35);
    border: 4px solid #ffffff;
    outline: 3px solid #024f9c;
    margin-bottom: 18px;
    flex-shrink: 0;
}

.team-card-content {
    padding: 0;
}

.team-card-content h3 {
    font-size: 17px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 6px;
}

.team-card-content .position {
    font-size: 12px;
    color: #024f9c;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.team-card-content p {
    font-size: 13px;
    line-height: 1.6;
    color: #495057;
}

/* Founders row — larger circles */
.team-grid.founders-grid .team-card-image {
    width: 180px;
    height: 180px;
    font-size: 58px;
}

/* Timeline (for History) */
.timeline {
    position: relative;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #dee2e6;
    transform: none;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-content {
    width: 45%;
    background-color: #fff;
    padding: 25px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.timeline-year {
    position: absolute;
    left: 50%;
    transform: none;
    background-color: #024f9c;
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.timeline-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}

.timeline-content p {
    font-size: 14px;
    line-height: 1.6;
    color: #495057;
    margin: 0;
}

/* Testimonials — Split Layout */
.testimonials-split {
    display: flex;
    align-items: flex-start;
    min-height: calc(100vh - 140px);
}

/* Left: sticky image panel — 60% width */
.testimonials-image-panel {
    position: sticky;
    top: 140px;
    width: 60%;
    height: calc(100vh - 140px);
    flex-shrink: 0;
    overflow: hidden;
}

.testimonials-panel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Full overlay — dark at top and bottom, lighter in middle */
.testimonials-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(4, 34, 64, 0.88) 0%,
        rgba(4, 34, 64, 0.18) 35%,
        rgba(4, 34, 64, 0.18) 65%,
        rgba(4, 34, 64, 0.84) 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 36px 40px;
}

/* Top: logo + brand name */
.testimonials-overlay-top {
    display: flex;
    align-items: center;
    gap: 14px;
}

.overlay-logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.overlay-brand-name {
    font-size: 17px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.03em;
}

/* Bottom: tagline + headline + sub */
.overlay-tagline {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 10px;
}

.testimonials-overlay-bottom h2 {
    font-size: 26px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.25;
    margin-bottom: 12px;
}

.overlay-sub {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.65;
    margin: 0;
}

/* Right: scrollable testimonials panel */
.testimonials-scroll-panel {
    flex: 1;
    min-width: 0;
    background-color: #ffffff;
}

.testimonials-scroll-inner {
    padding: 48px 40px 60px;
}

.testimonials-heading {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 6px;
}

.testimonials-intro {
    font-size: 13px;
    line-height: 1.75;
    color: #6b7280;
    margin-bottom: 36px;
}

/* Thread-style testimonial cards */
.testimonial-card {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    margin-bottom: 28px;
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #024f9c, #0d7ef5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 12px;
    flex-shrink: 0;
}

.testimonial-identity h4 {
    font-size: 13px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 2px;
}

.testimonial-identity span {
    font-size: 11px;
    color: #9ca3af;
}

.testimonial-bubble {
    background: #f3f4f6;
    border-radius: 0 14px 14px 14px;
    padding: 14px 18px;
    margin-left: 52px;
}

.testimonial-bubble p {
    font-size: 13px;
    line-height: 1.72;
    color: #374151;
    margin: 0;
    font-style: italic;
}

/* CTA block */
.testimonials-cta {
    background-color: #042240;
    color: #fff;
    padding: 30px 34px;
    border-radius: 6px;
    margin-top: 20px;
}

.testimonials-cta h3 {
    font-size: 17px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

.testimonials-cta p {
    font-size: 13px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.82);
    margin: 0;
}

/* Responsive: stack vertically on smaller screens */
@media screen and (max-width: 960px) {
    .testimonials-split {
        flex-direction: column;
    }

    .testimonials-image-panel {
        position: relative;
        top: auto;
        width: 100%;
        height: 340px;
    }

    .testimonials-scroll-inner {
        padding: 30px 24px 40px;
    }
}

@media screen and (max-width: 480px) {
    .testimonials-image-panel {
        height: 260px;
    }

    .testimonials-overlay-bottom h2 {
        font-size: 20px;
    }

    .testimonials-scroll-inner {
        padding: 24px 16px 36px;
    }

    .testimonial-bubble {
        margin-left: 0;
        border-radius: 8px;
    }

    .testimonials-cta {
        padding: 22px 18px;
    }
}

/* Policies List */
.policies-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.policies-list li {
    background-color: #fff;
    padding: 20px 25px;
    margin-bottom: 15px;
    border-radius: 4px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.policies-list li:hover {
    background-color: #e9ecef;
    border-left-color: #495057;
    transform: none;
}

.policies-list li strong {
    color: #2c3e50;
    font-size: 18px;
    display: block;
    margin-bottom: 10px;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.stat-box {
    background-color: #fff;
    padding: 30px;
    text-align: center;
    border-radius: 4px;
    border-top: 4px solid #024f9c;
}

.stat-box .number {
    font-size: 48px;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1;
    margin-bottom: 10px;
}

.stat-box .label {
    font-size: 16px;
    color: #024f9c;
    font-weight: 600;
    text-transform: uppercase;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .about-main {
        margin-top: 120px;
    }
    
    .page-header-banner {
        padding: 40px 20px;
    }
    
    .page-header-banner h1 {
        font-size: 32px;
    }
    
    .page-header-banner p {
        font-size: 16px;
    }
    
    .about-content-container {
        padding: 0 20px;
    }
    
    .content-section {
        padding: 30px 25px;
    }
    
    .content-section h2 {
        font-size: 26px;
    }
    
    .two-column-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        flex-direction: column !important;
        align-items: flex-start;
        padding-left: 60px;
    }
    
    .timeline-content {
        width: 100%;
    }
    
    .timeline-year {
        left: 20px;
        transform: none;
    }
    
    .team-grid {
        gap: 28px;
    }
    .team-card {
        width: 160px;
    }
    .team-card-image {
        width: 120px;
        height: 120px;
        font-size: 38px;
    }
    .team-grid.founders-grid .team-card-image {
        width: 140px;
        height: 140px;
        font-size: 44px;
    }
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 600px) {
    .about-main { margin-top: 100px; }

    /* Internship form — collapse 2-col fieldset grids to 1 col */
    #intern-form fieldset > div {
        grid-template-columns: 1fr !important;
    }
}

@media screen and (max-width: 480px) {
    .about-main { margin-top: 95px; }

    .page-header-banner {
        padding: 28px 16px;
    }

    .page-header-banner h1 {
        font-size: 26px;
    }

    .page-header-banner p {
        font-size: 14px;
    }

    .breadcrumb {
        padding: 0 14px;
    }

    .about-content-container {
        padding: 0 14px;
    }

    .content-section {
        padding: 20px 16px;
    }

    .content-section h2 {
        font-size: 22px;
    }

    .content-section h3 {
        font-size: 18px;
    }
}