/* ===========================
   About SOTC Page Styles
   =========================== */

/* About Hero Section */
.about-hero {
    position: relative;
    height: 45vh;
    min-height: 340px;
    background-image: url('https://images.unsplash.com/photo-1526778548025-fa2f459cd5c1?auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.about-hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.35) 0%,
        rgba(0, 0, 0, 0.45) 100%
    );
}

.about-hero-content {
    position: relative;
    z-index: 10;
    animation: fadeInAbout 0.6s ease;
}

@keyframes fadeInAbout {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-hero .since-badge {
    display: inline-block;
    background-color: var(--primary-red);
    color: white;
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    font-family: var(--font-poppins);
    text-transform: uppercase;
}

.about-hero h1 {
    color: white;
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 14px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
    font-family: var(--font-poppins);
}

.about-hero p {
    font-size: 1.15rem;
    font-weight: 500;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
    font-family: var(--font-poppins);
    opacity: 0.95;
    max-width: 500px;
    margin: 0 auto;
}

/* Explore Tags Bar */
.explore-tags-bar {
    padding: 18px 0;
    border-bottom: 1px solid #e8e8e8;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.explore-tags-bar::-webkit-scrollbar {
    display: none;
}

.explore-tags-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 85px;
    white-space: nowrap;
}

.explore-label {
    color: var(--primary-red);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-family: var(--font-poppins);
    flex-shrink: 0;
}

.explore-tag {
    display: inline-block;
    padding: 8px 20px;
    border: 1px solid #d0d0d0;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-main);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-poppins);
    text-decoration: none;
    flex-shrink: 0;
}

.explore-tag:hover {
    border-color: var(--primary-red);
    color: var(--primary-red);
    background: #fff5f5;
}

/* Story & Legacy Section */
.story-legacy-section {
    padding: 60px 0 40px;
    background: linear-gradient(180deg, #f5f8ff 0%, #ffffff 100%);
}

.story-legacy-header {
    text-align: center;
    margin-bottom: 40px;
}

.story-legacy-header .section-subtitle {
    display: block;
    margin-bottom: 10px;
}

.story-legacy-header h2 {
    font-size: 2.4rem;
    font-weight: 800;
    font-family: var(--font-poppins);
}

/* Story Tabs */
.story-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 40px;
}

.story-tab {
    padding: 14px 28px;
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
    font-family: var(--font-poppins);
}

.story-tab:hover {
    color: var(--primary-red);
}

.story-tab.active {
    color: var(--primary-red);
    font-weight: 600;
}

.story-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-red);
    border-radius: 2px 2px 0 0;
}

/* Tab Content */
.story-tab-content {
    display: none;
    animation: fadeTabContent 0.4s ease;
}

.story-tab-content.active {
    display: block;
}

@keyframes fadeTabContent {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Our Vision Tab */
.vision-content {
    max-width: 750px;
    margin: 0 auto;
    padding: 20px 0 40px;
}

.vision-content p {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 22px;
    font-family: var(--font-poppins);
}

.vision-tagline {
    font-style: italic;
    font-weight: 700 !important;
    color: var(--primary-red) !important;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-top: 10px;
}

/* Our Story Tab */
.story-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: start;
    padding: 20px 0 40px;
}

.story-image {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 320px;
}

.story-text h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    font-family: var(--font-poppins);
    line-height: 1.3;
}

.story-text h3 .year-highlight {
    color: var(--primary-red);
    font-weight: 800;
}

.story-text p {
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--text-muted);
    margin-bottom: 16px;
    font-family: var(--font-poppins);
}

/* Manifesto Tab */
.manifesto-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    align-items: start;
    padding: 20px 0 40px;
}

.manifesto-text p {
    font-style: italic;
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--text-main);
    margin-bottom: 24px;
    font-family: var(--font-poppins);
}

.manifesto-image {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.manifesto-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 380px;
}

/* Why Choose Section (About variant) */
.about-why-choose {
    background-image: url('assets/images/promise.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 60px 0;
}

/* Active nav link */
.nav-links a.active-link {
    color: var(--primary-red);
    font-weight: 600;
}

/* Responsive */
@media (max-width: 992px) {
    .story-content {
        grid-template-columns: 1fr;
    }

    .manifesto-content {
        grid-template-columns: 1fr;
    }

    .explore-tags-inner {
        padding: 0 20px;
    }

    .about-hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .about-hero {
        height: 35vh;
        min-height: 260px;
    }

    .about-hero h1 {
        font-size: 2rem;
    }

    .about-hero p {
        font-size: 1rem;
    }

    .story-legacy-header h2 {
        font-size: 1.8rem;
    }

    .story-tab {
        padding: 10px 16px;
        font-size: 0.9rem;
    }

    .vision-content p {
        font-size: 1rem;
    }
}
