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

:root {
    --primary: #8525eb;
    --primary-dark: #3f0882;
    --success: #10b981;
    --warning: #f59e0b;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --border: #e5e7eb;
    --white: #ffffff;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

.container {
    max-width: 75rem;
    margin: 0 auto;
    padding: 0 1.25rem;
}

h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
}

/* Header */
.header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.header div a, .header div div a {
    text-decoration: none
}

.header .container {
    padding: 0.5rem 1rem;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.header-top {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.header-bottom {
    display: grid;
    grid-auto-flow: column;
    gap: 0.25rem;
}


.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.logo-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
}

.logo-link:hover .logo {
    opacity: 0.8;
    transition: opacity 0.3s;
}

.logo-image {
    width: 2.75rem;
    height: 2.75rem;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.phone-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    transition: color 0.3s;
}

.phone-link:hover {
    color: var(--primary);
}

.submit-btn {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 0.625rem 1.5rem;
    font-size: 0.95rem;
    border-radius: 0.375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.submit-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* Hero Section */
.hero {
    background-image: url('../static/img/hero-bg.png');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
}

.hero h1 {
    font-size: 2.75rem;
}

.hero p {
    font-size: 1.25rem;
    font-weight: bold;
}

.hero-container {
    margin: 0 auto;
    padding: 5rem 1.25rem;
    background-color: rgba(0, 0, 0, 0.5);
    text-align: left;
}

.hero-container h1, .hero-container p {
  margin: 0;
  font-size: clamp(1.5rem, 2.5rem); /* адаптивный размер */
  max-width: 70ch;          /* ограничивает ширину строки */
}

@media (min-width: 769px) and (max-width: 1199px) {
    .hero-container h1 {
        transform: translateX(10%); /* лёгкий сдвиг к центру при желании */
    }
    .hero-container p {
        transform: translateX(20%); /* лёгкий сдвиг к центру при желании */
    }
}
@media (min-width: 1200px) and (max-width: 1399px) {
    .hero-container h1 {
        transform: translateX(15%); /* лёгкий сдвиг к центру при желании */
    }
    .hero-container p {
        transform: translateX(30%); /* лёгкий сдвиг к центру при желании */
    }
}
@media (min-width: 1400px) {
    .hero-container {
        display: grid;
        justify-content: center;
    }
}

.hero-career {
    display: grid;
    justify-content: center;
    justify-items: center;
}

.hero-career h1 {
    transform: translateX(0);
}

/* Services Section */
.services {
    padding: 5rem 1.25rem;
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15.625rem, 1fr));
    gap: 2rem;
}

.service-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: 0.625rem;
    border: 0.125rem solid transparent;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    overflow: hidden;
    height: 20rem;
    position: relative;
    box-shadow: 0 0.25rem 0.625rem rgba(0, 0, 0, 0.1);
    text-align: center;
}

.service-card:hover {
    background: var(--white);
    border-color: var(--primary);
    transform: translateY(-0.3125rem);
    box-shadow: 0 0.75rem 1.5625rem rgba(37, 99, 235, 0.2);
}

.service-card h3 {
    font-size: 1.25rem;
    margin: 0.5rem 1.5rem 0 1.5rem;
    z-index: 2;
    flex-shrink: 0;
    color: var(--primary);
    font-weight: 600;
}

.service-image-container {
    flex: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e0e0e0;
    margin: 0.75rem 0;
}

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

.service-card:hover .service-image-container img {
    transform: scale(1.05);
}

.service-card p {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5));
    backdrop-filter: blur(8px);
    color: white;
    padding: 1.25rem;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.4;
    max-height: 170px;
    text-align: center;
}

/* Service Detail */
.service-detail {
    padding: 5rem 1.25rem;
    background: var(--white);
}

.service-content {
    display: grid;
    gap: 3rem;
    margin-bottom: 3rem;
    grid-auto-flow: column;
    grid-auto-columns: minmax(30rem, 1fr) 1fr;
}

