/* index.css */

/*? ↓  Start Intro  ↓ */

.intro {
    margin-top: 50px;
}

.intro h1 {
    color: #495057;
}

.intro h1 .accent-name {
    color: #2e97be;
}

/*? ↓  Start Benefits Section  ↓ */

.benefits-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    padding: 20px;
    margin: 50px auto;
}

.benefits-container h2,
.benefits-container p {
    color: #495057;
    margin-bottom: 20px;
}

.benefits-visual {
    position: relative;
    display: grid;
    gap: 20px;
    width: 100%;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.benefits-card {
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    padding: 15px 10px 15px 10px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.benefits-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.benefits-card ul {
    list-style: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
    padding: 0;
}

.benefits-card:hover ul {
    max-height: var(--ul-height);
    margin-top: 10px;
}


/*? ↓  Start Services Container  ↓ */

.carousel-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 50px auto;
    overflow: hidden;
    min-height: 400px;
}

.carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.service-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    width: 100%;
    max-width: 1200px;
    margin: 50px auto;
}

.service-card {
    width: 300px;
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-sizing: border-box;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.service-card h3 {
    font-size: 1.3em;
    color: #495057;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 10px;
    box-shadow: none;
    margin-bottom: 15px;
}

.service-card li {
    padding: 10px;
    color: #495057;
}

.service-card ul {
    list-style: none;
    padding: 0;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(46, 151, 190, 0.8);
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 20px;
    z-index: 1;
    transition: background-color 0.3s ease;
}

.carousel-button:hover {
    background-color: rgba(46, 151, 190, 1);
}

.prev-button {
    left: 10px;
}

.next-button {
    right: 10px;
}

/*? ↓  Start CTA Section  ↓ */

.cta-section {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
    text-align: center;
    color: #495057;
}

.cta-section p {
    font-size: 1.2rem;
    line-height: 1.5;
}

.demos-link,
.cta-button {
    display: inline-block;
    padding: 12px 25px;
    margin-top: 20px;
    background-color: #2e97be;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.demos-link:hover,
.cta-button:hover {
    background-color: #2781a5;
    box-shadow: 0 4px 8px rgba(46, 151, 190, 0.2);
}

.project-steps {
    margin-top: 60px;
    margin-bottom: 40px;
}

.project-steps h2 {
    font-size: 2em;
    margin-bottom: 30px;
}

.steps-list {
    display: grid;
    gap: 30px;
    list-style: none;
    padding: 0;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.steps-list li {
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    padding: 30px;
    text-align: left;
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.steps-list li:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.steps-list li h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #2e97be;
    font-weight: 600;
}

.steps-list {
    counter-reset: step-counter;
}

.steps-list li::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    top: -15px;
    left: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #2e97be;
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}