/* General Styles */
body {
    margin: 0;
    font-family: 'Inter', 'Segoe UI', sans-serif;
    background-color: #070707;
    color: #f5f5f5;
    text-align: center;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 0.15rem;
}

/* Storytelling Elements */
.story-indicator {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 200px;
    background: rgba(100, 100, 100, 0.3);
    z-index: 100;
    border-radius: 1px;
}

.story-progress {
    position: absolute;
    width: 100%;
    height: 0%;
    background: linear-gradient(to bottom, #f4b000, #ffdf00);
    bottom: 0;
    border-radius: 1px;
    box-shadow: 0 0 10px rgba(244, 176, 0, 0.5);
    transition: height 0.1s linear;
}

/* Section 1 - Who We Are */
.sec1 {
    position: relative;
    padding: 140px 20px 100px;
    text-align: center;
    color: #fff;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.sec1::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../ASSETS/img/about_header_1.jpg') no-repeat center center/cover;
    filter: brightness(20%) contrast(120%) grayscale(40%) saturate(80%);
    z-index: -1;
    transform: scale(1.05);
    transition: transform 0.8s ease, filter 0.8s ease;
}

.sec1:hover::before {
    transform: scale(1);
    filter: brightness(25%) contrast(120%) grayscale(30%) saturate(90%);
}

.sec1::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to top, #070707, transparent);
    z-index: -1;
}

.sec1 h1 {
    font-size: 6.5rem;
    font-weight: bold;
    margin-bottom: 30px;
    color: transparent;
    background: linear-gradient(135deg, #f4b000, #ffdf00, #f4b000);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.2s, goldGradient 8s ease infinite;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
}

.sec1 p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 20px;
    line-height: 1.9;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.4s;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    position: relative;
    color: rgba(255, 255, 255, 0.85);
}

.sec1 p:last-of-type {
    animation: fadeUp 0.8s ease forwards 0.6s;
}

.sec1 p::after {
    content: "";
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(to right, transparent, #f4b000, transparent);
}

/* Section 1 Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #f4b000;
    font-size: 0.9rem;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 1.5s, bounce 2s infinite 2.5s;
    z-index: 2;
}

.scroll-indicator i {
    font-size: 1.5rem;
    display: block;
    margin-top: 5px;
}

/* CEO Message Section */
.sec2 {
    position: relative;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 50px 40px;
    border-radius: 4px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    text-align: center;
    max-width: 700px;
    margin: 100px auto;
    position: relative;
    overflow: hidden;
    transform: translateY(30px);
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.2s;
    z-index: 2;
    border-top: 1px solid rgba(244, 176, 0, 0.3);
    border-bottom: 1px solid rgba(244, 176, 0, 0.3);
}

/* Flag video background container */
.flag-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.flag-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    opacity: 0;
    filter: brightness(0.8) contrast(1.2) saturate(0.8);
    animation: videoFadeIn 2s ease forwards 0.5s;
}

.sec2::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(244, 176, 0, 0.8), transparent);
    animation: borderAnimation 5s infinite;
}

.sec2::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: -100%;
    width: 200%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(244, 176, 0, 0.8), transparent);
    animation: reverseBorderAnimation 5s infinite;
}

.sec2 h1 {
    font-size: 2.8rem;
    font-weight: bold;
    margin-bottom: 30px;
    color: #f4b000;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    position: relative;
    display: inline-block;
}

.sec2 h1::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 25%;
    width: 50%;
    height: 3px;
    background: #f4b000;
    border-radius: 1.5px;
}

.sec2 p {
    font-size: 1.4rem;
    max-width: 600px;
    margin: 0 auto 15px;
    color: #fff;
    font-weight: 500;
    letter-spacing: 0.05rem;
}

/* Mission & Vision Section */
.sec3 {
    padding: 120px 20px;
    background: linear-gradient(135deg, #0c0c0c, #121212);
    color: #ffffff;
    text-align: center;
    position: relative;
    overflow: hidden;
    perspective: 1000px;
}

.sec3::before {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(244, 176, 0, 0.08) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    border-radius: 50%;
    animation: pulseGlow 8s infinite alternate;
}

.sec3::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(244, 176, 0, 0.08) 0%, transparent 70%);
    bottom: -150px;
    left: -150px;
    border-radius: 50%;
    animation: pulseGlow 8s infinite alternate-reverse;
}

