/* =========================================================
   P.T. LEE CHENGALVARAYA NAICKER TRUST
   ABOUT US - STYLESHEET (about.css)
   Focused exclusively on the Trust, Founder & Historic Will
   ========================================================= */

:root {
    --about-primary: #071738;
    --about-primary-light: #0d2861;
    --about-accent: #0284c7;
    --about-secondary: #e2134f;
    --about-gold: #d97706;
    --about-gold-light: #fef3c7;
    --about-text: #1e293b;
    --about-muted: #64748b;
    --about-light: #f8fafc;
    --about-border: #e2e8f0;
    --about-shadow: 0 10px 30px -10px rgba(7, 23, 56, 0.08);
    --about-shadow-lg: 0 20px 45px -15px rgba(7, 23, 56, 0.15);
    --font-heading: 'Poppins', sans-serif;
    --font-serif: 'Cinzel', serif;
}

/* =========================================================
   GLOBAL RESET & REMOVAL OF UNWANTED UNDERLINES
   ========================================================= */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Strict removal of unwanted text underlines */
a,
a:hover,
a:focus,
a:active,
.about-read-btn,
.about-read-btn:hover,
.btn-hero-primary,
.btn-hero-primary:hover,
.btn-hero-secondary,
.btn-hero-secondary:hover,
.back-to-top,
.back-to-top:hover,
h1, h2, h3, h4, span, strong {
    text-decoration: none !important;
}

/* Suppress unwanted divider bars or pseudo-element underlines */
.title-line {
    display: none !important;
}

.section-heading h2::after,
.section-heading::after,
.about-founder-content h2::after,
.legacy-content h2::after {
    display: none !important;
    content: none !important;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--about-text);
    background-color: #ffffff;
    line-height: 1.7;
    font-size: 15px;
    overflow-x: hidden;
}

.about-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* =========================================================
   SECTION HEADINGS
   ========================================================= */
.section-heading {
    margin-bottom: 50px;
}

.section-heading.center-heading {
    text-align: center;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

.section-small-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--about-secondary);
    background: rgba(226, 19, 79, 0.08);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 14px;
}

.section-small-title i {
    font-size: 8px;
}

.section-heading h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--about-primary);
    line-height: 1.25;
    margin-bottom: 16px;
}

.section-heading h2 span {
    color: var(--about-secondary);
}

.section-heading p {
    font-size: 16px;
    color: var(--about-muted);
}

/* =========================================================
   1. HERO SECTION
   ========================================================= */
.about-hero {
    position: relative;
    background: linear-gradient(135deg, #071738 0%, #0d2861 60%, #173b87 100%);
    color: #ffffff;
    padding: 130px 0 95px;
    overflow: hidden;
}

.about-hero-overlay {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 15% 25%, rgba(226, 19, 79, 0.22) 0%, transparent 45%),
        radial-gradient(circle at 85% 75%, rgba(2, 132, 199, 0.22) 0%, transparent 45%);
    pointer-events: none;
}

.about-hero-content {
    position: relative;
    z-index: 2;
    max-width: 920px;
}

.about-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    color: #fcd34d;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.2px;
    padding: 6px 18px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    margin-bottom: 22px;
}

.hero-founder-title {
    font-size: 44px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 8px;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.hero-founder-title span {
    display: block;
    font-size: 24px;
    font-weight: 600;
    color: #fcd34d;
    margin-top: 6px;
    letter-spacing: 1px;
}

.hero-tamil-subtitle {
    font-size: 16px;
    color: #cbd5e1;
    margin-bottom: 20px;
    font-weight: 400;
}

.hero-description {
    font-size: 17.5px;
    color: #e2e8f0;
    line-height: 1.8;
    margin-bottom: 32px;
    max-width: 840px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--about-secondary);
    color: #ffffff !important;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    box-shadow: 0 8px 24px rgba(226, 19, 79, 0.4);
    transition: all 0.3s ease;
}

