.bg-primary-custom {
    background-color: var(--primary-color);
}

.text-primary-custom {
    color: var(--primary-color);
}

.border-primary-custom {
    border-color: var(--primary-color) !important;
}

/* Timeline */
.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
    transform: translateX(-50%);
}

.timeline-item {
    width: 50%;
    padding: 20px;
    position: relative;
    margin-bottom: 30px;
}

.timeline-item:nth-child(odd) {
    margin-left: 0;
    padding-right: 40px;
}

.timeline-item:nth-child(even) {
    margin-left: 50%;
    padding-left: 40px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-color);
    top: 25px;
}

.timeline-item:nth-child(odd)::before {
    right: -10px;
}

.timeline-item:nth-child(even)::before {
    left: -10px;
}

.timeline-content {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 128, 128, 0.1);
    transition: transform 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
}

@media (max-width: 768px) {
    .timeline {
        padding-left: 30px;
    }

    .timeline::before {
        left: 20px;
        /* Position the line on the left */
        transform: none;
        /* Remove horizontal centering */
    }

    .timeline-item {
        width: 100%;
        /* Make timeline items full-width */
        margin-left: 0;
        /* Align all items to the left */
        padding-left: 50px;
        /* Adjust padding for spacing from the line */
    }

    .timeline-item::before {
        left: 0 !important;
        /* Position the circle indicator near the line */
        right: auto !important;
    }

    .timeline-item:nth-child(odd) {
        margin-left: 0;
        padding-right: 40px;
    }

    .timeline-item:nth-child(even) {
        margin-left: 0;
        padding-right: 40px;
    }

    .timeline-item:nth-child(odd)::before {
        right: -10px;
    }

    .timeline-item:nth-child(even)::before {
        right: -10px;
    }
}

/* Team Cards */
.team-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 0.5rem;
    border: 1px solid rgba(0, 128, 128, 0.1);
}

.team-card:hover {
    transform: translateY(-10px);
}

.team-image {
    height: 300px;
    object-fit: cover;
}

.team-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 128, 128, 0.9));
    padding: 20px;
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.team-card:hover .team-overlay {
    transform: translateY(0);
}

/* Products Section */
.product-card {
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 20px rgba(0, 128, 128, 0.15);
}

.product-image {
    height: 200px;
    object-fit: cover;
}

/* Store Section */
.store-section {
    position: relative;
    padding: 80px 0;
    background: linear-gradient(45deg, var(--primary-dark), var(--primary-light));
    color: white;
}

.scroll-top.visible {
    opacity: 1;
}

/* Custom animations */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}

.section-heading {
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 10px;
    margin-bottom: 30px;
}

.founder-image-wrapper {
    width: 100%;
    max-width: 300px;
    /* Fixed size for larger screens */
    height: auto;
    /* Maintain aspect ratio */
    margin: 0 auto;
    /* Center image in smaller screens */
}

.founder-image-wrapper img {
    width: 100%;
    height: auto;
    /* Ensure no distortion */
    object-fit: cover;
    /* Makes sure the image fills the container without cropping */
    border-radius: 12px;
    /* Optional: Rounded corners */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    /* Optional: Add a soft shadow */
}

@media (max-width: 768px) {
    .founder-image-wrapper {
        max-width: 200px;
        /* Adjust size for mobile view */
    }
}