.container {
    max-width: 900px;
    margin: auto;
    padding: 20px;
    position: relative;
    z-index: 2;
}

.sec-title {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 35px;
    text-transform: uppercase;
    display: inline-block;
    padding-bottom: 15px;
    position: relative;
    color: #f4b000;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    transform: translateZ(0);
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
}

.sec-title::after {
    content: "";
    position: absolute;
    width: 70%;
    height: 3px;
    background: linear-gradient(to right, transparent, #f4b000, transparent);
    bottom: 0;
    left: 15%;
    border-radius: 1.5px;
}

.sec-text {
    font-size: 1.2rem;
    line-height: 1.9;
    margin-bottom: 50px;
    text-align: center;
    position: relative;
    padding: 0 20px;
    color: rgba(255, 255, 255, 0.9);
    transform: translateZ(0);
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.2s;
}

/* Timeline Section */
.timeline-section {
    position: relative;
    background-color: #0a0a0a;
    color: #e0e0e0;
    overflow: hidden;
    padding: 0;
    margin: 0;
}

.timeline-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, #000000, transparent);
    z-index: 5;
    pointer-events: none;
}

.timeline-section::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, #000000, transparent);
    z-index: 5;
    pointer-events: none;
}

.section-title {
    text-align: center;
    font-size: 3.5rem;
    color: #f4b000;
    padding: 50px 0 30px;
    position: relative;
    z-index: 10;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    background: linear-gradient(135deg, #f4b000, #ffdf00, #f4b000);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: goldGradient 8s ease infinite;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 50px;
    color: #bdbdbd;
    position: relative;
    z-index: 10;
}

/* Timeline Container */
.timeline-container {
    display: flex;
    min-height: 100vh;
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
}

/* Content Area (Left) */
.content-area {
    flex: 3;
    position: relative;
    min-height: 100vh;
}

.content-wrapper {
    height: 100%;
    width: 100%;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.content {
    max-width: 800px;
    padding: 40px;
    background: rgba(18, 18, 18, 0.8);
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s ease;
    display: none;
}

.content.active {
    opacity: 1;
    transform: translateY(0);
    display: block;
}

.background-year {
    position: absolute;
    top: -80px;
    right: 0;
    font-size: 180px;
    font-weight: 700;
    color: rgba(244, 176, 0, 0.05);
    z-index: -1;
    line-height: 1;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 0.2rem;
}

.content-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #f4b000;
    position: relative;
    padding-bottom: 15px;
}

.content-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: #f4b000;
    border-radius: 1.5px;
}

.content-text {
    font-size: 1rem;
    line-height: 1.8;
    color: #e0e0e0;
    margin-bottom: 30px;
}

.content-image {
    border-radius: 4px;
    border: 1px solid rgba(244, 176, 0, 0.3);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    margin-top: 20px;
    width: 100%;
    max-width: 400px;
}

.content-image:hover {
    transform: scale(1.02);
    border-color: rgba(244, 176, 0, 0.6);
}