.btn-hero-primary:hover {
    background: #c01048;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(226, 19, 79, 0.5);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: #ffffff !important;
    border: 2px solid rgba(255, 255, 255, 0.4);
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #ffffff;
    transform: translateY(-2px);
}

/* =========================================================
   2. STATS BANNER
   ========================================================= */
.trust-stats-banner {
    position: relative;
    margin-top: -45px;
    z-index: 10;
    padding-bottom: 40px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    background: #ffffff;
    padding: 24px;
    border-radius: 20px;
    box-shadow: var(--about-shadow-lg);
    border: 1px solid var(--about-border);
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 18px;
    border-right: 1px solid var(--about-border);
}

.stat-card:last-child {
    border-right: none;
}

.stat-icon {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(7, 23, 56, 0.05);
    color: var(--about-secondary);
    font-size: 24px;
    flex-shrink: 0;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 28px;
    font-weight: 800;
    color: var(--about-primary);
    line-height: 1.1;
}

.stat-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--about-muted);
}

/* =========================================================
   3. FOUNDER INTRODUCTION SECTION
   ========================================================= */
.about-founder-section {
    padding: 85px 0;
    background: #ffffff;
}

.about-founder-grid {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 60px;
    align-items: flex-start;
}

.about-founder-image {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-image-frame {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--about-shadow-lg);
    border: 6px solid #ffffff;
    background: #f1f5f9;
}

.about-image-frame img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.about-image-frame:hover img {
    transform: scale(1.03);
}

.about-image-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(7, 23, 56, 0.95), rgba(7, 23, 56, 0.4));
    color: #ffffff;
    padding: 24px 20px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.about-image-label i {
    font-size: 26px;
    color: #fcd34d;
}

.about-image-label strong {
    display: block;
    font-size: 16px;
    font-weight: 700;
}

.about-image-label span {
    font-size: 13px;
    color: #cbd5e1;
}

.founder-snapshot-box {
    background: var(--about-light);
    border: 1px solid var(--about-border);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.snapshot-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13.5px;
    padding-bottom: 8px;
    border-bottom: 1px dashed #cbd5e1;
}

.snapshot-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.snapshot-tag {
    color: var(--about-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.snapshot-row strong {
    color: var(--about-primary);
    font-weight: 700;
}

.about-founder-content h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--about-primary);
    line-height: 1.25;
    margin-bottom: 20px;
}

.about-founder-content h2 span {
    color: var(--about-secondary);
    display: block;
}

.about-founder-content p {
    font-size: 15.5px;
    color: #334155;
    margin-bottom: 18px;
    line-height: 1.8;
}

.quote-card {
    position: relative;
    background: linear-gradient(135deg, rgba(7, 23, 56, 0.04), rgba(226, 19, 79, 0.04));
    border-left: 4px solid var(--about-secondary);
    border-radius: 0 16px 16px 0;
    padding: 24px 28px 24px 45px;
    margin: 28px 0;
}

.quote-icon {
    position: absolute;
    top: 20px;
    left: 16px;
    font-size: 20px;
    color: var(--about-secondary);
    opacity: 0.6;
}

.quote-card blockquote {
    font-size: 15.5px;
    font-style: italic;
    font-weight: 600;
    color: var(--about-primary);
    line-height: 1.7;
}

.about-read-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--about-primary);
    color: #ffffff !important;
    padding: 14px 30px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 6px 18px rgba(7, 23, 56, 0.2);
}

.about-read-btn:hover {
    background: var(--about-secondary);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(226, 19, 79, 0.35);
}

/* =========================================================
   4. FOUNDER STORY & TIMELINE
   ========================================================= */
.founder-story {
    padding: 90px 0;
    background: var(--about-light);
}

.story-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
    margin-bottom: 60px;
}

.story-card {
    background: #ffffff;
    border: 1px solid var(--about-border);
    border-radius: 20px;
    padding: 34px 28px;
    box-shadow: var(--about-shadow);
    transition: all 0.3s ease;
}

