/* =========================================
   ABOUT PAGE SPECIFIC STYLES
   ========================================= */

/* --- 1. HERO SECTION --- */
.about-hero {
    position: relative;
    height: 60vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Industrial Background Image */
    background-image: url('/public/Images/about.png'); 
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax Effect */
    margin-top: var(--nav-height); 
    overflow: hidden;
}

.about-hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1;
}

.about-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 900px;
    padding: 0 20px;
}

.about-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease forwards 0.3s;
    color: white;
}

.about-hero p {
    font-size: 1.2rem;
    color: #fbfbfb;
    font-weight: 300;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease forwards 0.6s;
}

/* --- 2. THE STORY --- */
.story-section {
    padding: 100px 0;
    background: var(--bg-body);
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.story-content h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    position: relative;
}

.story-content h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--secondary);
    margin-top: 15px;
}

.story-content p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.8;
    text-align: justify;
}

.story-img-box {
    position: relative;
    height: 450px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.story-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.story-img-box:hover img {
    transform: scale(1.05);
}

/* --- 3. TIMELINE SECTION --- */
.timeline-section {
    padding: 100px 0;
    background: #f1f5f9;
}

.timeline-header {
    text-align: center;
    margin-bottom: 60px;
}

.timeline-track {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

/* Center Line */
.timeline-track::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #cbd5e1;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 20px 40px;
    box-sizing: border-box;
    opacity: 0; /* JS se visible hoga */
    transition: all 0.6s ease;
}

.timeline-item.left { left: 0; text-align: right; transform: translateX(-50px); }
.timeline-item.right { left: 50%; text-align: left; transform: translateX(50px); }

/* Animation State */
.timeline-item.active {
    opacity: 1;
    transform: translateX(0);
}

/* Timeline Dot */
.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--secondary);
    border: 4px solid white;
    border-radius: 50%;
    top: 25px;
    z-index: 1;
    box-shadow: 0 0 0 2px var(--secondary);
}

.timeline-item.left::after { right: -10px; }
.timeline-item.right::after { left: -10px; }

.year-badge {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 10px;
    display: block;
}

.timeline-content h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--text-main);
}

.timeline-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* --- 4. CAPABILITIES --- */
.capabilities-section {
    padding: 100px 0;
    background: var(--primary);
    color: white;
    background-image: linear-gradient(to right, #0f172a, #1e293b);
}

.cap-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.cap-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 8px;
    transition: 0.3s;
}

.cap-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-5px);
    border-color: var(--secondary);
}

.cap-icon {
    font-size: 2rem;
    margin-bottom: 20px;
}

.cap-card h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.cap-list {
    list-style: none;
    padding: 0;
}

.cap-list li {
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cap-list li::before {
    content: '•';
    color: var(--secondary);
}

/* --- 5. APPROACH --- */
.approach-section {
    padding: 100px 0;
    background: var(--bg-body);
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

.approach-item { padding: 20px; }

.approach-number {
    font-family: 'Oswald', sans-serif;
    font-size: 4rem;
    color: rgba(15, 23, 42, 0.1); /* Faded Number */
    font-weight: 700;
    line-height: 1;
    margin-bottom: -20px;
    display: block;
    position: relative;
    z-index: 0;
}

.approach-item h3 {
    position: relative;
    z-index: 1;
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primary);
}

/* --- 6. CTA --- */
.cta-section {
    padding: 80px 0;
    background: url('https://images.unsplash.com/photo-1533062602769-12297127b14d?q=80&w=1920&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    position: relative;
    text-align: center;
    color: white;
}

.cta-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(249, 115, 22, 0.9); /* Orange Overlay */
    z-index: 1;
}

.cta-content { position: relative; z-index: 2; }

.cta-content h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.cta-btn-white {
    background: white;
    color: var(--secondary);
    border: 2px solid white;
    padding: 15px 40px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    display: inline-block;
    transition: 0.3s;
}

.cta-btn-white:hover {
    background: transparent;
    color: white;
}

/* --- ANIMATION UTILS --- */
@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal-on-scroll.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .story-grid { grid-template-columns: 1fr; }
    .story-img-box { height: 350px; margin-top: 30px; }
    
    /* Mobile Timeline */
    .timeline-track::before { left: 30px; }
    .timeline-item { width: 100%; padding-left: 70px; padding-right: 25px; }
    .timeline-item.left, .timeline-item.right { text-align: left; left: 0; transform: none; }
    .timeline-item.left::after, .timeline-item.right::after { left: 20px; }
    
    .cap-grid, .approach-grid { grid-template-columns: 1fr; gap: 30px; }
    
    .about-hero h1 { font-size: 2.2rem; }
    .cta-content h2 { font-size: 1.8rem; }
}