.service-masters {
    flex: 1;
    min-width: 0;
}

.service-description h3,
.service-pricing h3,
.benefits h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

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

.service-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-dark);
    line-height: 1.6;
}

.service-list li:before {
    content: "✓ ";
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 600;
}

.pricing-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pricing-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 0.625rem;
    border-left: 0.3rem solid var(--primary);
}

.pricing-item span:first-child {
    color: var(--text-dark);
    font-weight: 500;
}

.price {
    color: var(--success);
    font-weight: 700;
    font-size: 1.1rem;
    text-align: end;
}

.benefits {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 0.625rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.benefit-item {
    padding: 1rem;
    background: var(--white);
    border-radius: 0.375rem;
    color: var(--success);
    font-weight: 600;
    text-align: center;
}

/* Why We're Better Section */
.why-better {
    padding: 1rem .25rem;
    background: var(--white);
}

.why-better h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
    color: var(--primary);
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15.625rem, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.comparison-item {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 0.625rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.08);
}

.comparison-item:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 0.5rem 1.25rem rgba(37, 99, 235, 0.15);
}

.comparison-icon {
    font-size: 2.5rem;
    color: var(--success);
    margin-bottom: 1rem;
    font-weight: 700;
}

.comparison-item h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    color: var(--primary);
    font-weight: 600;
}

.comparison-item p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* How It Works */
.how-it-works {
    padding: 5rem 1.25rem;
    background: var(--bg-light);
}

.steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.step {
    background: var(--white);
    padding: 2rem;
    border-radius: 0.625rem;
    text-align: center;
    width: 13.75rem;
    height: 15rem;
    box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.08);
    display: grid;
    grid-auto-flow: row;
    align-items: center;
    grid-auto-flow: row;
    align-content: center;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
}

.step h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.step p {
    font-size: 0.9rem;
    color: var(--text-light);
}

.step-arrow {
    font-size: 2rem;
    color: var(--primary);
    flex-shrink: 0;
    display: none;
}

.trust-text {
    text-align: center;
    font-size: 1.1rem;
    color: var(--success);
    font-weight: 600;
    margin-top: 2rem;
}

/* Masters Section */
.masters {
    padding: 5rem 1.25rem;
    background: var(--white);
}

.slider-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
}

.masters-slider {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 1rem 0;
    scroll-behavior: smooth;
    width: 100%;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.masters-slider::-webkit-scrollbar {
    display: none;
}

.masters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(13.75rem, 1fr));
    gap: 2rem;
}

.master-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s;
    border: 2px solid transparent;
    flex: 0 0 min(100%, 16.25rem);
    min-width: 16.25rem;
}

.master-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.master-avatar {
    width: 10rem;
    height: 10rem;
    font-size: 3rem;
    margin: 0 1rem;
}

.master-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.rating {
    color: var(--warning);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.specialty {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Service Masters Slider */

.service-masters h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.service-masters-slider {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    width: 100%;
    -ms-overflow-style: none;
    scrollbar-width: none;
    snap-type: x mandatory;
    justify-content: flex-start;
}

.service-masters-slider::-webkit-scrollbar {
    display: none;
}

.master-slider-card {
    flex: 0 0 calc(50% - 1rem);
    scroll-snap-align: start;
    scroll-snap-stop: always;
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.master-slider-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    margin-top: 1rem;
}

.master-slider-card .master-avatar {
    width: 10rem;
    height: 10rem;
    border-radius: 15%;
    object-fit: cover;
}

.master-slider-card .contact-link {
    margin-top: 1rem;
}

.master-slider-card .contact-link a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.master-slider-card .contact-link a:hover {
    text-decoration: underline;
}

/* Career CTA */
.career-cta {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    padding: 0.8rem;
    border-radius: 0.625rem;
    text-align: center;
    margin-top: 1rem;
}

.career-cta h3 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.career-cta p {
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
    opacity: 0.95;
}

.career-btn {
    display: inline-block;
    background: var(--white);
    color: var(--primary);
    padding: 0.4rem 1rem;
    border-radius: 0.375rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.career-btn:hover {
    transform: translateY(-0.125rem);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2);
}

/* Reviews Section */
.reviews {
    padding: 5rem 1.25rem;
    background: var(--bg-light);
}

.review-last-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.reviews-slider {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 1rem 0;
    scroll-behavior: smooth;
    width: 100%;
    /* Hide scrollbar while keeping scroll functionality */
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.reviews-slider::-webkit-scrollbar {
    display: none;
}

.review-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    flex: 0 0 min(100%, 20rem);
    min-width: 20rem;
}

.review-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
}

.review-image {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    padding: 3rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 600;
}

.review-text {
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.6;
    font-style: italic;
}

.review-author {
    font-weight: 600;
}

.review-grade {
    color: #f59e0b;
    font-size: 1.1rem;
    font-weight: 600;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(16.25rem, 1fr));
    gap: 2rem;
}

