/**
 * Professional History Page Styles
 * Clean, modern design with SAS Logistics Brand Colors
 * Primary: #d70006, Secondary: #ca1f26
 */

/* ================================
   GENERAL STYLES
   ================================ */

.history-section {
    padding: 80px 0;
    position: relative;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, #d70006 0%, #ca1f26 100%);
    color: #ffffff;
    padding: 10px 25px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    color: #232331;
    margin-bottom: 25px;
    line-height: 1.2;
}

.section-description {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin: 0 0 30px 0;
    text-align: left;
    max-width: 100%;
}

.history-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #767676;
    margin-bottom: 25px;
    font-weight: 400;
}

.history-text p:last-child {
    margin-bottom: 0;
}

.history-text strong {
    color: #232331;
    font-weight: 700;
}

/* ================================
   THE BEGINNING SECTION
   ================================ */

.beginning-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

.beginning-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="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23d70006" opacity="0.03"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.6;
}

.overview-hero {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 36px;
    align-items: start;
}

.overview-intro .section-title {
    margin-bottom: 18px;
}

.overview-intro .section-description {
    max-width: 94%;
    margin-bottom: 20px;
}

.overview-points {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.overview-points li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
    line-height: 1.65;
    color: #4b5563;
    font-weight: 500;
}

.overview-points li i {
    color: #d70006;
    margin-top: 2px;
    flex-shrink: 0;
}

.overview-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.overview-card {
    background: #ffffff;
    border: 1px solid rgba(215, 0, 6, 0.14);
    border-radius: 16px;
    padding: 20px 18px;
    box-shadow: 0 10px 24px rgba(35, 35, 49, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.overview-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 28px rgba(35, 35, 49, 0.12);
}

.overview-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 18px;
    background: linear-gradient(135deg, #d70006, #ca1f26);
    margin-bottom: 14px;
}

.overview-card-value {
    font-size: 30px;
    line-height: 1;
    font-weight: 800;
    color: #d70006;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.overview-card-title {
    font-size: 15px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 6px;
}

.overview-card-meta {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.5;
}

.history-image {
    position: relative;
    z-index: 2;
}

.image-wrapper {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.12);
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.image-wrapper:hover {
    transform: translateY(-15px);
    box-shadow: 0 35px 100px rgba(0, 0, 0, 0.18);
}

.image-wrapper img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.image-wrapper:hover img {
    transform: scale(1.08);
}

/* Removed image overlay styles */

.history-content {
    padding-left: 50px;
    position: relative;
    z-index: 2;
}

/* ================================
   GROWTH SECTION
   ================================ */

.growth-section {
    background: #ffffff;
    position: relative;
}

.growth-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="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="%23d70006" stroke-width="0.5" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.4;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

/* Horizontal Timeline Styles */
.history-section .timeline {
    position: relative !important;
    white-space: nowrap !important;
    max-width: 1400px !important;
    padding: 0 10px !important;
    margin: 0 auto !important;
    display: block !important;
}

.history-section .timeline::before,
.history-section .timeline::after {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    bottom: 30px !important;
    width: 100px !important;
    z-index: 2 !important;
}

.history-section .timeline::after {
    display: none !important;
}

.history-section .timeline::before {
    display: none !important;
}

.history-section .timeline .info {
    display: none !important;
}

.timeline .info img {
    margin-bottom: 20px;
    border-radius: 50%;
}

.timeline .info h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: white;
}

