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

:root {
    --primary-red: #dc143c;
    --light-red: #ff6b6b;
    --dark-red: #a31a1a;
    --white: #ffffff;
    --off-white: #f8f9fa;
    --light-gray: #e9ecef;
    --text-dark: #212529;
    --text-gray: #6c757d;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    transition: font-size 0.3s ease;
}

body.small-font {
    font-size: 14px;
}

.container-fluid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.main-header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

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

.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-logo {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
}

.brand-name {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-red);
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-navigation a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 8px 0;
}

.main-navigation a:hover,
.main-navigation a.nav-active {
    color: var(--primary-red);
    border-bottom: 2px solid var(--primary-red);
}

.font-toggle-btn {
    background-color: var(--primary-red);
    color: var(--white);
    border: none;
    padding: 10px 18px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.font-toggle-btn:hover {
    background-color: var(--dark-red);
}

.hero-banner {
    position: relative;
    height: 600px;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/1.jpg') center/cover;
    opacity: 0.15;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero-content h1 {
    font-size: 52px;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.hero-content p {
    font-size: 22px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.cta-button {
    display: inline-block;
    background-color: var(--white);
    color: var(--primary-red);
    padding: 16px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.cta-button:hover {
    background-color: var(--off-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.features-section,
.services-preview,
.testimonials-section,
.lead-form-section,
.glossary-section {
    padding: 80px 0;
}

.features-section {
    background-color: var(--off-white);
}

.features-section h2,
.services-preview h2,
.testimonials-section h2,
.lead-form-section h2,
.glossary-section h2 {
    text-align: center;
    font-size: 38px;
    margin-bottom: 50px;
    color: var(--text-dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--white);
    padding: 35px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(220, 20, 60, 0.15);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-card h3 {
    color: var(--primary-red);
    margin-bottom: 15px;
    font-size: 22px;
}

.services-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
}

.service-item {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-8px);
}

.service-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.service-item h3 {
    padding: 20px 25px 10px;
    color: var(--primary-red);
    font-size: 24px;
}

.service-item p {
    padding: 0 25px 15px;
    color: var(--text-gray);
    line-height: 1.7;
}

.service-link {
    display: inline-block;
    padding: 0 25px 25px;
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.service-link:hover {
    color: var(--dark-red);
}

.testimonials-section {
    background-color: var(--off-white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 12px;
    border-left: 4px solid var(--primary-red);
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
}

.testimonial-card p {
    font-style: italic;
    color: var(--text-gray);
    margin-bottom: 20px;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
}

.testimonial-author strong {
    color: var(--text-dark);
    font-size: 16px;
}

.testimonial-author span {
    color: var(--text-gray);
    font-size: 14px;
}

.lead-form-section {
    background: linear-gradient(135deg, var(--light-red) 0%, var(--primary-red) 100%);
    color: var(--white);
}

.lead-form-section h2 {
    color: var(--white);
}

.form-wrapper {
    max-width: 650px;
    margin: 0 auto;
}

.form-wrapper > p {
    text-align: center;
    margin-bottom: 40px;
    font-size: 18px;
}

.consultation-form {
    background-color: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--light-gray);
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-red);
}

.submit-btn {
    width: 100%;
    background-color: var(--primary-red);
    color: var(--white);
    padding: 15px;
    border: none;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: var(--dark-red);
}

.glossary-section {
    background-color: var(--off-white);
}

.glossary-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
}

.glossary-item {
    background-color: var(--white);
    padding: 25px;
    border-radius: 8px;
    border-left: 3px solid var(--primary-red);
}

.glossary-item h4 {
    color: var(--primary-red);
    margin-bottom: 10px;
    font-size: 20px;
}

.glossary-item p {
    color: var(--text-gray);
    line-height: 1.6;
}

.main-footer {
    background-color: var(--text-dark);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h4 {
    color: var(--primary-red);
    margin-bottom: 20px;
    font-size: 20px;
}

.footer-column p {
    color: var(--light-gray);
    line-height: 1.8;
    margin-bottom: 10px;
}

.registration-number {
    font-size: 14px;
    margin-top: 15px;
    opacity: 0.8;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: var(--light-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: var(--light-gray);
}

.cookie-notification {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--text-dark);
    color: var(--white);
    padding: 25px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
    z-index: 10000;
    display: none;
}

.cookie-notification.show {
    display: block;
}

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

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

.cookie-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.btn-accept,
.btn-decline {
    padding: 10px 25px;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-accept {
    background-color: var(--primary-red);
    color: var(--white);
}

.btn-accept:hover {
    background-color: var(--dark-red);
}

.btn-decline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-decline:hover {
    background-color: rgba(255,255,255,0.1);
}

.cookie-link {
    color: var(--light-red);
    text-decoration: none;
    font-weight: 500;
}

.cookie-link:hover {
    text-decoration: underline;
}

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

.modal-overlay.show {
    display: flex;
}

.modal-content {
    background-color: var(--white);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    max-width: 500px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.modal-content h3 {
    color: var(--primary-red);
    margin-bottom: 20px;
    font-size: 28px;
}

.modal-content p {
    color: var(--text-gray);
    margin-bottom: 25px;
    line-height: 1.6;
}

.modal-close-btn {
    background-color: var(--primary-red);
    color: var(--white);
    padding: 12px 30px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.modal-close-btn:hover {
    background-color: var(--dark-red);
}

@media (max-width: 768px) {
    .header-wrapper {
        flex-direction: column;
        gap: 15px;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content p {
        font-size: 18px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-accept,
    .btn-decline {
        width: 100%;
    }
}