/* Slider navigation arrows */
.slider-controls {
    display: flex;
    gap: 1rem;
    justify-content: center;
    width: 100%;
}

.slider-arrow {
    background: var(--primary);
    color: var(--white);
    border: none;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    z-index: 10;
}

.slider-arrow:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(133, 37, 235, 0.3);
}

.slider-arrow:active {
    transform: scale(0.95);
}

.slider-arrow-left {
    order: -1;
}

.slider-arrow-right {
    order: 1;
}

.review-text {
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.review-author {
    color: var(--text-light);
    font-weight: 600;
}

/* Application Form */
.application-form {
    padding: 2rem 1.25rem;
    background: var(--white);
}

.form {
    max-width: 37.5rem;
    margin: 0 auto;
    background: var(--bg-light);
    padding: 0.5rem;
    border-radius: 0.625rem;
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.08);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.form .submit-btn {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 2rem 0;
    text-align: center;
    margin-top: 3rem;
}

.footer a {
    color: var(--white);
    text-decoration: none;
}

.footer .container {
    display: flex;
    justify-content: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
    width: 100%;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-link {
    color: var(--white);
    text-decoration: none;
    transition: opacity 0.3s ease;
    font-size: 0.95rem;
}

.footer-link:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.footer-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-social-label {
    font-weight: 600;
    font-size: 0.95rem;
}

.footer-social-link {
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 0.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    min-width: 2.5rem;
    height: 2.5rem;
}

.footer-social-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
    text-decoration: none;
}

.footer p {
    margin-bottom: 0.5rem;
}

.footer a img {
    width: 1.5rem;
    height: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .header-top {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 0.5rem;
    }

    .logo {
        flex: 0 0 auto;
    }

    .phone-link {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .submit-btn {
        width: 100%;
    }

    .services,
    .how-it-works,
    .masters,
    .reviews,
    .application-form {
        padding: 1rem 0.25rem;
    }

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

    .steps {
        gap: 0;
        flex-direction: column;
    }

    .step {
        margin: 1rem;
        padding: 1rem;
        width: 85%;
        height: 10rem;
    }
    
    .step-arrow {
        display: block;
        transform: rotate(90deg);
        margin: -0.5rem 0;
    }

    h2 {
        font-size: 1.75rem;
        margin: 0;
    }

    .career-cta {
        padding: 0.5rem;
        margin-top: 1rem;
    }

    .career-cta h3 {
        font-size: 1rem;
    }

    .career-btn {
        padding: 0.3rem 1rem;
        font-size: 0.8rem;
    }

    .services-grid,
    .masters-grid {
        grid-template-columns: 1fr;
        margin-top: 1.25rem;
    }

    .reviews-slider {
        scroll-snap-type: x mandatory;
    }

    .master-card,
    .review-card {
        padding: 0.5rem;
        scroll-snap-align: start;
    }

    .service-content {
        grid-auto-flow: row;
        grid-auto-columns: 1fr;
        gap: 1.5rem;
    }

    .service-pricing {
        width: 100%;
    }

    .service-description h3,
    .service-pricing h3,
    .service-masters h3,
    .benefits h3 {
        font-size: 1.25rem;
    }

    .service-list li {
        padding: 0.5rem 0 0.5rem 1.5rem;
        font-size: 0.9rem;
    }

    .pricing-item {
        padding: 0.75rem;
    }

    .benefits-grid {
        grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
        gap: 0.75rem;
    }

    .benefit-item {
        padding: 0.75rem;
        font-size: 0.85rem;
    }

    .service-detail {
        padding: 1rem 0.25rem;
    }
}

/* Career Page */
.vacancies {
    padding: 5rem 1.25rem;
    background: var(--white);
}

.vacancies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(16.25rem, 1fr));
    gap: 2rem;
}