.timeline .info p {
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.timeline .info a {
    text-decoration: none;
    color: white;
    font-weight: 600;
    transition: color 0.3s ease;
}

/* Removed hover effect for info link */

.timeline ol::-webkit-scrollbar {
    height: 12px;
}

.timeline ol::-webkit-scrollbar-thumb,
.timeline ol::-webkit-scrollbar-track {
    border-radius: 92px;
}

.timeline ol::-webkit-scrollbar-thumb {
    background: #d70006;
}

.timeline ol::-webkit-scrollbar-track {
    background: rgba(215, 0, 6, 0.1);
}

.history-section .timeline ol {
    font-size: 0 !important;
    padding: 200px 0 !important;
    transition: all 1s !important;
    overflow-x: scroll !important;
    scroll-snap-type: x mandatory !important;
    scrollbar-color: rgba(215, 0, 6, 0.1) #d70006 !important;
}

.history-section .timeline ol li {
    position: relative !important;
    display: inline-block !important;
    list-style-type: none !important;
    width: 160px !important;
    height: 5px !important;
    background: #d70006 !important;
    scroll-snap-align: start !important;
    transition: all 0.3s ease !important;
}

/* Removed hover effect for timeline li */

.timeline ol li:last-child {
    width: 340px;
}

.timeline ol li:not(:first-child) {
    margin-left: 14px;
}

.timeline ol li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    left: calc(100% + 1px);
    bottom: 0;
    width: 16px;
    height: 16px;
    transform: translateY(-50%);
    border-radius: 50%;
    background: #d70006;
    z-index: 1;
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(215, 0, 6, 0.3);
}

.history-section .timeline ol li div {
    position: absolute !important;
    left: calc(100% + 7px) !important;
    width: 350px !important;
    padding: 15px !important;
    font-size: 0.95rem !important;
    white-space: normal !important;
    color: #2c3e50 !important;
    background: white !important;
    border-radius: 0 10px 10px 10px !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1) !important;
    border: 1px solid rgba(215, 0, 6, 0.1) !important;
    transition: all 0.3s ease !important;
    line-height: 1.5 !important;
}

/* Removed hover effect for timeline div */

.timeline ol li div::before {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 0;
    height: 0;
    border-style: solid;
}

.timeline ol li:nth-child(odd) div {
    top: -16px;
    transform: translateY(-100%);
    border-radius: 10px 10px 10px 0;
}

.timeline ol li:nth-child(odd) div::before {
    top: 100%;
    border-width: 8px 8px 0 0;
    border-color: white transparent transparent transparent;
}

.timeline ol li:nth-child(even) div {
    top: calc(100% + 16px);
}

.timeline ol li:nth-child(even) div::before {
    top: -8px;
    border-width: 8px 0 0 8px;
    border-color: transparent transparent transparent white;
}

.history-section .timeline time {
    display: block !important;
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    margin-bottom: 6px !important;
    color: #d70006 !important;
    letter-spacing: -0.5px !important;
}

/* ================================
   MILLENNIUM SECTION
   ================================ */

.single-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.single-image:hover {
    transform: translateY(-5px);
}

.single-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.single-image:hover img {
    transform: scale(1.05);
}

.millennium-section {
    background: #eef1f4;
    position: relative;
}

.millennium-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="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23d70006" opacity="0.03"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.6;
}

.image-collage {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    height: 550px;
    position: relative;
    z-index: 2;
}

.collage-item {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.collage-item:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.18);
}

.collage-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.collage-item:hover img {
    transform: scale(1.05);
}

/* ================================
   SIMPLE 2025 SHOWCASE
   ================================ */

.simple-2025-showcase {
    margin-top: 60px;
    position: relative;
}

.showcase-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
    padding: 50px 40px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(215, 0, 6, 0.1);
}

/* Video Section */
.video-section {
    position: relative;
    margin-top: 30px;
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    border: 3px solid rgba(215, 0, 6, 0.2);
}

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 17px;
    overflow: hidden;
}

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-thumbnail:hover img {
    transform: scale(1.05);
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.video-thumbnail:hover .play-overlay {
    background: rgba(0, 0, 0, 0.5);
}

.play-button {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #d70006, #ca1f26);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 24px;
    box-shadow: 0 10px 30px rgba(215, 0, 6, 0.4);
    transition: all 0.3s ease;
    animation: pulse-play 2s infinite;
    position: relative;
    border: 3px solid white;
}

.play-button::before {
    content: '';
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    border: 2px solid white;
    border-radius: 50%;
    animation: rotate-circle 3s linear infinite;
    opacity: 0.8;
}

.play-button::after {
    content: '';
    position: absolute;
    top: -12px;
    left: -12px;
    right: -12px;
    bottom: -12px;
    border: 1px solid white;
    border-radius: 50%;
    animation: rotate-circle 4s linear infinite reverse;
    opacity: 0.5;
}

.play-button:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(215, 0, 6, 0.6);
    color: white;
}

