/*
* Автошкола "Фортуна" - Основні стилі
* Версія: 1.0
* Останнє оновлення: 20.10.2023
*/

/* ===== RESET & БАЗОВІ СТИЛІ ===== */
:root {
    --primary-color: #FFC107;
    --primary-dark: #FFA000;
    --primary-light: #FFECB3;
    --secondary-color: #333333;
    --secondary-light: #555555;
    --text-color: #333333;
    --light-text: #666666;
    --white: #FFFFFF;
    --light-gray: #F9F9F9;
    --medium-gray: #E0E0E0;
    --dark-gray: #6C757D;
    --success: #28A745;
    --danger: #DC3545;
    --warning: #FFC107;
    --info: #17A2B8;
    --facebook: #3B5998;
    --instagram: #E1306C;
    --telegram: #0088CC;
    --viber: #7360F2;
    --youtube: #FF0000;
    --font-main: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    --border-radius: 4px;
    --transition: all 0.3s ease;
    --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --box-shadow-hover: 0 5px 15px rgba(0, 0, 0, 0.15);
}

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

body {
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary-dark);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 20px;
}

ul, ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

/* ===== КОНТЕЙНЕР І СІТКА ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

/* ===== ЗАГОЛОВКИ СЕКЦІЙ ===== */
.section-title {
    position: relative;
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 15px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

/* ===== КНОПКИ ===== */
.btn {
    display: inline-block;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    border: 1px solid transparent;
    padding: 12px 25px;
    font-size: 16px;
    line-height: 1.5;
    border-radius: var(--border-radius);
    transition: var(--transition);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--secondary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
}

.btn-secondary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--secondary-light);
    border-color: var(--secondary-light);
}

.btn-light {
    background-color: var(--white);
    border-color: var(--white);
    color: var(--secondary-color);
}