.vacancy-card {
    display: grid;
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 0.625rem;
    border-left: 0.4rem solid var(--primary);
    transition: all 0.3s;
}

.vacancy-card:hover {
    transform: translateY(-0.3125rem);
    box-shadow: 0 0.625rem 1.5625rem rgba(37, 99, 235, 0.15);
}

.vacancy-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.location {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.description {
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.salary {
    background: var(--white);
    padding: 0.75rem;
    border-radius: 0.375rem;
    font-weight: 600;
    color: var(--success);
    margin-bottom: 1rem;
}

.benefits {
    background: var(--white);
    padding: 1rem;
    border-radius: 0.375rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.benefits strong {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.benefits ul {
    list-style: none;
    padding-left: 1rem;
}

.benefits li {
    margin-bottom: 0.3rem;
    color: var(--text-light);
}

.benefits li:before {
    content: "✓ ";
    color: var(--success);
    font-weight: 600;
    margin-right: 0.5rem;
}

.apply-btn {
    width: 100%;
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 0.75rem;
    border-radius: 0.375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.apply-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-0.125rem);
    box-shadow: 0 0.25rem 0.75rem rgba(37, 99, 235, 0.3);
}

@media (max-width: 768px) {
    .vacancies {
        padding: 1rem 0.25rem;
    }

    .vacancies-grid {
        grid-template-columns: 1fr;
    }

    .vacancy-card {
        padding: 1.5rem;
    }

    .vacancy-card h3 {
        font-size: 1.1rem;
    }

    /* Responsive footer */
    .footer-content {
        gap: 1.5rem;
    }

    .footer-social {
        gap: 0.5rem;
    }

    .footer-social-label {
        width: 100%;
    }

    .footer-social-link {
        font-size: 1.2rem;
        min-width: 2rem;
        height: 2rem;
        padding: 0.25rem;
    }
}

/* Responsive slider styles */
@media (max-width: 768px) {
    .slider-wrapper {
        gap: 0.75rem;
    }

    .masters-slider,
    .reviews-slider,
    .service-masters-slider {
        gap: 1.5rem;
    }

    .slider-arrow {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.2rem;
    }

    .master-card {
        flex: 0 0 min(100%, 14rem);
        min-width: 14rem;
    }

    .review-card {
        flex: 0 0 min(100%, 14rem);
        min-width: 14rem;
    }

    .master-slider-card {
        flex: 0 0 calc(100% - 2rem);
        width: calc(100% - 2rem);
    }
}

/* Alert Messages */
.alert {
    padding: 1rem 1.25rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    font-weight: 500;
    animation: slideDown 0.3s ease-in-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-success {
    background-color: #d1fae5;
    color: #065f46;
    border-left: 4px solid #10b981;
}

.alert-danger {
    background-color: #fee2e2;
    color: #7f1d1d;
    border-left: 4px solid #ef4444;
}

.alert-warning {
    background-color: #fef3c7;
    color: #92400e;
    border-left: 4px solid #f59e0b;
}