.content-video {
    width: 100%;
    max-width: 600px;
    border-radius: 4px;
    margin: 0 auto;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Timeline Navigation (Right) */
.timeline-nav {
    flex: 1;
    position: relative;
    min-height: 100vh;
}

.timeline {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 30px;
    overflow: hidden;
}

.timeline-item {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    cursor: pointer;
    padding: 15px 0 15px 30px;
    margin: 8px 0;
    color: #9e9e9e;
    font-size: 1.2rem;
    font-weight: 500;
    z-index: 2;
    will-change: transform;
    display: none;
}

.timeline-item.visible {
    display: block;
}

.timeline-item.visible.active {
    color: #f4b000;
    font-weight: 700;
    transform: translateX(5px) scale(1.2);
}

.timeline-item.visible.adjacent {
    transform: scale(0.9);
}

/* Add these new keyframe animations */
@keyframes moveItemUp {
    from {
        transform: translateY(30px) scale(0.9);
        opacity: 0;
        filter: blur(2px);
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
        filter: blur(0);
    }
}

@keyframes moveItemDown {
    from {
        transform: translateY(-30px) scale(0.9);
        opacity: 0;
        filter: blur(2px);
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
        filter: blur(0);
    }
}

/* Hide all items by default */
.timeline-item {
    display: none;
}

/* Show only visible items */
.timeline-item.visible {
    display: block;
}

.timeline-line {
    position: absolute;
    left: 30px;
    top: 20vh;
    bottom: 20vh;
    width: 2px;
    background: linear-gradient(to bottom, 
        transparent, 
        rgba(244, 176, 0, 0.3) 10%, 
        rgba(244, 176, 0, 0.3) 90%, 
        transparent);
    z-index: 1;
}

.timeline-item {
    padding: 15px 0 15px 30px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 8px 0;
    color: #9e9e9e;
    font-size: 1.2rem;
    font-weight: 500;
    z-index: 2;
    list-style: none;
}

.timeline-item:before {
    display: none; /* Remove the bullet */
}

.timeline-item.visible.active {
    color: #f4b000;
    font-weight: 700;
    transform: translateX(5px) scale(1.2); /* Increased scale */
    font-size: 1.5rem; /* Larger font size */
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.timeline-item.visible.adjacent {
    opacity: 0.6;
    transform: scale(0.9) translateY(0);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-item:hover {
    color: #f4b000;
    transform: translateX(5px) scale(1.05);
}

/* Products Section Styles */
.products-section {
    padding: 120px 20px 140px;
    background: linear-gradient(to bottom, #070707, #0a0a0a, #070707);
    position: relative;
    overflow: hidden;
}

.products-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent);
    z-index: 1;
}

.products-section .container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 15px;
}

.product-categories {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 25px;
    margin-top: 60px;
    width: 100%;
}

.product-category {
    background: rgba(25, 25, 25, 0.95);
    border-radius: 8px;
    padding: 40px 20px;
    width: calc(25% - 20px);
    max-width: 300px;
    min-width: 200px;
    text-align: center;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
    border-top: 2px solid rgba(244, 176, 0, 0.3);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s forwards;
}

.product-category:nth-child(2) {
    animation-delay: 0.15s;
}

.product-category:nth-child(3) {
    animation-delay: 0.3s;
}

.product-category:nth-child(4) {
    animation-delay: 0.45s;
}

.product-category::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(135deg, rgba(244, 176, 0, 0.05) 0%, transparent 100%);
    z-index: -1;
}

.product-category:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(244, 176, 0, 0.1);
    border-top: 2px solid rgba(244, 176, 0, 0.8);
}

.category-icon {
    background: linear-gradient(135deg, #f4b000, #ffdf00);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3), 0 0 15px rgba(244, 176, 0, 0.3);
}

.category-icon i {
    font-size: 28px;
    color: #000;
}

.product-category h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: #f4b000;
    letter-spacing: 0.1rem;
    line-height: 1.3;
}

.product-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;  /* Change from text-align: center */
    padding-left: 20px; /* Add some left padding for better spacing */
}

.product-category ul li {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 12px;
    position: relative;
    padding-left: 0;
    font-size: 0.95rem;
    text-align: left;  /* Ensure list items are also left-aligned */
}

/* Content List Styles */
.content-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.content-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    text-align: left;
}

.content-list li::before {
    content: "•";
    color: #f4b000;
    display: inline-block;
    margin-right: 0.5rem;
}