.play-button i {
    margin-left: 4px; /* Slight offset to center the play icon */
}

@keyframes pulse-play {
    0%, 100% {
        box-shadow: 0 10px 30px rgba(215, 0, 6, 0.4);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 15px 40px rgba(215, 0, 6, 0.6);
        transform: scale(1.05);
    }
}

@keyframes rotate-circle {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Content Section */
.content-section {
    padding: 30px 0;
}

.content-header {
    margin-bottom: 35px;
}

.content-header h3 {
    font-size: 30px;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #d70006, #ca1f26);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.content-header p {
    font-size: 16px;
    color: #6c757d;
    line-height: 1.8;
}

/* Growth Stats */
.growth-stats {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 35px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(215, 0, 6, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #d70006, #ca1f26);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #d70006, #ca1f26);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    box-shadow: 0 8px 25px rgba(215, 0, 6, 0.3);
    flex-shrink: 0;
}

.stat-content {
    flex: 1;
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    color: #d70006;
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 16px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 5px;
}

.stat-description {
    font-size: 14px;
    color: #6c757d;
    font-weight: 400;
}

.stat-progress {
    width: 100px;
    height: 8px;
    background: rgba(215, 0, 6, 0.1);
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #d70006, #ca1f26);
    border-radius: 4px;
    width: 0;
    transition: width 2s ease-in-out;
    position: relative;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Simple CTA */
.simple-cta {
    background: linear-gradient(135deg, #d70006 0%, #ca1f26 100%);
    border-radius: 20px;
    padding: 35px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 35px;
    max-width: 100%;
}

.simple-cta::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="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.simple-cta h4 {
    font-size: 24px;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
}

.simple-cta p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.simple-cta .cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.simple-cta .btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    min-width: 140px;
}

.simple-cta .btn-primary {
    background: white;
    color: #d70006;
    border-color: white;
}

.simple-cta .btn-primary:hover {
    background: transparent;
    color: white;
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.simple-cta .btn-outline {
    background: transparent;
    color: white;
    border-color: white;
}

.simple-cta .btn-outline:hover {
    background: white;
    color: #d70006;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* ================================
   SAS TODAY SECTION REDESIGN
   ================================ */

.sas-today-section .section-header .section-description {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.sas-today-section .simple-2025-showcase {
    margin-top: 40px;
}

.sas-today-section .showcase-container {
    grid-template-columns: 1.1fr 1fr;
    gap: 32px;
    padding: 34px;
    background: #ffffff;
    border-radius: 22px;
    border: 1px solid rgba(215, 0, 6, 0.15);
    box-shadow: 0 16px 38px rgba(17, 24, 39, 0.09);
}

.sas-today-section .video-section {
    margin-top: 0;
}

.sas-today-section .video-wrapper {
    border: 1px solid rgba(215, 0, 6, 0.2);
    box-shadow: 0 14px 28px rgba(17, 24, 39, 0.15);
}

.sas-today-section .play-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.18));
}

.sas-today-section .play-button {
    width: 66px;
    height: 66px;
    font-size: 20px;
    border-width: 2px;
    animation: none;
}

.sas-today-section .play-button::before,
.sas-today-section .play-button::after {
    display: none;
}

.sas-today-section .content-section {
    padding: 0;
}

.sas-today-section .content-header {
    margin-bottom: 22px;
}

.sas-today-section .content-header h3 {
    margin-bottom: 12px;
    font-size: 32px;
}

.sas-today-section .growth-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 0;
}

.sas-today-section .stat-item {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding: 18px;
    border-radius: 14px;
    border: 1px solid rgba(215, 0, 6, 0.14);
    box-shadow: 0 8px 20px rgba(17, 24, 39, 0.08);
}

.sas-today-section .stat-item::before {
    width: 100%;
    height: 3px;
}

.sas-today-section .stat-icon {
    width: 50px;
    height: 50px;
    font-size: 19px;
    border-radius: 12px;
}

.sas-today-section .stat-number {
    font-size: 34px;
    margin-bottom: 6px;
}

.sas-today-section .stat-label {
    font-size: 15px;
    margin-bottom: 4px;
}

.sas-today-section .stat-description {
    font-size: 13px;
}

@media (max-width: 1200px) {
    .sas-today-section .showcase-container {
        grid-template-columns: 1fr;
    }

    .sas-today-section .growth-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .sas-today-section .growth-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Growth CTA */
.growth-cta {
    background: linear-gradient(135deg, #d70006 0%, #ca1f26 100%);
    border-radius: 20px;
    padding: 50px 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(215, 0, 6, 0.3);
}

.growth-cta::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="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.growth-cta .cta-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.growth-cta h3 {
    font-size: 32px;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.growth-cta p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.growth-cta .cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.growth-cta .btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    min-width: 180px;
    position: relative;
    overflow: hidden;
}

.growth-cta .btn-primary {
    background: white;
    color: #d70006;
    border-color: white;
}

.growth-cta .btn-primary:hover {
    background: transparent;
    color: white;
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.growth-cta .btn-outline {
    background: transparent;
    color: white;
    border-color: white;
}

.growth-cta .btn-outline:hover {
    background: white;
    color: #d70006;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.expansion-section {
    background: #ffffff;
    position: relative;
}

.new-era-section {
    background: #eef1f4;
}

/* Mobile Simple 2025 Styles */
@media (max-width: 768px) {
    .simple-2025-showcase {
        margin-top: 30px;
    }
    
    .showcase-container {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 35px 20px;
    }
    
    .video-wrapper {
        padding-bottom: 56.25%;
    }
    
    .content-header h3 {
        font-size: 28px;
        margin-bottom: 15px;
    }
    
    .content-header p {
        font-size: 16px;
        line-height: 1.7;
    }
    
    .growth-stats {
        gap: 18px;
        margin-bottom: 25px;
    }
    
    .stat-item {
        padding: 18px;
        gap: 15px;
    }
    
    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .stat-label {
        font-size: 14px;
    }
    
    .stat-description {
        font-size: 12px;
    }
    
    .stat-progress {
        width: 80px;
        height: 6px;
    }
    
    .simple-cta {
        padding: 30px 20px;
        margin-top: 30px;
    }
    
    .simple-cta h4 {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .simple-cta p {
        font-size: 14px;
        margin-bottom: 25px;
        line-height: 1.7;
    }
    
    .simple-cta .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .simple-cta .btn {
        width: 100%;
        max-width: 200px;
        padding: 10px 20px;
        font-size: 13px;
    }

    .sas-today-section .showcase-container {
        grid-template-columns: 1fr;
        padding: 24px 18px;
        gap: 24px;
    }

    .sas-today-section .growth-stats {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 600px) {
    .growth-timeline {
        gap: 20px;
    }
    
    .milestone-content {
        min-width: auto;
        padding: 15px;
    }
    
    .milestone-content h4 {
        font-size: 18px;
    }
    
    .metric-number {
        font-size: 16px;
    }
    
    .metric-label {
        font-size: 11px;
    }
    
    .chart-container {
        padding: 15px;
    }
    
    .chart-header h3 {
        font-size: 16px;
    }
    
    .chart-icon {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .growth-percentage {
        font-size: 20px;
    }
    
    .growth-cta {
        padding: 30px 20px;
    }
    
    .growth-cta h3 {
        font-size: 24px;
    }
    
    .growth-cta p {
        font-size: 15px;
    }
}

.expansion-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="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="%23d70006" stroke-width="0.5" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.4;
}

.map-container {
    position: relative;
    max-width: 1300px;
    margin: 0 auto;
    z-index: 2;
}

.map-background {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.map-background img {
    width: 100%;
    height: 550px;
    object-fit: cover;
}

.route-animation {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.route {
    position: absolute;
    height: 3px;
    background: linear-gradient(90deg, #d70006, #ca1f26);
    border-radius: 2px;
    opacity: 0;
    transform: scaleX(0);
    transform-origin: left;
}

.route.animate {
    opacity: 1;
    animation: drawRoute 2s ease-in-out forwards;
}

@keyframes drawRoute {
    to { transform: scaleX(1); }
}

.route-1 {
    top: 40%;
    left: 20%;
    width: 30%;
    animation-delay: 0s;
}

.route-2 {
    top: 50%;
    left: 50%;
    width: 25%;
    animation-delay: 0.5s;
}

.route-3 {
    top: 60%;
    left: 30%;
    width: 35%;
    animation-delay: 1s;
}

.route-4 {
    top: 30%;
    left: 60%;
    width: 20%;
    animation-delay: 1.5s;
}

.country-labels {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.country-label {
    position: absolute;
    background: rgba(215, 0, 6, 0.9);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.country-label.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.country-label[data-country="tanzania"] {
    top: 60%;
    left: 30%;
}

.country-label[data-country="kenya"] {
    top: 20%;
    left: 60%;
}

.country-label[data-country="uganda"] {
    top: 30%;
    left: 50%;
}

.country-label[data-country="drc"] {
    top: 70%;
    left: 20%;
}

.map-content {
    margin-top: 50px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.map-content p {
    font-size: 16px;
    color: #767676;
    line-height: 30px;
    margin-bottom: 20px;
    font-weight: 400;
}



/* ================================
   RESPONSIVE STYLES
   ================================ */

@media (max-width: 1200px) {
    .section-title {
        font-size: 38px;
    }
    
    .stats-container {
        gap: 60px;
    }
    
    .history-content {
        padding-left: 50px;
    }
    
    .image-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .gallery-item.large {
        grid-column: span 2;
    }
    
    .growth-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 991px) {
    .history-section {
        padding: 60px 0;
    }
    
    .history-content {
        padding-left: 0;
        margin-top: 50px;
    }

    .overview-hero {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .overview-intro .section-description {
        max-width: 100%;
    }
    
    .timeline-block {
        width: 100%;
        margin-bottom: 40px;
    }
    
    .timeline::after {
        top: auto;
        bottom: 0;
        height: 4px;
        animation: none;
        width: 100%;
    }
    
    .timeline-block:nth-child(even) .timeline-card,
    .timeline-block:nth-child(odd) .timeline-card {
        margin: 0;
        animation-name: fadeInUp;
    }
    
    .timeline-card {
        padding: 25px 20px;
    }
    
    .circle {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
    
    .image-collage {
        grid-template-columns: 1fr;
        height: auto;
    }
    
    .collage-item {
        height: 350px;
    }
    
    .stats-container {
        gap: 40px;
    }
    
    
    .video-background {
        height: 600px;
    }
}

@media (max-width: 768px) {
    .history-section {
        padding: 50px 0;
    }

    .overview-cards {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    .overview-card {
        padding: 16px 14px;
        border-radius: 14px;
    }

    .overview-card-value {
        font-size: 26px;
    }

    .overview-card-title {
        font-size: 14px;
    }

    .overview-card-meta {
        font-size: 12px;
    }
    
    .section-title {
        font-size: 32px;
        margin-bottom: 20px;
    }
    
    .section-description {
        font-size: 16px;
        margin-bottom: 25px;
    }
    
    .history-text p {
        font-size: 16px;
        margin-bottom: 20px;
    }
    
    .image-wrapper img,
    .leadership-photo img {
        height: 450px;
    }
    
    .video-background {
        height: 550px;
    }
    
    .today-content .history-text p {
        font-size: 16px;
    }
    
    .stats-container {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    
    .stat-item {
        min-width: 220px;
    }
    
    .road-ahead-text p {
        font-size: 16px;
    }
    
    .milestone-content {
        padding: 35px 25px;
    }
}

@media (max-width: 576px) {
    .history-section {
        padding: 40px 0;
    }

    .overview-cards {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .section-title {
        font-size: 28px;
        margin-bottom: 20px;
    }
    
    .section-badge {
        font-size: 12px;
        padding: 8px 20px;
        margin-bottom: 20px;
    }
    
    .history-text p {
        font-size: 16px;
        margin-bottom: 20px;
    }
    
    .image-wrapper img,
    .leadership-photo img {
        height: 350px;
    }
    
    .timeline-card {
        padding: 20px 15px;
    }
    
    .year {
        font-size: 20px;
    }
    
    .content {
        font-size: 15px;
    }
    
    .circle {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .video-background {
        height: 500px;
    }
    
    .today-content .history-text p {
        font-size: 16px;
    }
    
    .stat-number {
        font-size: 48px;
    }
    
    .stat-label {
        font-size: 15px;
    }
    
}


/* ================================
   ANIMATION UTILITIES
   ================================ */

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

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

.slide-up {
    animation: slideUp 0.6s ease forwards;
}

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

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #d70006, #ca1f26);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #b80005, #a01a1f);
}

/* Responsive styles for horizontal timeline */
@media screen and (max-width: 800px) {
    .history-section .timeline {
        display: block !important;
    }

    .history-section .timeline::before,
    .history-section .timeline::after {
        width: 50px !important;
    }

    .history-section .timeline::before {
        left: 0 !important;
    }

    .history-section .timeline .info {
        display: none !important;
    }
    
    .history-section .timeline ol {
        padding: 120px 0 !important;
    }
    
    .history-section .timeline ol li div {
        width: 280px !important;
        padding: 12px !important;
        font-size: 0.9rem !important;
    }
    
    .history-section .timeline time {
        font-size: 1.2rem !important;
    }
}

@media screen and (max-width: 600px) {
    .history-section .timeline ol {
        padding: 80px 0 !important;
    }
    
    .history-section .timeline ol li {
        width: 120px !important;
    }
    
    .history-section .timeline ol li div {
        width: 250px !important;
        padding: 10px !important;
        font-size: 0.85rem !important;
    }
    
    .history-section .timeline time {
        font-size: 1.1rem !important;
    }
}

/* Force timeline styles to override any conflicting styles */
body .history-section .timeline {
    display: block !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 0 12px 18px !important;
    white-space: nowrap !important;
    overflow: visible !important;
}

body .history-section .timeline ol {
    display: block !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-y !important;
    scroll-padding: 0 280px 0 16px !important;
    padding: 190px 280px 190px 16px !important;
    font-size: 0 !important;
    cursor: grab !important;
    scroll-behavior: auto !important;
}

body .history-section .timeline ol li {
    display: inline-block !important;
    position: relative !important;
    width: 170px !important;
    height: 5px !important;
    background: #d70006 !important;
    list-style: none !important;
}

body .history-section .timeline ol li div {
    position: absolute !important;
    left: calc(100% + 7px) !important;
    width: clamp(240px, 24vw, 300px) !important;
    padding: 18px !important;
    background: white !important;
    border: 1px solid rgba(215, 0, 6, 0.12) !important;
    border-radius: 0 12px 12px 12px !important;
    box-shadow: 0 12px 30px rgba(35, 35, 49, 0.12) !important;
    font-size: 0.96rem !important;
    color: #1f2937 !important;
    white-space: normal !important;
    line-height: 1.65 !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
    overflow: visible !important;
    height: auto !important;
}

body .history-section .timeline ol.is-dragging {
    cursor: grabbing !important;
    user-select: none !important;
}

body .history-section .timeline ol.is-dragging * {
    user-select: none !important;
}

body .history-section .timeline ol li:last-child {
    width: 430px !important;
}

body .history-section .timeline time {
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    letter-spacing: 0 !important;
}

@media screen and (max-width: 900px) {
    body .history-section .timeline ol {
        padding: 150px 220px 150px 12px !important;
        scroll-padding: 0 220px 0 12px !important;
    }

    body .history-section .timeline ol li {
        width: 145px !important;
    }

    body .history-section .timeline ol li div {
        width: 250px !important;
        padding: 14px !important;
        font-size: 0.9rem !important;
        line-height: 1.55 !important;
    }
}

@media screen and (max-width: 600px) {
    body .history-section .timeline {
        padding-bottom: 14px !important;
    }

    body .history-section .timeline ol {
        padding: 128px 220px 128px 14px !important;
        scroll-padding: 0 220px 0 14px !important;
        scroll-snap-type: x proximity !important;
    }

    body .history-section .timeline ol li {
        width: 120px !important;
    }

    body .history-section .timeline ol li div {
        left: calc(100% + 5px) !important;
        width: min(84vw, 240px) !important;
        max-width: 84vw !important;
        padding: 12px !important;
        font-size: 0.84rem !important;
        line-height: 1.6 !important;
    }
}