:root {
    --primary-blue: #0052CC;      /* Main blue */
    --dark-blue: #172B4D;         /* Dark blue for text */
    --light-blue: #4C9AFF;        /* Light blue for hover */
    --pale-blue: #DEEBFF;         /* Very light blue for backgrounds */
    --accent-blue: #0747A6;       /* Darker blue for emphasis */
    --white: #FFFFFF;
    --primary-color: #3c78da;
    --secondary-color: #01a2dd;
    --text-color: #ffffff;
    --overlay-color: rgba(0, 0, 0, 0.5);
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

/* Hero Section */
.hero {
    background-image: linear-gradient(rgba(7, 19, 41, 0.72), rgba(7, 19, 41, 0.82)), url('./about-hero.webp');
    background-size: cover;
    background-position: center;
    height: 80vh;
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    position: relative;
}

.hero-content {
    color: #ffffff;
    opacity: 1 !important;
    transform: none !important;
    text-align: center;
    max-width: 900px;
    padding: 0 15px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: #ffffff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.9);
    margin-bottom: 1.2rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.hero-content h1 .highlight {
    color: #00d2ff;
    text-shadow: 0 0 30px rgba(0, 210, 255, 0.7), 0 2px 10px rgba(0, 0, 0, 0.9);
}

.hero-content .subtitle {
    color: #f1f5f9;
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    line-height: 1.5;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
    max-width: 720px;
    margin: 0 auto;
}

.hero-content.active {
    opacity: 1;
    transform: none;
}

/* Business Potential Section */
.business-potential {
    padding: 5rem 5%;
}

.section-title {
    color: #666;
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.content-wrapper {
    display: flex;
    gap: 4rem;
}

.highlight-title {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

/* Trusted Partner Section */
.trusted-partner {
    display: flex;
    padding: 5rem 5%;
    background-color: #f5f5f5;
    align-items: center; /* Center items vertically */
}

.partner-content {
    flex: 1;
    padding-right: 4rem;
}

.support-image {
    flex: 1;
    position: relative;
}

.support-image img {
    width: 100%;
    height: 100%; /* Ensure it fills the container */
    object-fit: cover; /* Cover the container without distortion */
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        padding: 100px 16px 50px;
        height: auto;
        min-height: 420px;
    }

    .hero-content {
        padding: 0;
        width: 100%;
    }

    .hero-content h1 {
        font-size: 1.75rem;
        line-height: 1.3;
        margin-bottom: 0.8rem;
    }

    .hero-content .subtitle {
        font-size: 0.95rem;
        line-height: 1.45;
    }

    .content-wrapper,
    .trusted-partner {
        flex-direction: column;
    }
}

/* Team Section Styles */
.team-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.team-member {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    text-align: center;
}

.team-member:hover {
    transform: translateY(-5px);
}

.member-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
}

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

.member-info {
    padding: 25px;
}

.member-name {
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.member-position {
    color: #666;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.member-quote {
    color: #777;
    font-style: italic;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Team Values Styles */
.team-values {
    margin-top: 80px;
    text-align: center;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.value-item {
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.value-item:hover {
    transform: translateY(-5px);
}

.value-item i {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.value-item h4 {
    color: var(--dark-blue);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.value-item p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }

    .member-image {
        height: 250px;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Journey Section */
.journey-section {
    padding: 5rem 5%;
    background-color: #fff;
    text-align: center;
    min-height: 800px;
    visibility: visible;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.journey-section.loading {
    visibility: hidden;
    opacity: 0;
}

.journey-title {
    color: #3d53bd;
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: normal;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.journey-description {
    max-width: 800px;
    margin: 0 auto 4rem;
    color: #666;
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
    transition-delay: 0.2s;
}

.journey-title.active,
.journey-description.active {
    opacity: 1;
    transform: translateY(0);
}

/* Timeline Styles */
.timeline-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline-wrapper {
    overflow: visible;
    padding: 2rem 60px;
    position: relative;
}

.timeline-line {
    position: relative;
    height: 2px;
    background-color: #4a71b5;
    margin: 150px 0;
    transform: scaleX(0);
    transition: transform 0.8s ease-out;
    transform-origin: left;
    will-change: transform;
}

.timeline-line.active {
    transform: scaleX(1);
}

.timeline-events {
    position: absolute;
    display: flex;
    justify-content: space-between;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
}

.event-item {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 10px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
    will-change: transform, opacity;
}

.event-item.active {
    opacity: 1;
    transform: translateY(0);
}

.event-card {
    position: absolute;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    width: 250px;
    text-align: left;
    left: 50%;
    opacity: 0;
    transition: all 0.5s ease-out;
    will-change: transform, opacity;
}

.event-item.active .event-card {
    opacity: 1;
    transform: translate(-50%, 0);
}

.event-card.top {
    bottom: 60px;
    transform: translate(-50%, 20px);
}

.event-card.bottom {
    top: 60px;
    transform: translate(-50%, -20px);
}

.event-point {
    position: absolute;
    width: 24px;
    height: 24px;
    background-color: #4a99b5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    z-index: 2;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 0;
    transition: all 0.4s ease-out;
}

.event-item.active .event-point {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* Navigation buttons */
.nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(154, 181, 74, 0.2);
    color: #4a97b5;
    border: none;
    cursor: pointer;
    z-index: 3;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.nav-button:hover {
    opacity: 1;
}

.nav-button.prev {
    left: 10px;
}

.nav-button.next {
    right: 10px;
}

/* Update the card text styles */
.event-card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
    color: #666;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .event-card {
        width: 200px;
    }
}

@media (max-width: 992px) {
    .event-card {
        width: 180px;
    }
}

/* Testimonials Section */
.testimonials-section {
    padding: 5rem 5%;
    background-color: #f8f8f8;
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
}

.testimonials-heading {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
    font-size: 1.2rem;
    font-weight: 600;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.testimonials-heading.active {
    opacity: 1;
    transform: translateY(0);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.testimonial-card.active {
    opacity: 1;
    transform: translateY(0);
}

.quote-icon {
    margin-bottom: 1rem;
}

.testimonial-text {
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.testimonial-author h3 {
    color: #333;
    margin-bottom: 0.5rem;
}

.testimonial-author p {
    color: #3b9ae8;
    font-size: 0.9rem;
    font-weight: 600;
}


/* General Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.animate-on-scroll.active {
    opacity: 1;
    transform: translateY(0);
}

/* Fade in animations for different directions */
.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s ease-out;
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.6s ease-out;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.active {
    opacity: 1;
    transform: translate(0);
}

/* Timeline Animations */
.timeline-events .event-item.active {
    opacity: 1;
    transform: translateY(0);
}

/* Testimonial Card Animations */
.testimonial-card.hover {
    transform: translateY(-10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}



/* Stagger testimonial card animations */
.testimonial-card:nth-child(1) { transition-delay: 0.2s; }
.testimonial-card:nth-child(2) { transition-delay: 0.4s; }
.testimonial-card:nth-child(3) { transition-delay: 0.6s; }

/* Timeline Animations */
.event-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.event-item.active {
    opacity: 1;
    transform: translateY(0);
}

.event-card {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease-out;
    transition-delay: 0.2s;
}

.event-item.active .event-card {
    opacity: 1;
    transform: translateY(0);
}

.event-point {
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.4s ease-out;
}

.event-item.active .event-point {
    opacity: 1;
    transform: scale(1);
}

.year {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #666;
    font-size: 14px;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.4s ease-out;
    transition-delay: 0.3s;
    margin-top: 5px;
    z-index: 2;
}

.event-item.active .year {
    opacity: 1;
}

/* Timeline Navigation */
.nav-button {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.nav-button:hover {
    opacity: 1;
}

/* Make sure main content doesn't overlap footer */
main {
    min-height: calc(100vh - 400px); /* Adjust based on footer height */
    position: relative;
}
/* Footer styles are centrally maintained in footer.css */

/* Dropdown menu styles are centrally maintained in navbar.css */

.subtitle {
    color: #ffffff; /* Change this to your desired color */
}

ol {
    list-style-type: decimal; /* Ensure numbers are displayed */
    margin-left: 20px; /* Add left margin for indentation */
}

ol li {
    margin-bottom: 10px; /* Space between list items */
}
