html, body {
    height: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    color: #1f2937;
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-weight: 700;
}

section {
    padding: 80px 0;
}

.hero {
    background: linear-gradient(120deg, #0f172a, #333);
    color: #fff;
    text-align: center;
}
.hero h1 {
    font-size: 3rem;
}
.hero p {
    font-size: 1.2rem;
    opacity: .85;
}
.card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,.08);
    transition: transform .3s ease;
}
.card:hover {
    transform: translateY(-6px);
}
.price {
    font-size: 2rem;
    font-weight: 700;
}
.faq-item {
    border-bottom: 1px solid #e5e7eb;
    padding: 15px 0;
}
.footer {
    background-color: #343a40;
    color: white;
    padding: 20px 0;
    margin-top: auto;
}
.social-links a {
    color: white;
    margin: 0 10px;
    font-size: 1.5rem;
    transition: color 0.3s;
}
.social-links a:hover {
    color: #17a2b8;
    text-decoration: none;
}
.offer-link {
    color: #17a2b8;
}
.offer-link:hover {
    color: #138496;
    text-decoration: underline;
}
.education-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #ffffff;
    border-bottom: 1px solid #eee;
}
.education-nav .nav-link {
    color: #333;
    font-weight: 500;
    padding: 15px 18px;
}
.education-nav .nav-link:hover {
    color: #007bff;
}
.education-nav .btn {
    padding: 6px 14px;
}
.education-navbar {
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
body {
    padding-top: 72px;
}
.education-navbar .nav-link {
    font-weight: 500;
    color: #333;
}
.education-navbar .nav-link:hover {
    color: #007bff;
}

.education-navbar .btn {
    padding: 6px 14px;
}

.education-navbar .nav-link.active {
    color: #007bff;
    font-weight: 600;
}
.education-section {
    padding: 80px 0;
    scroll-margin-top: 80px; /* modern fix */
}
.btn {
    border-radius: 50px !important;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}
/* FAQ Accordion */
.faq-accordion .faq-card {
    border: none;
    border-radius: 14px;
    margin-bottom: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,.06);
    overflow: hidden;
    border-left: 4px solid #dbeafe;
    background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
    transition: box-shadow .25s ease, border-color .25s ease, transform .25s ease;
}

.faq-accordion .faq-card:hover {
    border-left-color: #93c5fd;
    box-shadow: 0 14px 34px rgba(30, 64, 175, .12);
    transform: translateY(-1px);
}

.faq-accordion .card-header {
    background: #fff;
    padding: 0;
    border: none;
}

.faq-btn {
    width: 100%;
    text-align: left;
    padding: 20px 24px;
    font-weight: 600;
    color: #1f2937;
    text-decoration: none !important;
    position: relative;
}

.faq-btn:hover {
    color: #007bff;
}

.faq-accordion .card-body {
    padding: 0 24px;
    color: #4b5563;
    line-height: 1.6;
}

/* Иконка + / - */
.faq-icon {
    position: absolute;
    right: 24px;
    top: 50%;
    width: 18px;
    height: 18px;
    transform: translateY(-50%);
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background: #007bff;
    transition: all .3s ease;
}

.faq-icon::before {
    width: 18px;
    height: 2px;
    top: 8px;
    left: 0;
}

.faq-icon::after {
    width: 2px;
    height: 18px;
    top: 0;
    left: 8px;
}

/* Когда открыт — превращаем + в - */
.faq-btn:not(.collapsed) .faq-icon::after {
    opacity: 0;
    transform: rotate(90deg);
}
