* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.armata-regular {
    font-family: "Armata", sans-serif;
    font-weight: 400;
    font-style: normal;
}

body {
    font-family: "Armata", sans-serif;
    font-weight: 400;
    font-style: normal;
    background-color: #000000;
    color: #fff;
}

/* Hero Section */
.testimonial-hero {
    position: relative;
    padding: 100px 0 60px;
    text-align: center;
    background-color: #000000;
    overflow: hidden;
}

.testimonial-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(113, 84, 197, 0.5), transparent);
}

.testimonial-hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.testimonial-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: #fff;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.testimonial-hero p {
    font-size: 1.2rem;
    color: #b7b1b1;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .testimonial-hero {
        padding: 80px 0 40px;
    }

    .testimonial-hero h1 {
        font-size: 2.5rem;
    }

    .testimonial-hero p {
        font-size: 1rem;
    }

    .testimonials-section {
        grid-template-columns: 1fr;
        padding: 20px;
        gap: 20px;
    }

    .testimonial-card {
        padding: 20px;
    }

    .testimonial-card h3 {
        font-size: 20px;
    }

    .testimonial-card p {
        font-size: 14px;
    }

    .testimonial-dp {
        width: 60px;
        height: 60px;
    }

    .testimonial-card::before {
        font-size: 80px;
    }

    .career-graph-section {
        padding: 60px 20px;
    }

    .career-graph-section h2 {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .career-graph {
        padding: 20px 0;
    }

    .milestone {
        margin-bottom: 30px;
    }

    .milestone:nth-child(odd),
    .milestone:nth-child(even) {
        left: 0;
        width: 100%;
    }

    .milestone-content {
        padding: 15px;
    }

    .career-graph::before {
        left: 20px;
    }

    .milestone::before {
        left: 17px;
    }

    .milestone-content h3 {
        font-size: 20px;
    }

    #mbcbtn {
        bottom: 20px;
        left: 20px;
        padding: 10px 16px;
        font-size: 14px;
    }

    .divider {
        margin: 40px auto;
    }
}

@media (max-width: 480px) {
    .testimonial-hero {
        padding: 60px 0 30px;
    }

    .testimonial-hero h1 {
        font-size: 2rem;
    }

    .testimonial-hero p {
        font-size: 0.9rem;
    }

    .testimonials-section {
        padding: 15px;
        gap: 15px;
    }

    .testimonial-card {
        padding: 15px;
    }

    .testimonial-card h3 {
        font-size: 18px;
    }

    .testimonial-card p {
        font-size: 14px;
    }

    .testimonial-dp {
        width: 50px;
        height: 50px;
    }

    .testimonial-card::before {
        font-size: 60px;
        top: 5px;
        right: 10px;
    }

    .career-graph-section {
        padding: 40px 15px;
    }

    .career-graph-section h2 {
        font-size: 24px;
        margin-bottom: 25px;
    }

    .milestone:nth-child(odd),
    .milestone:nth-child(even) {
        width: 100%;
    }

    .milestone-content {
        padding: 12px;
    }

    .milestone-content h3 {
        font-size: 18px;
    }

    #mbcbtn {
        bottom: 15px;
        left: 15px;
        padding: 8px 14px;
        font-size: 12px;
    }

    .divider {
        margin: 30px auto;
    }
}

/* TESTIMONIALSSSSSSSSSS */
#testimonials {
    padding: 40px 0;
    max-width: 1200px;
    margin: 0 auto;
}

#testimonials h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #7154c5;
    margin-bottom: 40px;
    position: relative;
}

#testimonials h2 i {
    margin-right: 15px;
    opacity: 0.8;
}

.testimonials-section {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    padding: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background-color: #1e1e1e;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid #7154c5;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 120px;
    color: rgba(113, 84, 197, 0.1);
    font-family: serif;
    line-height: 1;
    z-index: 0;
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.testimonial-dp {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 3px solid #7154c5;
    box-shadow: 0 5px 15px rgba(113, 84, 197, 0.3);
    transition: transform 0.3s ease;
}

.testimonial-card:hover .testimonial-dp {
    transform: scale(1.1);
}

.testimonial-card h3 {
    font-size: 22px;
    color: #fff;
    margin: 0;
    font-weight: 600;
}

.testimonial-card p {
    color: #b7b1b1;
    line-height: 1.6;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

/* Improved Back Button */
#mbcbtn {
    position: fixed;
    bottom: 40px;
    left: 40px;
    background-color: #7154c5;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

#mbcbtn::before {
    content: '\f060';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 8px;
}

#mbcbtn:hover {
    background-color: #5a43a0;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

/* Divider */
.divider {
    height: 2px;
    background: rgba(113, 84, 197, 0.3);
    margin: 60px auto;
    max-width: 80%;
}

/* Enhanced Career Graph Section */
.career-graph-section {
    padding: 80px 20px;
    background-color: #000000;
    color: #fff;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.career-graph-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #7154c5;
    margin-bottom: 40px;
    position: relative;
}

.career-graph-section h2 i {
    margin-right: 15px;
    opacity: 0.8;
}

.career-graph {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 0;
}

.career-graph::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    width: 4px;
    height: 100%;
    background-color: #7154c5;
}

.milestone {
    position: relative;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.milestone.visible {
    opacity: 1;
    transform: translateY(0);
}

.milestone:nth-child(odd) {
    padding-left: calc(20% + 30px);
    padding-right: 10%;
}

.milestone:nth-child(even) {
    padding-left: calc(20% + 30px);
    padding-right: 10%;
}

.milestone-content {
    background-color: rgba(113, 84, 197, 0.1);
    border-left: 4px solid #7154c5;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.milestone-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.milestone-content h3 {
    color: #7154c5;
    font-size: 24px;
    margin-bottom: 10px;
}

.milestone-content p {
    color: #b7b1b1;
    line-height: 1.6;
}

.milestone::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 20%;
    width: 20px;
    height: 20px;
    background-color: #7154c5;
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 1;
    box-shadow: 0 0 0 4px rgba(113, 84, 197, 0.3);
}

.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background-color: #7154c5;
    color: white;
    padding: 15px;
    border-radius: 10px;
    /* Slight radius for square shape */
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: opacity 0.3s ease, transform 0.3s ease;
    text-decoration: none;
    /* Remove underline */
}

.back-to-top i {
    font-size: 24px;
}

.back-to-top:hover {
    background-color: #7154c5;
    transform: scale(1.1);
}

/* Show the button when scrolling down */
.show {
    display: flex;
}

/* Responsive adjustment */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        padding: 8px;
    }

    .back-to-top i {
        font-size: 20px;
    }
}