
body.courts {
    margin: 0;
    background: linear-gradient(rgba(5, 12, 26, 0.8), rgba(5, 12, 26, 0.8)), 
                url('/assets/images/courts_main-back-3.webp') no-repeat center center fixed;
    background-size: cover;
    font-family: 'Inter', sans-serif;
    color: #fff;
        }

        .courts-page {
            padding: 40px 0 80px;
        }

        .courts-container {
            width: min(1240px, 92%);
            margin: 0 auto;
        }

        .courts-hero {
            text-align: center;
            margin-bottom: 34px;
        }
.courts-seo-content,
.courts-faq {
    max-width: 900px;
    margin: 80px auto 0;
    padding: 50px;
    background: rgba(7, 15, 30, 0.88);
    border-radius: 24px;
    backdrop-filter: blur(6px);
}

.courts-seo-content h2,
.courts-faq h2 {
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 36px;
    line-height: 1.3;
}

.courts-seo-content h2:first-child,
.courts-faq h2:first-child {
    margin-top: 0;
}

.courts-seo-content p,
.courts-faq p {
    font-size: 17px;
    line-height: 1.9;
    color: #d1d5db;
    margin-bottom: 20px;
}

.faq-item {
    margin-bottom: 35px;
}

.faq-item:last-child {
    margin-bottom: 0;
}

.faq-item h3 {
    margin-bottom: 12px;
    font-size: 24px;
    line-height: 1.35;
}

@media (max-width: 768px) {
    .courts-seo-content,
    .courts-faq {
        margin-top: 50px;
        padding: 28px 22px;
        border-radius: 20px;
    }

    .courts-seo-content h2,
    .courts-faq h2 {
        font-size: 26px;
    }

    .courts-seo-content p,
    .courts-faq p {
        font-size: 16px;
        line-height: 1.8;
    }

    .faq-item h3 {
        font-size: 20px;
    }
}
        .courts-hero h1 {
            margin: 0 0 14px;
            font-size: 42px;
            line-height: 1.15;
            font-weight: 800;
            color: #ffffff;
        }

        .courts-hero p {
            margin: 0 auto;
            max-width: 760px;
            font-size: 18px;
            line-height: 1.7;
            color: rgba(255, 255, 255, 0.72);
        }

       .courts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 28px;
    align-items: stretch;
}

  .courts-card {
    background: rgba(255, 255, 255, 0.03) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 26px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.28);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
    overflow: hidden;
    box-sizing: border-box;
}

.courts-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0; 
    transition: opacity 0.5s ease, transform 0.8s ease;
    z-index: -1;
}

.courts-card:hover {
    transform: translateY(-10px);
    border-color: #22c55e !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

.courts-card:hover::before {
    opacity: 0.3; 
    transform: scale(1.1);
}

        .courts-card-top {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

        .courts-badge {
            display: inline-flex;
            align-items: center;
            align-self: flex-start;
            margin-bottom: 14px;
            padding: 7px 12px;
            border-radius: 999px;
            background: rgba(34, 197, 94, 0.14);
            color: #4ade80;
            font-size: 13px;
            font-weight: 700;
            letter-spacing: 0.2px;
        }

        .courts-card h2 {
            margin: 0 0 18px;
            font-size: 31px;
            line-height: 1.18;
            color: #22c55e;
            font-weight: 800;
            min-height: 74px;
        }

        .courts-info {
            display: flex;
            flex-direction: column;
            gap: 14px;
            margin-bottom: 18px;
        }

        .courts-info-item {
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(255, 255, 255, 0.05);
            border-radius: 14px;
            padding: 14px 15px;
        }

        .courts-info-label {
            display: block;
            font-size: 13px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.4px;
            color: rgba(255, 255, 255, 0.48);
            margin-bottom: 6px;
        }

        .courts-info-value {
            font-size: 18px;
            line-height: 1.55;
            color: rgba(255, 255, 255, 0.95);
            word-break: break-word;
        }

        .courts-desc {
            margin: 0;
            color: rgba(255, 255, 255, 0.72);
            font-size: 16px;
            line-height: 1.75;
            flex-grow: 1;
        }

       .courts-actions {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-shrink: 0;
}
.courts-card:nth-child(1)::before { background-image: url('/assets/images/Avan-academy.webp'); }
.courts-card:nth-child(2)::before { background-image: url('/assets/images/shirakatsy.webp'); }
.courts-card:nth-child(3)::before { background-image: url('/assets/images/Ararat-Tennis-Club.webp'); }
.courts-card:nth-child(4)::before { background-image: url('/assets/images/hills.webp'); }
.courts-card:nth-child(5)::before { background-image: url('/assets/images/incourt.webp'); }
.courts-card:nth-child(6)::before { background-image: url('/assets/images/Fizika.webp'); }
.courts-card:nth-child(7)::before { background-image: url('/assets/images/Davtyan.webp'); }

        .courts-btn {
            display: inline-flex;
            justify-content: center;
            align-items: center;
            width: 100%;
            min-height: 52px;
            padding: 14px 18px;
            border-radius: 14px;
            text-decoration: none;
            font-size: 17px;
            font-weight: 700;
            transition: all 0.2s ease;
            box-sizing: border-box;
        }

        .courts-btn-call {
          background: #22c55e !important; 
          color: #000 !important; 
          font-weight: bold; 
          border-radius: 12px;
        }

        .courts-btn-call:hover {
            transform: translateY(-2px);
            box-shadow: 0 14px 28px rgba(34, 197, 94, 0.28);
        }

        .courts-btn-map {
            background: rgba(255, 255, 255, 0.04);
            color: #ffffff;
            border: 1px solid rgba(255, 255, 255, 0.11);
        }

        .courts-btn-map:hover {
            transform: translateY(-2px);
            background: rgba(255, 255, 255, 0.07);
            border-color: rgba(255, 255, 255, 0.2);
        }

        @media (max-width: 900px) {
            .courts-hero h1 {
                font-size: 34px;
            }

            .courts-card h2 {
                font-size: 27px;
                min-height: auto;
            }
        }

        @media (max-width: 768px) {
            .courts-page {
                padding: 26px 0 60px;
            }

            .courts-hero {
                margin-bottom: 24px;
            }

            .courts-hero h1 {
                font-size: 29px;
            }

            .courts-hero p {
                font-size: 16px;
            }

            .courts-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }

            .courts-card {
                padding: 20px;
                border-radius: 20px;
            }

            .courts-card h2 {
                font-size: 24px;
                margin-bottom: 14px;
            }

            .courts-info-value {
                font-size: 16px;
            }

            .courts-btn {
                font-size: 16px;
                min-height: 50px;
            }
        }
 