.story-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--about-shadow-lg);
    border-color: rgba(226, 19, 79, 0.3);
}

.story-icon {
    width: 62px;
    height: 62px;
    border-radius: 16px;
    background: rgba(226, 19, 79, 0.08);
    color: var(--about-secondary);
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
}

.story-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--about-primary);
    margin-bottom: 12px;
}

.story-card p {
    font-size: 14.5px;
    color: var(--about-muted);
    line-height: 1.7;
}

/* Timeline */
.timeline-wrapper {
    background: linear-gradient(135deg, #071738 0%, #0d2861 100%);
    border-radius: 24px;
    padding: 45px 35px;
    color: #ffffff;
}

.timeline-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 35px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fcd34d;
}

.timeline-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.t-step {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 22px 18px;
    transition: all 0.3s ease;
}

.t-step:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-4px);
}

.t-badge {
    font-size: 20px;
    font-weight: 800;
    color: #fcd34d;
    margin-bottom: 8px;
}

.t-step h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #ffffff;
}

.t-step p {
    font-size: 13px;
    color: #cbd5e1;
    line-height: 1.5;
}

/* =========================================================
   5. THE WILL & LEGACY
   ========================================================= */
.legacy-section {
    padding: 90px 0;
    background: #ffffff;
}

.legacy-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 50px;
    align-items: center;
}

.legacy-content h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--about-primary);
    margin-bottom: 20px;
}

.legacy-content h2 span {
    color: var(--about-secondary);
}

.legacy-content p {
    font-size: 15.5px;
    color: #334155;
    margin-bottom: 20px;
    line-height: 1.8;
}

.will-points-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 24px;
}

.will-point-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: var(--about-light);
    border: 1px solid var(--about-border);
    padding: 14px 18px;
    border-radius: 12px;
}

.will-point-item i {
    color: var(--about-secondary);
    font-size: 18px;
    margin-top: 3px;
    flex-shrink: 0;
}

.will-point-item span {
    font-size: 14.5px;
    color: var(--about-text);
    font-weight: 500;
}

.legacy-highlight {
    background: linear-gradient(135deg, #071738 0%, #0d2861 100%);
    color: #ffffff;
    border-radius: 24px;
    padding: 45px 36px;
    text-align: center;
    box-shadow: var(--about-shadow-lg);
}

.legacy-number {
    font-size: 48px;
    font-weight: 800;
    color: #fcd34d;
    line-height: 1;
    margin-bottom: 10px;
}

.legacy-number.small {
    font-size: 42px;
    color: #f87171;
}

.legacy-highlight h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #ffffff;
}

.legacy-highlight p {
    font-size: 14px;
    color: #cbd5e1;
    line-height: 1.6;
}

.legacy-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.15);
    margin: 28px 0;
}

/* =========================================================
   6. INITIALS SECTION (P.T. LEE) - EDGE-TO-EDGE FITTING
   ========================================================= */
.initials-section {
    padding: 90px 0;
    background: var(--about-light);
}

.initials-box {
    position: relative;
    display: grid;
    grid-template-columns: 240px 1fr;
    align-items: center;
    gap: 60px;
    padding: 60px;
    border: 1px solid var(--about-border);
    border-radius: 28px;
    background: #ffffff;
    box-shadow: var(--about-shadow-lg);
    overflow: hidden;
}

.initials-box::before {
    content: "";
    position: absolute;
    width: 380px;
    height: 380px;
    top: -200px;
    right: -150px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(226, 19, 79, 0.08), rgba(53, 108, 226, 0.1));
    pointer-events: none;
}

/* Ring Fix: Image Fills 100% of the Ring Flush to the Border */
.initials-symbol {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 190px;
    height: 190px;
    margin: auto;
    padding: 0; /* No inner padding gap */
    border-radius: 50%;
    background: #ffffff;
    border: 6px solid #ffffff;
    box-shadow:
        0 0 0 2px rgba(53, 108, 226, 0.15),
        0 20px 45px rgba(23, 32, 51, 0.15);
}

