/* General Body Styling */
body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background: linear-gradient(to right, #f4f8fb, #dfefff);
    color: #1a1a1a;
}

/* Container Styling */
.ags-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* Title Section */
.ags-title {
    text-align: center;
    margin-bottom: 60px;
}

.ags-title h1 {
    font-size: 2.8rem;
    color: #005bff;
}

/* Timeline Container */
.ags-timeline {
    position: relative;
    margin: 0;
    padding: 0;
}

/* Timeline Line */
.ags-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    width: 4px;
    background: #005bff33;
    top: 0;
    bottom: 0;
    transform: translateX(-50%);
}

/* Individual Step */
.ags-step {
    position: relative;
    width: 50%;
    padding: 30px 40px;
    box-sizing: border-box;
}

/* Step Content */
.ags-step-content {
    background: #ffffff;
    border: 1px solid #e0e7f1;
    padding: 20px 25px;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 91, 255, 0.08);
    transition: all 0.3s ease;
    color: #333;
}

/* Step Heading */
.ags-step h3 {
    color: #005bff;
    margin-bottom: 10px;
}

/* Step Colors per Step */
.step-1 .ags-step-content {
    background: #f3f9e8; /* Soft yellow */
    border: 1px solid #cddc39;
    color: #555; /* Darker text for better readability */
}

.step-2 .ags-step-content {
    background: #e8f5e9; /* Soft green */
    border: 1px solid #81c784;
    color: #555;
}

.step-3 .ags-step-content {
    background: #e3f2fd; /* Soft blue */
    border: 1px solid #64b5f6;
    color: #555;
}

.step-4 .ags-step-content {
    background: #f3e5f5; /* Soft purple */
    border: 1px solid #ba68c8;
    color: #555;
}

.step-5 .ags-step-content {
    background: #ffebee; /* Soft red */
    border: 1px solid #ef9a9a;
    color: #555;
}

.step-6 .ags-step-content {
    background: #e1f5fe; /* Light blue */
    border: 1px solid #81d4fa;
    color: #555;
}

.step-7 .ags-step-content {
    background: #e0f7fa; /* Light cyan */
    border: 1px solid #4dd0e1;
    color: #555;
}

.step-8 .ags-step-content {
    background: #f3e5f5; /* Light purple */
    border: 1px solid #9c27b0;
    color: #555;
}

.step-9 .ags-step-content {
    background: #e8f5e9; /* Light green */
    border: 1px solid #66bb6a;
    color: #555;
}

/* Positioning Odd and Even Steps */
.ags-step:nth-child(odd) {
    left: 0;
}

.ags-step:nth-child(even) {
    left: 50%;
}

/* Step Circles */
.ags-step::before {
    content: '';
    position: absolute;
    top: 40px;
    width: 20px;
    height: 20px;
    background: #005bff;
    border-radius: 50%;
    border: 4px solid white;
    z-index: 2;
}

.ags-step:nth-child(odd)::before {
    right: -10px;
}

.ags-step:nth-child(even)::before {
    left: -10px;
}

/* Step Animation */
.ags-step {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.ags-step.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .ags-step {
        width: 100%;
        left: 0 !important;
        padding-left: 60px;
        margin-bottom: 40px;
    }

    .ags-timeline::before {
        left: 30px;
    }

    .ags-step::before {
        left: 10px !important;
    }
}