﻿/* Timeline Hero Section */
.timeline-hero-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%);
    position: relative;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="timeline-pattern" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="%23a7d9f8" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23timeline-pattern)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

.timeline-hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.timeline-hero-subtitle {
    font-size: 1.5rem;
    color: #e3f2fd;
    margin-bottom: 15px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.timeline-hero-title {
    font-size: 3.8rem;
    color: #ffffff;
    margin-bottom: 30px;
    font-weight: 800;
    line-height: 1.2;
    position: relative;
}

.timeline-hero-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 5px;
    background: linear-gradient(90deg, #ffffff, #e3f2fd);
    border-radius: 3px;
}

.timeline-hero-description {
    font-size: 1.3rem;
    color: #e3f2fd;
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto 40px;
    font-weight: 400;
}

.timeline-hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.timeline-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 18px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-width: 180px;
    justify-content: center;
    border: 2px solid transparent;
}

.story-btn {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    color: #1976d2;
    border: 2px solid #ffffff;
}

.story-btn:hover {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 255, 255, 0.3);
    color: #1565c0;
}

.leadership-btn {
    background: linear-gradient(135deg, #1a237e 0%, #283593 100%);
    color: #ffffff;
    border: 2px solid #1a237e;
}

.leadership-btn:hover {
    background: linear-gradient(135deg, #283593 0%, #3949ab 100%);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(26, 35, 126, 0.3);
    border-color: #283593;
}

/* Our Journey Through Time Section */
.journey-timeline-section {
    padding: 120px 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.timeline-header {
    text-align: center;
    margin-bottom: 80px;
}

.timeline-header h2 {
    font-size: 3rem;
    color: #2c3e50;
    margin-bottom: 0;
    font-weight: 700;
    line-height: 1.2;
    position: relative;
}

.timeline-header h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #007bff, #0056b3);
    border-radius: 2px;
}

.timeline-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #007bff 0%, #0056b3 100%);
    transform: translateX(-50%);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateX(-100px);
    transition: all 0.8s ease;
}

.timeline-item.right-side {
    transform: translateX(100px);
}

.timeline-item.animate {
    opacity: 1;
    transform: translateX(0);
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 50px;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border-radius: 50%;
    transform: translateX(-50%);
    border: 4px solid #ffffff;
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.2);
    z-index: 2;
}

.timeline-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    width: 48%;
    border: 1px solid rgba(0, 123, 255, 0.1);
    transition: all 0.3s ease;
    min-height: 500px;
}

.timeline-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 60px rgba(0, 123, 255, 0.15);
    border-color: rgba(0, 123, 255, 0.2);
}

.left-side .timeline-card {
    margin-right: auto;
    margin-left: 0;
}

.right-side .timeline-card {
    margin-left: auto;
    margin-right: 0;
}

.year-badge {
    display: inline-block;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timeline-card h3 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.timeline-card p {
    font-size: 1rem;
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 20px;
}

.card-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    width: 100%;
    height: 220px;
    margin-top: 15px;
    background-color: #f8f9fa;
    border: 2px solid #e9ecef;
    position: relative;
}

.timeline-card:hover .card-image {
    
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    min-height: 200px;
    min-width: 100%;
    opacity: 1;
    visibility: visible;
}

.timeline-card:hover .card-image img {
    
}

/* Arrow indicators for cards */
.left-side .timeline-card::after {
    content: '';
    position: absolute;
    right: -15px;
    top: 60px;
    width: 0;
    height: 0;
    border-left: 15px solid #ffffff;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    filter: drop-shadow(2px 0 4px rgba(0, 0, 0, 0.1));
}

.right-side .timeline-card::after {
    content: '';
    position: absolute;
    left: -15px;
    top: 60px;
    width: 0;
    height: 0;
    border-right: 15px solid #ffffff;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    filter: drop-shadow(-2px 0 4px rgba(0, 0, 0, 0.1));
}

/* Responsive Design for Timeline Section */

/* Large Desktop */
@media (max-width: 1200px) {
    .timeline-container {
        padding: 0 30px;
    }
    
    .timeline-header h2 {
        font-size: 2.7rem;
    }
    
    .timeline-card {
        padding: 35px;
        min-height: 450px;
    }
    
    .timeline-card h3 {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }
    
    .timeline-card p {
        font-size: 0.95rem;
        margin-bottom: 15px;
    }
    
    .card-image {
        height: 180px;
    }
}