.btn-light:hover {
    background-color: var(--light-gray);
    border-color: var(--light-gray);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

/* ===== ШАПКА (HEADER) ===== */
header {
    background-color: var(--white);
    box-shadow: var(--box-shadow);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo a {
    display: flex;
    align-items: center;
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 1.5rem;
}

.logo svg {
    margin-right: 10px;
}

.logo span {
    white-space: nowrap;
}

.main-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-menu li {
    margin-left: 25px;
    position: relative;
}

.main-menu li:first-child {
    margin-left: 0;
}

.main-menu li a {
    color: var(--secondary-color);
    font-weight: 500;
    padding: 10px 0;
    display: block;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
}

.main-menu li a:hover,
.main-menu li.active a {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--secondary-color);
}

/* ===== ГЕРОЙ (HERO SECTION) ===== */
.hero {
    background-color: var(--light-gray);
    padding: 0;
    position: relative;
    display: flex;
    min-height: 600px;
}

.hero-content {
    width: 50%;
    padding: 80px 50px 80px 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-image {
    width: 50%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.hero h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    font-weight: 600;
    color: var(--primary-color);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--light-text);
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

/* ===== ПЕРЕВАГИ (FEATURES) ===== */
.features {
    padding: 80px 0;
    background-color: var(--white);
}

.feature-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.feature-card {
    flex: 1 1 250px;
    max-width: 300px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--light-text);
    margin-bottom: 0;
}

/* ===== КУРСИ (COURSES) ===== */
.courses-preview {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.course-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
}

.course-card {
    flex: 1 1 300px;
    max-width: 380px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.course-image {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.course-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 5px 15px;
    border-radius: 30px;
    font-weight: 500;
    font-size: 0.875rem;
}

.course-content {
    padding: 25px;
}

.course-content h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.course-content p {
    color: var(--light-text);
    margin-bottom: 20px;
}

.courses-cta {
    text-align: center;
}

/* ===== ВІДГУКИ (TESTIMONIALS) ===== */
.testimonials {
    padding: 80px 0;
    background-color: var(--white);
}

.testimonials-slider {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.testimonial {
    flex: 1 1 300px;
    max-width: 380px;
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
    padding: 30px;
    position: relative;
}

.testimonial:before {
    content: '\201C';
    font-family: sans-serif;
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.3;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-info h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.author-info span {
    font-size: 0.875rem;
    color: var(--light-text);
}

/* ===== ЗАКЛИК ДО ДІЇ (CTA) ===== */
.cta {
    padding: 80px 0;
    background-color: var(--secondary-color);
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    color: var(--medium-gray);
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== ФУТЕР (FOOTER) ===== */
footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding-top: 80px;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 50px;
}

.footer-column {
    flex: 1 1 250px;
    margin-bottom: 30px;
}

.footer-logo a {
    display: flex;
    align-items: center;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-column p {
    color: var(--medium-gray);
    margin-bottom: 20px;
}

.footer-column h3 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links li a {
    color: var(--medium-gray);
    transition: var(--transition);
}

.footer-links li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.contact-info li i {
    margin-right: 10px;
    color: var(--primary-color);
    margin-top: 5px;
}

.contact-info li a {
    color: var(--medium-gray);
}

.contact-info li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.copyright p {
    margin: 0;
    color: var(--medium-gray);
}

.legal-links {
    display: flex;
    gap: 20px;
}

.legal-links a {
    color: var(--medium-gray);
    font-size: 0.875rem;
}

.legal-links a:hover {
    color: var(--primary-color);
}

/* ===== COOKIE CONSENT ===== */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--white);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    z-index: 9999;
    display: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-content p {
    margin: 0;
    flex: 1;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-5px);
}

/* ===== PAGE BANNER ===== */
.page-banner {
    padding: 80px 0;
    background-color: var(--secondary-color);
    background-size: cover;
    background-position: center;
    position: relative;
    color: var(--white);
    text-align: center;
}

.page-banner:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.page-banner .container {
    position: relative;
    z-index: 2;
}

.page-banner h1 {
    color: var(--white);
    margin-bottom: 10px;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumb li {
    margin: 0 5px;
    font-size: 1rem;
}

.breadcrumb li:after {
    content: '/';
    margin-left: 10px;
    color: var(--medium-gray);
}

.breadcrumb li:last-child:after {
    content: none;
}

.breadcrumb li a {
    color: var(--primary-color);
}

.breadcrumb li.active {
    color: var(--medium-gray);
}

/* ===== ABOUT PAGE ===== */
.about-section,
.mission-section {
    padding: 80px 0;
}

.about-content,
.mission-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 50px;
}

.about-image,
.mission-image {
    flex: 1 1 400px;
}

.about-text,
.mission-text {
    flex: 1 1 400px;
}

.about-text h2,
.mission-text h2 {
    margin-bottom: 20px;
}

.mission-text h3 {
    margin-top: 30px;
    margin-bottom: 15px;
}

.mission-text ul {
    margin-bottom: 0;
}

.mission-text ul li {
    margin-bottom: 10px;
}

.team-section {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.team-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

.team-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.team-member {
    flex: 1 1 250px;
    max-width: 280px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.member-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.member-info {
    padding: 20px;
}

.member-info h3 {
    font-size: 1.25rem;
    margin-bottom: 5px;
}

.position {
    display: block;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 10px;
    font-size: 0.875rem;
}

.member-info p {
    color: var(--light-text);
    margin-bottom: 0;
    font-size: 0.875rem;
}

.advantages-section {
    padding: 80px 0;
}

.advantages-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.advantage-item {
    flex: 1 1 250px;
    max-width: 350px;
    padding: 30px;
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
}

.advantage-item:hover {
    background-color: var(--primary-color);
}

.advantage-item:hover .advantage-icon i {
    color: var(--secondary-color);
}

.advantage-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.advantage-item:hover .advantage-icon {
    color: var(--white);
}

.advantage-item h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.advantage-item p {
    color: var(--light-text);
    margin-bottom: 0;
}

.achievements-section {
    padding: 80px 0;
    background-color: var(--secondary-color);
    color: var(--white);
}

.achievements-section .section-title {
    color: var(--white);
}

.achievements-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    text-align: center;
}

.achievement-item {
    flex: 1 1 220px;
    max-width: 250px;
}

.achievement-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    line-height: 1;
}

.achievement-item p {
    color: var(--medium-gray);
    margin-bottom: 0;
}

.certificates-section {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.certificates-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 50px;
}

.certificates-text {
    flex: 1 1 400px;
}

.certificates-image {
    flex: 1 1 400px;
}

.certificates-text ul {
    margin-bottom: 20px;
}

.certificates-text li {
    margin-bottom: 10px;
}

/* ===== COURSES PAGE ===== */
.courses-overview {
    padding: 80px 0;
}

.course-filter {
    margin-bottom: 40px;
}

.filter-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.filter-list li {
    padding: 8px 20px;
    background-color: var(--light-gray);
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
}

.filter-list li:hover,
.filter-list li.active {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.courses-grid .course-card {
    margin-bottom: 40px;
    max-width: 100%;
}

.course-header {
    padding: 20px 25px;
    border-bottom: 1px solid var(--medium-gray);
}

.course-badge {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 5px 15px;
    border-radius: 30px;
    font-weight: 500;
    font-size: 0.875rem;
    margin-bottom: 10px;
}

.course-header h3 {
    margin-bottom: 0;
}

.course-details {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--light-text);
    font-size: 0.875rem;
}

.detail-item i {
    color: var(--primary-color);
}

.course-description h4 {
    font-size: 1.1rem;
    margin-top: 20px;
    margin-bottom: 15px;
}

.course-description ul {
    margin-bottom: 25px;
}

.course-description li {
    margin-bottom: 8px;
}

.course-actions {
    display: flex;
    gap: 15px;
}

.process-section {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.process-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.process-step {
    flex: 1 1 180px;
    max-width: 220px;
    text-align: center;
    position: relative;
}

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

.step-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.process-step h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.process-step p {
    color: var(--light-text);
    font-size: 0.875rem;
    margin-bottom: 0;
}

.faq-section {
    padding: 80px 0;
}

.faq-content {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border: 1px solid var(--medium-gray);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    background-color: var(--light-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    margin-bottom: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.faq-question i {
    transition: var(--transition);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 500px;
}

/* ===== PRICING PAGE ===== */
.pricing-intro {
    padding: 80px 0;
}

.pricing-plans {
    padding-bottom: 80px;
}

.pricing-category {
    margin-bottom: 60px;
}

.category-title {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}

.category-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.pricing-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.pricing-card {
    flex: 1 1 280px;
    max-width: 350px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.pricing-card.popular {
    transform: scale(1.05);
    z-index: 1;
    box-shadow: var(--box-shadow-hover);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-5px);
}

.pricing-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 5px 15px;
    font-weight: 500;
    font-size: 0.875rem;
}

.pricing-header {
    padding: 30px;
    text-align: center;
    border-bottom: 1px solid var(--medium-gray);
}

.pricing-header h4 {
    margin-bottom: 15px;
    font-size: 1.25rem;
}

.price {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.amount {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
}

.currency {
    font-size: 1.25rem;
    color: var(--light-text);
    margin-left: 5px;
}

.pricing-features {
    padding: 30px;
}

.pricing-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-features li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.pricing-features li i {
    margin-right: 10px;
    font-size: 0.875rem;
}

.pricing-features .fa-check {
    color: var(--success);
}

.pricing-features .fa-times {
    color: var(--danger);
}

.pricing-action {
    padding: 0 30px 30px;
    text-align: center;
}

.additional-services {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.services-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.service-item {
    flex: 1 1 350px;
    max-width: 500px;
    display: flex;
    align-items: center;
    gap: 20px;
    background-color: var(--white);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.service-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--box-shadow-hover);
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-dark);
    flex-shrink: 0;
}

.service-details {
    flex: 1;
}

.service-details h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.service-details p {
    color: var(--light-text);
    margin-bottom: 8px;
    font-size: 0.875rem;
}

.service-price {
    font-weight: 700;
    color: var(--primary-color);
}

.discount-section {
    padding: 80px 0;
}

.discount-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.discount-card {
    flex: 1 1 280px;
    max-width: 280px;
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    position: relative;
    transition: var(--transition);
}

.discount-card:hover {
    background-color: var(--primary-light);
}

.discount-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 5px 15px;
    border-radius: 30px;
    font-weight: 700;
}

.discount-card h3 {
    margin-top: 15px;
    margin-bottom: 15px;
    font-size: 1.25rem;
}

.discount-card p {
    color: var(--light-text);
    margin-bottom: 0;
    font-size: 0.875rem;
}

.payment-methods {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.payment-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.payment-option {
    flex: 1 1 200px;
    max-width: 250px;
    text-align: center;
}

.payment-icon {
    width: 80px;
    height: 80px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin: 0 auto 20px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.payment-option:hover .payment-icon {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
    color: var(--primary-dark);
}

.payment-option h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.payment-option p {
    color: var(--light-text);
    margin-bottom: 0;
}

/* ===== CONTACT PAGE ===== */
.contact-info-section {
    padding: 80px 0;
}

.contact-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.contact-card {
    flex: 1 1 220px;
    max-width: 280px;
    text-align: center;
    padding: 30px;
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.contact-card:hover {
    background-color: var(--primary-light);
}

.contact-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.contact-card p {
    margin-bottom: 10px;
}

.contact-card p:last-child {
    margin-bottom: 0;
}

.text-muted {
    color: var(--light-text);
    font-size: 0.875rem;
}

.contact-form-section {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.contact-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--box-shadow);
}

.contact-form {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.form-group {
    flex: 1 1 calc(50% - 10px);
    margin-bottom: 0;
}

.form-group.full-width {
    flex: 1 1 100%;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--medium-gray);
    border-radius: var(--border-radius);
    font-family: var(--font-main);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.25);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
}

.checkbox-group input {
    width: auto;
    margin-top: 5px;
    margin-right: 10px;
}

.checkbox-group label {
    font-weight: normal;
    margin-bottom: 0;
    font-size: 0.875rem;
}

.form-submit {
    width: 100%;
    margin-top: 10px;
}

.map-section {
    padding: 80px 0;
}

.map-container {
    width: 100%;
    height: 450px;
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 40px;
}

.direction-info h3 {
    text-align: center;
    margin-bottom: 30px;
}

.direction-methods {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.direction-method {
    flex: 1 1 280px;
    max-width: 350px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.direction-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--primary-dark);
    flex-shrink: 0;
}

.direction-details h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.direction-details p {
    color: var(--light-text);
    margin-bottom: 10px;
    font-size: 0.875rem;
}

.direction-details p:last-child {
    margin-bottom: 0;
}

.social-media-section {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.social-media-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.social-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    border-radius: var(--border-radius);
    color: var(--white);
    transition: var(--transition);
    width: 160px;
}

.social-icon:hover {
    transform: translateY(-5px);
}

.social-icon i {
    font-size: 2rem;
    margin-bottom: 10px;
}

.social-icon.facebook {
    background-color: var(--facebook);
}

.social-icon.instagram {
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
}

.social-icon.telegram {
    background-color: var(--telegram);
}

.social-icon.viber {
    background-color: var(--viber);
}

.social-icon.youtube {
    background-color: var(--youtube);
}

.call-request-section {
    padding: 80px 0;
}

.call-request-form {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--primary-light);
    border-radius: var(--border-radius);
    padding: 40px;
    text-align: center;
}

.call-request-content h2 {
    margin-bottom: 15px;
}

.call-request-content p {
    margin-bottom: 30px;
}

.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.call-form .form-group {
    margin-bottom: 0;
}

.call-form input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--medium-gray);
    border-radius: var(--border-radius);
    font-family: var(--font-main);
    font-size: 1rem;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--white);
    border-radius: var(--border-radius);
    max-width: 500px;
    width: 100%;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    animation: modalOpen 0.3s ease;
}

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

.modal-header {
    padding: 20px;
    border-bottom: 1px solid var(--medium-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin-bottom: 0;
    font-size: 1.25rem;
}

.close-modal {
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--light-text);
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--danger);
}