/* Animations */
@keyframes fadeUp {
    from { 
        opacity: 0; 
        transform: translateY(30px) scale(0.95);
    }
    to { 
        opacity: 1; 
        transform: translateY(0) scale(1);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translate(-50%, 20px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
    40% { transform: translate(-50%, -10px); }
    60% { transform: translate(-50%, -5px); }
}

@keyframes goldGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes borderAnimation {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes reverseBorderAnimation {
    0% { right: -100%; }
    100% { right: 100%; }
}

@keyframes videoFadeIn {
    from { opacity: 0; }
    to { opacity: 0.15; }
}

@keyframes pulseGlow {
    0% { opacity: 0.3; transform: scale(1); }
    100% { opacity: 0.6; transform: scale(1.1); }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(244, 176, 0, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(244, 176, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(244, 176, 0, 0);
    }
}

@keyframes contentFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.98);
        filter: blur(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes yearTransition {
    0% {
        transform: translateY(20px) scale(0.95);
        opacity: 0;
        filter: blur(5px);
    }
    50% {
        transform: translateY(10px) scale(0.97);
        opacity: 0.5;
        filter: blur(3px);
    }
    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
        filter: blur(0);
    }
}

/* Responsive Styles */
@media screen and (max-width: 1200px) {
    .sec1 h1 {
        font-size: 5rem;
    }

    .product-categories {
        gap: 15px;
    }

    .product-category {
        padding: 30px 15px;
    }

    .product-category h3 {
        font-size: 1.4rem;
    }

    .category-icon {
        width: 60px;
        height: 60px;
    }

    .category-icon i {
        font-size: 24px;
    }
}

@media screen and (max-width: 992px) {
    .sec1 h1 {
        font-size: 4rem;
    }

    .product-categories {
        flex-wrap: wrap;
    }

    .product-category {
        width: calc(50% - 15px);
        margin-bottom: 20px;
    }
    
    .timeline-container {
        flex-direction: column-reverse;
    }
    
    .content-area {
        min-height: auto;
    }
    
    .timeline-nav {
        min-height: auto;
    }
    
    .timeline {
        position: relative;
        height: auto;
        padding: 40px 30px;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 10px;
    }
    
    .timeline-line {
        display: none;
    }
    
    .timeline-item {
        padding: 10px 15px;
        margin: 5px;
        background: rgba(30, 30, 30, 0.8);
        border-radius: 20px;
        border: 1px solid rgba(244, 176, 0, 0.2);
    }
    
    .timeline-item:before {
        display: none;
    }
    
    .timeline-item.active {
        background: rgba(244, 176, 0, 0.2);
        transform: translateX(0);
    }
    
    .timeline-item:hover {
        transform: translateX(0);
        background: rgba(244, 176, 0, 0.1);
    }
}

@media screen and (max-width: 768px) {
    .sec1 h1 {
        font-size: 3.5rem;
    }

    .sec1 p {
        font-size: 1rem;
    }

    .sec2 {
        padding: 40px 25px;
    }

    .sec2 h1 {
        font-size: 2.3rem;
    }

    .sec2 p {
        font-size: 1.2rem;
    }

    .sec3 {
        padding: 100px 15px;
    }

    .sec-title {
        font-size: 2.8rem;
    }

    .sec-text {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2.5rem;
        padding: 30px 0 20px;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
        padding: 0 20px;
    }
    
    .content-wrapper {
        padding: 10px;
    }
    
    .content {
        padding: 25px 15px;
    }
    
    .background-year {
        font-size: 100px;
        top: -50px;
    }
}

@media screen and (max-width: 576px) {
    .sec1 h1 {
        font-size: 3rem;
    }

    .sec-title {
        font-size: 2.5rem;
    }

    .product-category {
        width: 100%;
        max-width: 300px;
    }
    
    .content-title {
        font-size: 1.8rem;
    }
    
    .content-text {
        font-size: 0.95rem;
    }
    
    .timeline {
        padding: 30px 15px;
    }
    
    .timeline-item {
        font-size: 0.9rem;
        padding: 8px 12px;
    }
}

/* Founder Section */
.section-founder {
    text-align: center;
    font-size: 1.2rem;
    color: #f4b000;
    margin: 0 auto 50px;
    font-style: italic;
    font-weight: 500;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 10;
    opacity: 0;
    animation: fadeIn 0.8s ease forwards 0.6s;
}

.section-founder::before {
    content: "";
    position: absolute;
    width: 40px;
    height: 2px;
    background: rgba(244, 176, 0, 0.4);
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
}

.text-left {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 20px 0;
}