/* Desktop */
@media (max-width: 1024px) {
    .journey-timeline-section {
        padding: 100px 0;
    }
    
    .timeline-header {
        margin-bottom: 60px;
    }
    
    .timeline-container {
        padding: 0 25px;
    }
    
    .timeline-item {
        margin-bottom: 50px;
    }
    
    .timeline-header h2 {
        font-size: 2.5rem;
    }
    
    .timeline-card {
        padding: 30px;
        min-height: 380px;
    }
    
    .timeline-card h3 {
        font-size: 1.4rem;
        margin-bottom: 12px;
    }
    
    .timeline-card p {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
    
    .card-image {
        height: 150px;
    }
}

/* Tablet */
@media (max-width: 768px) {
    .timeline-hero-section {
        padding: 80px 0;
        min-height: 70vh;
    }
    
    .timeline-hero-title {
        font-size: 2.8rem;
    }
    
    .timeline-hero-description {
        font-size: 1.1rem;
    }
    
    .timeline-hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .timeline-btn {
        min-width: 200px;
    }
    
    .journey-timeline-section {
        padding: 80px 0;
    }
    
    .timeline-line {
        left: 30px;
    }
    
    .timeline-container {
        padding: 0 20px;
    }
    
    .timeline-item {
        margin-bottom: 40px;
        padding-left: 60px;
    }
    
    .timeline-item.left-side,
    .timeline-item.right-side {
        transform: translateX(-50px);
    }
    
    .timeline-item.animate {
        transform: translateX(0);
    }
    
    .timeline-dot {
        left: 30px;
        transform: translateX(-50%);
    }
    
    .timeline-card {
        width: 100%;
        margin: 0;
        min-height: 350px;
        padding: 25px;
    }
    
    .timeline-card::after {
        display: none;
    }
    
    .timeline-header h2 {
        font-size: 2.3rem;
    }
    
    .timeline-card {
        padding: 20px;
    }
    
    .timeline-card h3 {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }
    
    .timeline-card p {
        font-size: 0.9rem;
        margin-bottom: 12px;
    }
    
    .card-image {
        height: 120px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .timeline-hero-section {
        padding: 60px 0;
        min-height: 60vh;
    }
    
    .timeline-hero-title {
        font-size: 2.2rem;
    }
    
    .timeline-hero-description {
        font-size: 1rem;
    }
    
    .timeline-btn {
        padding: 15px 25px;
        font-size: 1rem;
        min-width: 180px;
    }
}

/* Very Small Mobile */
@media (max-width: 360px) {
    .timeline-hero-section {
        padding: 50px 0;
        min-height: 50vh;
    }
    
    .timeline-hero-content {
        padding: 0 15px;
    }
    
    .timeline-hero-subtitle {
        font-size: 1.1rem;
    }
    
    .timeline-hero-title {
        font-size: 2rem;
    }
    
    .timeline-hero-description {
        font-size: 0.95rem;
    }
    
    .timeline-hero-buttons {
        gap: 15px;
    }
    
    .timeline-btn {
        padding: 12px 20px;
        font-size: 0.9rem;
        min-width: 150px;
    }
}

/* Extra Small Mobile */
@media (max-width: 320px) {
    .timeline-hero-section {
        padding: 40px 0;
        min-height: 45vh;
    }
    
    .timeline-hero-content {
        padding: 0 12px;
    }
    
    .timeline-hero-subtitle {
        font-size: 1rem;
    }
    
    .timeline-hero-title {
        font-size: 1.8rem;
    }
    
    .timeline-hero-description {
        font-size: 0.9rem;
    }
    
    .timeline-hero-buttons {
        gap: 12px;
    }
    
    .timeline-btn {
        padding: 10px 18px;
        font-size: 0.85rem;
        min-width: 140px;
    }
    
    .journey-timeline-section {
        padding: 60px 0;
    }
    
    .timeline-header {
        margin-bottom: 40px;
    }
    
    .timeline-line {
        left: 20px;
    }
    
    .timeline-container {
        padding: 0 15px;
    }
    
    .timeline-item {
        margin-bottom: 35px;
        padding-left: 50px;
    }
    
    .timeline-dot {
        left: 20px;
        width: 16px;
        height: 16px;
    }
    
    .timeline-header h2 {
        font-size: 2rem;
    }
    
    .timeline-card {
        padding: 18px;
        min-height: 320px;
    }
    
    .timeline-card h3 {
        font-size: 1.2rem;
        margin-bottom: 8px;
    }
    
    .timeline-card p {
        font-size: 0.85rem;
        margin-bottom: 10px;
    }
    
    .card-image {
        height: 100px;
    }
    
    .year-badge {
        padding: 6px 15px;
        font-size: 0.8rem;
    }
}

/* Very Small Mobile */
@media (max-width: 360px) {
    .journey-timeline-section {
        padding: 50px 0;
    }
    
    .timeline-line {
        left: 15px;
    }
    
    .timeline-container {
        padding: 0 10px;
    }
    
    .timeline-item {
        padding-left: 40px;
        margin-bottom: 30px;
    }
    
    .timeline-dot {
        left: 15px;
        width: 14px;
        height: 14px;
    }
    
    .timeline-header h2 {
        font-size: 1.8rem;
    }
    
    .timeline-card {
        padding: 15px;
        min-height: 280px;
    }
    
    .timeline-card h3 {
        font-size: 1.1rem;
        margin-bottom: 6px;
    }
    
    .timeline-card p {
        font-size: 0.8rem;
        margin-bottom: 8px;
    }
    
    .card-image {
        height: 80px;
    }
    
    .year-badge {
        padding: 5px 12px;
        font-size: 0.75rem;
    }
}

/* Extra Small Mobile */
@media (max-width: 320px) {
    .journey-timeline-section {
        padding: 40px 0;
    }
    
    .timeline-line {
        left: 12px;
    }
    
    .timeline-container {
        padding: 0 8px;
    }
    
    .timeline-item {
        padding-left: 35px;
        margin-bottom: 25px;
    }
    
    .timeline-dot {
        left: 12px;
        width: 12px;
        height: 12px;
    }
    
    .timeline-header {
        margin-bottom: 30px;
    }
    
    .timeline-header h2 {
        font-size: 1.6rem;
    }
    
    .timeline-card {
        padding: 12px;
        min-height: 250px;
    }
    
    .timeline-card h3 {
        font-size: 1rem;
        margin-bottom: 5px;
    }
    
    .timeline-card p {
        font-size: 0.75rem;
        margin-bottom: 6px;
    }
    
    .card-image {
        height: 70px;
    }
    
    .year-badge {
        padding: 4px 10px;
        font-size: 0.65rem;
    }
}

/* Animation for timeline items */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.timeline-item.animate {
    animation: fadeInUp 0.6s ease forwards;
}


/* Standardized WhatsApp Button - Consistent across all pages */
.whatsapp-btn,
.whatsapp-chat,
.whatsapp-chat-btn,
[class*="whatsapp"],
[class*="chat-btn"] {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    z-index: 999999 !important;
    visibility: visible !important;
    opacity: 1 !important;
    display: flex !important;
    pointer-events: auto !important;
    transform: none !important;
    contain: none !important;
    perspective: none !important;
    filter: none !important;
    isolation: auto !important;
    mix-blend-mode: normal !important;
    backface-visibility: visible !important;
    will-change: auto !important;
    float: none !important;
    clear: none !important;
    vertical-align: baseline !important;
    text-align: center !important;
    white-space: nowrap !important;
    overflow: visible !important;
    clip: auto !important;
    clip-path: none !important;
    mask: none !important;
    object-fit: fill !important;
    object-position: 50% 50% !important;
    margin: 0 !important;
    padding: 0 !important;
    top: auto !important;
    left: auto !important;
    width: 55px !important;
    height: 55px !important;
    border-radius: 50% !important;
    background-color: #25D366 !important;
    color: #fff !important;
    border: none !important;
    cursor: pointer !important;
    text-decoration: none !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important;
    transition: none !important;
    font-size: 26px !important;
    justify-content: center !important;
    align-items: center !important;
}

.whatsapp-btn:hover,
.whatsapp-chat:hover,
.whatsapp-chat-btn:hover,
[class*="whatsapp"]:hover,
[class*="chat-btn"]:hover {
    color: #fff !important;
    text-decoration: none !important;
    transform: none !important;
}

/* Standardized Header - Consistent across all pages */
.new-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 2147483647 !important;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    overflow: visible;
    border-bottom: 2px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(30, 64, 175, 0.1);
    backdrop-filter: blur(10px);
    visibility: visible !important;
    opacity: 1 !important;
    display: block !important;
    transform: none !important;
    contain: none !important;
    will-change: auto !important;
    backface-visibility: visible !important;
    margin: 0 !important;
    padding: 0 !important;
    bottom: auto !important;
    height: 80px !important;
    filter: none !important;
    perspective: none !important;
}

