/* =========================================
   ABOUT PAGE STYLES
   ========================================= */

/* --- Hero Section --- */
.about-hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    /* Dark & Yellow Gradient Background */
    background: linear-gradient(135deg, #0a0a0a 0%, #161616 60%, #3a2c00 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -80px; /* Offset fixed header */
    padding-top: 80px; /* Compensate for fixed header overlap */
    overflow: hidden;
}

/* Yellow Glow Accent */
.about-hero::after {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 120%;
    background: radial-gradient(circle, rgba(244, 180, 0, 0.1) 0%, transparent 70%);
    z-index: 0;
}

.about-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, transparent 100%);
    z-index: 1;
}

.about-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
}

.about-logo {
    width: 100px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 20px rgba(244, 180, 0, 0.3));
    animation: floatLogo 6s ease-in-out infinite;
}

@keyframes floatLogo {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.about-hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.1;
    color: white;
}

.about-hero-content h1 span {
    color: var(--primary-yellow);
    display: block;
    font-size: 5rem;
}

.about-tagline {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.9);
    font-weight: 300;
    letter-spacing: 1px;
    max-width: 600px;
    margin: 0 auto;
}

/* --- Sub Navigation --- */
.about-nav {
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    position: sticky;
    top: 80px; /* Adjust based on main header height */
    z-index: 100;
    padding: 15px 0;
}

.about-nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 40px;
}

.about-nav a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    position: relative;
}

.about-nav a:hover,
.about-nav a.active {
    color: var(--primary-yellow);
}

.about-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-yellow);
    box-shadow: 0 0 10px var(--primary-yellow);
}

/* --- General Section Styles --- */
.about-section {
    padding: 100px 0;
    position: relative;
}

.alt-bg {
    background: var(--card-bg); /* Darker background */
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.section-title-wrapper {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    color: var(--primary-yellow);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
}

.section-title-wrapper h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: white;
}

.title-line {
    width: 80px;
    height: 3px;
    background: var(--primary-yellow);
    margin: 0 auto;
    border-radius: 3px;
}

/* --- History Timeline --- */
.timeline-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 0;
}

.timeline-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: rgba(255,255,255,0.1);
}

.timeline-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-row:last-child {
    margin-bottom: 0;
}

.timeline-content {
    width: 45%;
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    position: relative;
    transition: transform 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    border-color: rgba(244, 180, 0, 0.3);
}

.timeline-row:nth-child(odd) .timeline-content {
    margin-right: auto;
}

.timeline-row:nth-child(even) .timeline-content {
    margin-left: auto;
    text-align: right;
}

.timeline-row:nth-child(even) {
    flex-direction: row-reverse;
}

/* Updated Timeline Dot (No Years) */
.timeline-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: var(--primary-yellow);
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 0 5px var(--dark-bg), 0 0 15px rgba(244, 180, 0, 0.4);
    display: none !important;
}

/* Org Chart */
.org-chart-wrapper {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../images/bg-pattern.png');
    background-size: cover;
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-form {
    display: flex;
    gap: 10px;
    margin-top: 30px;
}

.cta-form input {
    flex: 1;
    padding: 15px;
    border-radius: 50px;
    border: none;
    background: rgba(255,255,255,0.1);
    color: white;
    backdrop-filter: blur(5px);
}

.cta-form button {
    border-radius: 50px;
    padding: 0 30px;
}

/* Responsive */
@media (max-width: 768px) {
    .about-hero-content h1 { font-size: 3rem; }
    .about-hero-content h1 span { font-size: 3.5rem; }
    
    .timeline-container::before { left: 20px; }
    
    .timeline-row, .timeline-row:nth-child(even) {
        flex-direction: column;
        align-items: flex-start;
        margin-left: 50px;
    }
    
    .timeline-content, .timeline-row:nth-child(even) .timeline-content {
        width: 100%;
        text-align: left;
        margin: 0;
    }
    
    .timeline-dot {
        left: 20px;
        top: 20px; /* place dot at card top */
        transform: translate(-50%, 0);
    }
    
    .about-nav ul { gap: 15px; flex-wrap: wrap; }
    .about-nav a { font-size: 0.8rem; }
}