.modal-body {
    padding: 20px;
}

.modal-footer {
    padding: 20px;
    border-top: 1px solid var(--medium-gray);
    text-align: right;
}

/* ===== LEGAL PAGES ===== */
.legal-banner {
    background-color: var(--secondary-color);
    background-image: url('../images/jpg/certificate.jpg');
}

.legal-content {
    padding: 80px 0;
}

.legal-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.legal-sidebar {
    flex: 1 1 280px;
    max-width: 280px;
}

.legal-document {
    flex: 1 1 600px;
}

.legal-menu {
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
    padding: 25px;
    margin-bottom: 30px;
}

.legal-menu h3 {
    font-size: 1.25rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.legal-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.legal-menu li {
    margin-bottom: 15px;
}

.legal-menu li:last-child {
    margin-bottom: 0;
}

.legal-menu li a {
    color: var(--text-color);
    transition: var(--transition);
}

.legal-menu li a:hover,
.legal-menu li.active a {
    color: var(--primary-color);
    padding-left: 5px;
}

.legal-contact {
    background-color: var(--primary-light);
    border-radius: var(--border-radius);
    padding: 25px;
}

.legal-contact h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.last-updated {
    margin-bottom: 30px;
    font-style: italic;
    color: var(--light-text);
}

.document-section {
    margin-bottom: 40px;
}

.document-section h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.document-section h3 {
    font-size: 1.25rem;
    margin-top: 30px;
    margin-bottom: 15px;
}

.document-section p,
.document-section ul,
.document-section ol {
    margin-bottom: 20px;
}

.document-section li {
    margin-bottom: 10px;
}

.privacy-table,
.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.privacy-table th,
.privacy-table td,
.cookie-table th,
.cookie-table td {
    border: 1px solid var(--medium-gray);
    padding: 12px;
    text-align: left;
}

.privacy-table th,
.cookie-table th {
    background-color: var(--light-gray);
    font-weight: 600;
}

.privacy-table tr:nth-child(even),
.cookie-table tr:nth-child(even) {
    background-color: var(--light-gray);
}