.initials-symbol::after {
    content: "";
    position: absolute;
    inset: -12px;
    border: 2px dashed rgba(226, 19, 79, 0.35);
    border-radius: 50%;
    animation: initialsRotate 18s linear infinite;
    pointer-events: none;
}

.initials-symbol img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Fully expands to circular boundary */
    border-radius: 50%;
    display: block;
}

@keyframes initialsRotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.initials-content h2 {
    font-size: 34px;
    font-weight: 800;
    color: var(--about-primary);
    margin-bottom: 16px;
}

.initials-content h2 span {
    color: var(--about-secondary);
}

.initials-content p {
    font-size: 15px;
    color: #475569;
    margin-bottom: 22px;
    line-height: 1.8;
}

.initials-breakdown {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.initial-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 16px;
    border-radius: 14px;
}

.initial-letter {
    font-size: 26px;
    font-weight: 800;
    color: var(--about-secondary);
    background: rgba(226, 19, 79, 0.1);
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.initial-desc strong {
    display: block;
    font-size: 14.5px;
    color: var(--about-primary);
}

.initial-desc span {
    font-size: 12.5px;
    color: var(--about-muted);
}

.highlight-text {
    position: relative;
    padding: 18px 22px;
    border-left: 4px solid var(--about-secondary);
    border-radius: 0 12px 12px 0;
    background: linear-gradient(90deg, rgba(226, 19, 79, 0.08), rgba(53, 108, 226, 0.04));
    color: var(--about-primary);
    font-weight: 600;
    font-size: 14.5px;
    line-height: 1.7;
}

/* =========================================================
   7. BOARD OF TRUSTEES SECTION
   ========================================================= */
.trustees-section {
    padding: 90px 0;
    background: #ffffff;
}

.trustee-card-container {
    max-width: 720px;
    margin: 0 auto;
}

.trustee-featured-card {
    background: #ffffff;
    border: 1px solid var(--about-border);
    border-radius: 24px;
    padding: 45px 40px;
    text-align: center;
    box-shadow: var(--about-shadow-lg);
    position: relative;
    overflow: hidden;
}

.trustee-featured-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--about-secondary), var(--about-accent));
}

.trustee-icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: rgba(7, 23, 56, 0.06);
    color: var(--about-primary);
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.trustee-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--about-secondary);
    background: rgba(226, 19, 79, 0.08);
    padding: 4px 16px;
    border-radius: 50px;
    margin-bottom: 12px;
}

.trustee-featured-card h3 {
    font-size: 24px;
    font-weight: 800;
    color: var(--about-primary);
    margin-bottom: 6px;
}

.trustee-role {
    font-size: 15px;
    font-weight: 600;
    color: var(--about-gold);
    margin-bottom: 16px;
}

.trustee-desc {
    font-size: 14.5px;
    color: var(--about-muted);
    line-height: 1.8;
    max-width: 580px;
    margin: 0 auto;
}

/* =========================================================
   BACK TO TOP BUTTON
   ========================================================= */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--about-secondary);
    color: #ffffff !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    z-index: 999;
    box-shadow: 0 8px 24px rgba(226, 19, 79, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--about-primary);
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(7, 23, 56, 0.4);
}

/* =========================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================= */
@media (max-width: 1024px) {
    .about-founder-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image-frame img {
        height: 380px;
    }

    .legacy-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .initials-box {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 40px 30px;
        gap: 35px;
    }

    .initials-breakdown {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .hero-founder-title {
        font-size: 32px;
    }

    .hero-founder-title span {
        font-size: 19px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-card {
        border-right: none;
    }

    .section-heading h2 {
        font-size: 28px;
    }

    .about-hero {
        padding: 100px 0 80px;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn-hero-primary, .btn-hero-secondary {
        width: 100%;
        justify-content: center;
    }

    .initials-symbol {
        width: 160px;
        height: 160px;
    }
}
