.home-about,
.home-services {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.home-about.is-visible,
.home-services.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.home-about {
    padding: 100px 8% 80px;
}

.home-about-text {
    max-width: 620px;
}

.home-about h2,
.home-services h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #222;
}

.home-about .home-about-text h2,
.home-about .home-about-text p,
.home-about .home-about-image img,
.home-services h2,
.home-services .home-service-item,
.home-services .view-course-btn {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.home-about.is-visible .home-about-text h2 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
}

.home-about.is-visible .home-about-text p {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
}

.home-about.is-visible .home-about-image img {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
}

.home-about p,
.home-service-item p {
    color: #666;
    line-height: 1.8;
}

.home-about .home-about-image img {
    width: 100%;
    max-width: 520px;
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(34, 34, 34, 0.08);
}

.home-services {
    padding: 40px 8% 100px;
}

.home-services.is-visible h2 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
}

.home-services.is-visible .home-service-item {
    opacity: 1;
    transform: translateY(0);
}

.home-services.is-visible .home-service-item:nth-child(1) {
    transition-delay: 0.25s;
}

.home-services.is-visible .home-service-item:nth-child(2) {
    transition-delay: 0.4s;
}

.home-services.is-visible .home-service-item:nth-child(3) {
    transition-delay: 0.55s;
}

.home-services.is-visible .view-course-btn {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.7s;
}

.home-services-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.home-service-item {
    background: #fff;
    border: 1px solid #ece7de;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 10px 28px rgba(34, 34, 34, 0.05);
}

.home-service-item h3 {
    margin-bottom: 10px;
    font-size: 20px;
    color: #222;
}

.view-course-btn {
    display: inline-block;
    margin-top: 28px;
    padding: 12px 24px;
    border-radius: 999px;
    background: #f3ebdf;
    color: #3f3528;
    text-decoration: none;
    transition: all 0.3s ease;
}

.view-course-btn:hover {
    background: #e9dcc4;
}

@media (max-width: 900px) {
    .home-services-list {
        grid-template-columns: 1fr;
    }
}

/* Home page content refinements */
.home-about-text{max-width:560px}
.home-about-eyebrow{
    margin-bottom:16px;
    color:#a58a5a !important;
    font-size:12px;
    font-weight:700;
    letter-spacing:2.4px;
}

.home-about h2{
    max-width:520px;
    font-size:clamp(2.2rem, 4vw, 3.5rem);
    line-height:1.12;
    letter-spacing:-.04em;
}

.home-about h2 span{color:#a58a5a}
.home-about-copy{display:grid;gap:16px}
.home-about-copy p{margin:0;max-width:540px}
.home-about-points{display:flex;flex-wrap:wrap;gap:10px;margin-top:28px}
.home-about-points span{
    padding:9px 13px;
    border:1px solid #ded4c5;
    border-radius:999px;
    color:#5b5144;
    font-size:13px;
    font-weight:600;
}

.home-about-image{
    min-height:0;
    padding:12px;
    background:#fff;
    border:1px solid #e9e1d5;
    border-radius:24px;
    box-shadow:0 18px 45px rgba(34,34,34,.1);
}

.home-about .home-about-image .about-image-main{
    display:block;
    width:100%;
    max-width:none;
    height:520px;
    object-fit:cover;
    object-position:center;
    border-radius:14px;
    box-shadow:none;
}

.testimonial-header{margin-bottom:34px}
.testimonial-header h2{margin:0}
.testimonial-list{max-width:1040px;gap:18px}
.testimonial-item{padding:24px;gap:16px;border-radius:16px}
.testimonial-text{font-size:14px;line-height:1.75}
.testimonial-author h4{font-size:16px}

@media (max-width:768px){
    .home-about h2{font-size:2.25rem}
    .home-about .home-about-image .about-image-main{height:360px}
    .home-about-image{padding:8px;border-radius:18px}
    .testimonial-header{margin-bottom:28px}
    .testimonial-item{padding:20px}
}
