/* Base styles */
:root {
    --primary-color: #1F3166;
    --primary-light: #344582;
    --secondary-color: #F28C38;
    --secondary-light: #FFF3E6;
    --tertiary-color: #F8F9FA;
    --text-color: #2C3E50;
    --light-text: #FFFFFF;
    --gray-text: #777777;
    --light-gray: #F9F9F9;
    --border-color: #E5E7E9;
    --success-color: #27AE60;
    --error-color: #E74C3C;
    --border-radius: 8px;
    --box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --font-primary: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Reset and global styles */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-color);
    background-color: #FFFFFF;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

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

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

h1 {
    font-size: 2.25rem;
}

h2 {
    font-size: 1.875rem;
}

h3 {
    font-size: 1.5rem;
}

ul,
ol {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

p {
    margin-bottom: 1.25rem;
}

/* Utility classes */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.skip-link {
    background: var(--primary-color);
    color: var(--light-text);
    padding: 0.75rem 1.25rem;
    position: absolute;
    top: -40px;
    left: 0;
    transition: top 0.3s;
    z-index: 1001;
    border-radius: 0 0 var(--border-radius) 0;
}

.skip-link:focus {
    top: 0;
}

/* Container */
.header__container,
.hero__container,
.services__container,
.about__container,
.process__container,
.form-section__container,
.testimonials__container,
.address__container,
.footer__container,
.page-header__container,
.content__container,
.faq__container,
.contact-content__container,
.map__container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background-color: #FFFFFF;
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: box-shadow 0.3s ease;
}

.header--scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Menu overlay effect */
.header--menu-open::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 90;
    opacity: 1;
    transition: opacity 0.3s ease;
    pointer-events: none;
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
}

.header__container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    position: relative;
}

.header__logo {
    display: flex;
    align-items: center;
    z-index: 101;
}

.header__logo-img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.header__logo:hover .header__logo-img {
    transform: scale(1.05);
}

/* Mobile menu toggle - hamburger style */
.header__menu-toggle {
    display: block;
    background: transparent;
    border: none;
    width: 50px;
    height: 50px;
    position: relative;
    cursor: pointer;
    z-index: 101;
    padding: 0;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.3s ease;
}

.header__menu-toggle:hover {
    transform: scale(1.1);
}

.header__menu-toggle-icon,
.header__menu-toggle-icon::before,
.header__menu-toggle-icon::after {
    display: block;
    position: absolute;
    height: 3px;
    width: 28px;
    background-color: var(--primary-color);
    border-radius: 3px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.header__menu-toggle-icon {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.header__menu-toggle-icon::before,
.header__menu-toggle-icon::after {
    content: '';
    left: 0;
}

.header__menu-toggle-icon::before {
    top: -9px;
    transform-origin: top left;
}

.header__menu-toggle-icon::after {
    bottom: -9px;
    transform-origin: bottom left;
}

/* Active state for menu toggle */
.header__menu-toggle[aria-expanded="true"] .header__menu-toggle-icon {
    background-color: transparent;
    transform: translate(-50%, -50%) rotate(90deg);
}

.header__menu-toggle[aria-expanded="true"] .header__menu-toggle-icon::before {
    top: -1px;
    transform: rotate(45deg);
    width: 26px;
    background-color: var(--secondary-color);
}

.header__menu-toggle[aria-expanded="true"] .header__menu-toggle-icon::after {
    bottom: -1px;
    transform: rotate(-45deg);
    width: 26px;
    background-color: var(--secondary-color);
}

/* Mobile navigation */
.header__nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #FFFFFF;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    width: 100%;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    opacity: 0;
    z-index: 99;
    transform: translateY(-20px);
}

.header__menu-toggle[aria-expanded="true"]+.header__nav {
    max-height: 600px;
    /* Increased from 400px to accommodate more nav items */
    overflow-y: auto;
    opacity: 1;
    transform: translateY(0);
}

.header__nav-list {
    list-style: none;
    margin: 0;
    padding: 15px 0;
}

.header__nav-item {
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.3s ease;
}

.header__nav-item:last-child {
    border-bottom: none;
}

.header__nav-link {
    display: block;
    padding: 18px 25px;
    color: var(--text-color);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    font-size: 1.1rem;
}

.header__nav-link:hover,
.header__nav-link--active {
    color: var(--secondary-color);
    background-color: var(--secondary-light);
    padding-left: 35px;
}

.header__nav-link::after {
    content: '';
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%) scale(0);
    width: 8px;
    height: 8px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s ease;
}

.header__nav-link:hover::after,
.header__nav-link--active::after {
    transform: translateY(-50%) scale(1);
    opacity: 1;
}

.header__phone {
    display: flex;
    align-items: center;
    margin-right: 20px;
    transition: transform 0.3s ease;
}

.header__phone:hover {
    transform: translateY(-3px);
}

.header__phone-icon {
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--tertiary-color);
    transition: all 0.3s ease;
}

.header__phone-icon:hover {
    background-color: var(--secondary-light);
    transform: scale(1.1);
}

.header__phone-number {
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* Hero section */
.hero {
    background: linear-gradient(135deg, rgba(31, 49, 102, 0.9), rgba(52, 69, 130, 0.9)), url('/images/logo 2.jpg');
    background-size: cover;
    background-position: center;
    color: var(--light-text);
    padding: 80px 0;
    text-align: center;
    position: relative;
    box-shadow: inset 0 -10px 20px -10px rgba(0, 0, 0, 0.1);
}

.hero__container {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.hero__title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero__subtitle {
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
    line-height: 1.6;
}

.hero__cta-button {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--light-text);
    padding: 1rem 2.5rem;
    border-radius: var(--border-radius);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(242, 140, 56, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hero__cta-button:hover {
    background-color: #e07b27;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(242, 140, 56, 0.4);
    color: var(--light-text);
}

.hero__cta-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.hero__cta-button:hover::after {
    animation: ripple 1s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }

    20% {
        transform: scale(25, 25);
        opacity: 0.3;
    }

    100% {
        opacity: 0;
        transform: scale(40, 40);
    }
}

/* NO WIN NO FEE banner */
.no-win-banner {
    background-color: rgba(0, 0, 0, 0.85);
    text-align: center;
    padding: 25px 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-bottom: 3px solid var(--secondary-color);
}

.no-win-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(242, 140, 56, 0.05), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.no-win-banner__title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.3);
}

.no-win-banner__title::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 25%;
    width: 50%;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

.no-win-banner__text {
    color: var(--light-text);
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.5;
    font-weight: 500;
}

/* Services section */
.services {
    padding: 100px 0 80px;
    background-color: var(--light-gray);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--primary-color));
}

.services__title {
    text-align: center;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-size: 2.3rem;
    font-weight: 800;
    position: relative;
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.services__subtitle {
    text-align: center;
    margin-bottom: 60px;
    color: var(--gray-text);
    font-size: 1.2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.services__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin: 0 auto;
    max-width: 1400px;
}

.services__card {
    background-color: #FFFFFF;
    border-radius: var(--border-radius);
    padding: 40px 30px;
    box-shadow: var(--box-shadow);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
    z-index: 1;
    min-height: 400px;
}

.services__card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: rgba(31, 49, 102, 0.02);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: -1;
}

.services__card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: var(--secondary-color);
}

.services__card:hover::after {
    height: 100%;
}

.services__card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--secondary-light);
    border-radius: 50%;
    color: var(--secondary-color);
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(242, 140, 56, 0.15);
}

.services__card:hover .services__card-icon {
    transform: scale(1.1) rotate(5deg);
    background-color: var(--secondary-color);
    color: white;
    box-shadow: 0 8px 25px rgba(242, 140, 56, 0.25);
}

.services__card-icon svg {
    width: 40px;
    height: 40px;
    transition: all 0.3s ease;
}

.services__card-title {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.6rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.services__card-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.services__card:hover .services__card-title:after {
    width: 80px;
}

.services__card-text {
    margin-bottom: 30px;
    flex-grow: 1;
    color: var(--gray-text);
    font-size: 1.05rem;
    line-height: 1.7;
}

.services__card-link {
    display: inline-block;
    color: var(--light-text);
    font-weight: 600;
    margin-top: auto;
    background-color: var(--primary-color);
    padding: 12px 24px;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.services__card-link:hover {
    color: var(--light-text);
    background-color: var(--secondary-color);
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(242, 140, 56, 0.3);
}

/* About section */
.about {
    padding: 100px 0;
    background-color: #FFFFFF;
    position: relative;
}

.about__title {
    text-align: center;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-size: 2.3rem;
    font-weight: 800;
}

.about__subtitle {
    text-align: center;
    margin-bottom: 60px;
    color: var(--gray-text);
    font-size: 1.2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.about__columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.about__image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    position: relative;
    transform: perspective(1000px) rotateY(0deg);
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
    backface-visibility: hidden;
}

.about__image:hover {
    transform: perspective(1000px) rotateY(5deg);
}

.about__image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(31, 49, 102, 0.1), transparent);
    pointer-events: none;
}

.about__image img {
    width: 100%;
    height: auto;
    display: block;
    transition: all 0.5s ease;
}

.about__image:hover img {
    transform: scale(1.05);
}

.about__content {
    padding: 20px 30px;
    position: relative;
}

.about__content-title {
    color: var(--primary-color);
    margin-bottom: 25px;
    font-size: 2rem;
    font-weight: 800;
    position: relative;
    padding-bottom: 15px;
    display: inline-block;
}

.about__content-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 70px;
    height: 4px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

.about__text {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--gray-text);
    line-height: 1.8;
}

.about__text:last-child {
    margin-bottom: 0;
}

.about__content::before {
    content: '"';
    position: absolute;
    top: -50px;
    right: 0;
    font-size: 200px;
    line-height: 1;
    font-family: Georgia, serif;
    color: rgba(31, 49, 102, 0.05);
    pointer-events: none;
    z-index: 0;
}

/* Form section */
.form-section {
    padding: 100px 0;
    background-color: var(--light-gray);
    position: relative;
    overflow: hidden;
}

.form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(31, 49, 102, 0.03), transparent);
    pointer-events: none;
}

.form-section__title {
    text-align: center;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-size: 2.3rem;
    font-weight: 800;
    position: relative;
}

.form-section__subtitle {
    text-align: center;
    color: var(--gray-text);
    max-width: 700px;
    margin: 0 auto 50px;
    font-size: 1.2rem;
    line-height: 1.7;
}

.form {
    background-color: #FFFFFF;
    border-radius: var(--border-radius);
    padding: 50px 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid var(--border-color);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    z-index: 2;
}

.form__fields-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    margin-bottom: 30px;
}

.form__field {
    margin-bottom: 0;
}

.form__field--full {
    grid-column: 1 / -1;
}

.form__label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.05rem;
}

.form__required {
    color: var(--error-color);
    margin-left: 3px;
}

.form__input {
    width: 100%;
    padding: 15px 18px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background-color: var(--light-text);
    transition: all 0.3s ease;
    font-family: var(--font-primary);
    font-size: 1rem;
    color: var(--text-color);
}

.form__textarea {
    min-height: 150px;
    resize: vertical;
}

.form__input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(31, 49, 102, 0.15);
}

.form__input--error {
    border-color: var(--error-color);
}

.form__error-message {
    color: var(--error-color);
    font-size: 0.875rem;
    margin-top: 6px;
    min-height: 20px;
    font-weight: 500;
}

.form__field--checkbox {
    display: flex;
    align-items: flex-start;
    margin-top: 30px;
    background-color: rgba(242, 140, 56, 0.05);
    padding: 20px;
    border-radius: var(--border-radius);
    border-left: 3px solid var(--secondary-color);
}

.form__field--checkbox input {
    margin-top: 4px;
    margin-right: 12px;
    transform: scale(1.2);
}

.form__checkbox-label {
    font-size: 0.95rem;
    line-height: 1.6;
}

.form__checkbox-label a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: underline;
}

.form__checkbox-label a:hover {
    color: var(--secondary-color);
}

.form__actions {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.form__button {
    background-color: var(--secondary-color);
    color: var(--light-text);
    border: none;
    border-radius: var(--border-radius);
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 15px rgba(242, 140, 56, 0.3);
    position: relative;
    overflow: hidden;
}

.form__button-text {
    margin-right: 10px;
    position: relative;
    z-index: 2;
}

.form__button-icon {
    transition: transform 0.3s ease;
    position: relative;
    z-index: 2;
    font-size: 1.2rem;
}

.form__button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    z-index: 1;
}

.form__button:hover {
    background-color: #e07b27;
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(242, 140, 56, 0.4);
}

.form__button:hover::before {
    left: 0;
}

.form__button:hover .form__button-icon {
    transform: translateX(5px);
}

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

.form__success-icon {
    background-color: var(--success-color);
    color: var(--light-text);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
}

.form__success-title {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.form__success-text {
    margin-bottom: 10px;
}

.form__success-contact {
    margin-top: 20px;
    font-family: inherit;
    font-size: inherit;
    font-weight: normal;
}

/* Testimonials section */
.testimonials {
    padding: 80px 0;
    background-color: var(--tertiary-color);
}

.testimonials__title {
    text-align: center;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-size: 2.2rem;
    font-weight: 700;
}

.testimonials__subtitle {
    text-align: center;
    margin-bottom: 50px;
    color: var(--gray-text);
    font-size: 1.2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.testimonials__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.testimonials__item {
    background-color: #FFFFFF;
    border-radius: var(--border-radius);
    padding: 40px 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
}

.testimonials__item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border-color: var(--secondary-color);
}

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

.testimonials__text {
    font-style: italic;
    margin-bottom: 25px;
    color: var(--gray-text);
    line-height: 1.7;
    font-size: 1.05rem;
}

.testimonials__author {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
}

.testimonials__name {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.testimonials__location {
    color: var(--gray-text);
    font-size: 0.875rem;
}

.testimonials__more {
    text-align: center;
    margin-top: 40px;
}

.testimonials__more-link {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 12px 25px;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
}

.testimonials__more-link:hover {
    background-color: var(--secondary-color);
    color: var(--light-text);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Address section */
.address {
    padding: 60px 0;
    background-color: #FFFFFF;
}

.address__title {
    text-align: center;
    margin-bottom: 40px;
}

.address__content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.address__map {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    position: relative;
    padding-bottom: 60%;
    /* Aspect ratio for mobile */
    height: 0;
}

.address__map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.address__details {
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
}

.address__text {
    margin-bottom: 20px;
}

.address__line {
    margin-bottom: 5px;
    font-family: inherit;
    font-size: inherit;
    font-weight: normal;
}

.address__contact {
    margin-top: 20px;
}

.address__phone,
.address__email {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-family: inherit;
    font-size: inherit;
}

.address__icon {
    margin-right: 10px;
}

.address__link {
    color: var(--primary-color);
    font-family: inherit;
    font-size: inherit;
    font-weight: normal;
}

.address__link:hover {
    color: var(--secondary-color);
}

.address__subtitle {
    margin-top: 25px;
    margin-bottom: 10px;
    font-weight: 600;
}

.address__hours-line {
    margin-bottom: 5px;
    font-family: inherit;
    font-size: inherit;
    font-weight: normal;
}

/* FAQ Section */
.faq {
    padding: 60px 0;
    background-color: var(--light-gray);
}

.faq__title {
    text-align: center;
    margin-bottom: 40px;
}

.faq__item {
    background-color: #FFFFFF;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 15px;
    overflow: hidden;
}

.faq__question {
    padding: 20px;
    margin: 0;
    cursor: pointer;
    position: relative;
    padding-right: 40px;
    transition: var(--transition);
    font-size: 1.1rem;
}

.faq__answer {
    padding: 0 20px 20px;
    border-top: 1px solid var(--border-color);
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 60px 0 30px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer__column-title {
    color: var(--light-text);
    margin-bottom: 20px;
    font-size: 1.25rem;
    position: relative;
    padding-bottom: 10px;
}

.footer__column-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer__address-line {
    margin-bottom: 5px;
    font-family: inherit;
    font-size: inherit;
    font-weight: normal;
}

.footer__contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-family: inherit;
    font-size: inherit;
}

.footer__contact-icon {
    margin-right: 10px;
}

.footer__contact-link {
    color: var(--light-text);
    font-family: inherit;
    font-size: inherit;
    font-weight: normal;
}

.footer__contact-link:hover {
    color: var(--secondary-color);
}

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

.footer__nav-item {
    margin-bottom: 10px;
}

.footer__nav-link {
    color: var(--light-text);
    transition: var(--transition);
}

.footer__nav-link:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer__social {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.footer__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--light-text);
    border-radius: 50%;
    transition: var(--transition);
}

.footer__social-link:hover {
    background-color: var(--secondary-color);
    color: var(--light-text);
    transform: translateY(-3px);
}

.footer__bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer__copyright {
    margin-bottom: 20px;
}

.footer__legal-disclaimer {
    margin-bottom: 20px;
    font-size: 0.875rem;
    opacity: 0.8;
}

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

.footer__legal-link {
    color: var(--light-text);
    font-size: 0.875rem;
    opacity: 0.8;
    transition: var(--transition);
}

.footer__legal-link:hover {
    color: var(--secondary-color);
    opacity: 1;
}

/* Page header for inner pages */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--light-text);
    padding: 50px 0;
    text-align: center;
}

.page-header__title {
    font-size: 2rem;
    margin-bottom: 10px;
}

.page-header__subtitle {
    font-size: 1.125rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Content area */
.content {
    padding: 60px 0;
}

.content__columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.content__heading {
    color: var(--primary-color);
    margin-top: 40px;
    margin-bottom: 20px;
}

.content__heading:first-child {
    margin-top: 0;
}

.content__text {
    margin-bottom: 20px;
}

.content__list,
.content__list-item {
    margin-bottom: 10px;
}

.content__list li,
.content__list-item {
    margin-bottom: 10px;
}

/* Sidebar box */
.sidebar-box {
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: var(--box-shadow);
}

.sidebar-box__title {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.sidebar-box__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-box__link {
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-color);
    transition: var(--transition);
}

.sidebar-box__link:hover,
.sidebar-box__link--active {
    color: var(--secondary-color);
    padding-left: 5px;
}

.sidebar-box--cta {
    background-color: var(--primary-color);
    color: var(--light-text);
}

.sidebar-box__text {
    margin-bottom: 20px;
}

.sidebar-box__button {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--light-text);
    padding: 12px 20px;
    border-radius: var(--border-radius);
    font-weight: 600;
    width: 100%;
    text-align: center;
    transition: var(--transition);
}

.sidebar-box__button:hover {
    background-color: #c0392b;
    color: var(--light-text);
    transform: translateY(-2px);
}

/* Contact page specific */
.contact-content {
    padding: 60px 0;
}

.contact-content__columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.contact-content__heading {
    margin-bottom: 20px;
}

.contact-content__text {
    margin-bottom: 30px;
}

.contact-box {
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--box-shadow);
}

.contact-box__title {
    margin-bottom: 20px;
}

.contact-box__item {
    margin-bottom: 15px;
    display: flex;
}

.contact-box__icon {
    width: 24px;
    margin-right: 15px;
    color: var(--primary-color);
}

.contact-box__details {
    flex: 1;
}

.contact-box__label {
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.contact-box__link {
    color: var(--text-color);
    font-family: inherit;
    font-size: inherit;
    font-weight: normal;
}

.contact-box__address {
    margin-bottom: 3px;
    font-family: inherit;
    font-size: inherit;
    font-weight: normal;
}

.contact-box__hours {
    margin-bottom: 3px;
}

.contact-box--social {
    margin-top: 40px;
}

.contact-box__social {
    display: flex;
    gap: 15px;
}

.contact-box__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--light-text);
    border-radius: 50%;
    transition: var(--transition);
}

.contact-box__social-link:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.map {
    padding: 60px 0;
}

.map__title {
    text-align: center;
    margin-bottom: 30px;
}

.map__wrapper {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    height: 400px;
}

/* Process section */
.process {
    padding: 100px 0;
    background-color: var(--light-gray);
    position: relative;
    overflow: hidden;
}

.process::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(135deg, rgba(31, 49, 102, 0.03), transparent, rgba(242, 140, 56, 0.03));
    pointer-events: none;
}

.process__title {
    text-align: center;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-size: 2.3rem;
    font-weight: 800;
    position: relative;
}

.process__subtitle {
    text-align: center;
    margin-bottom: 70px;
    color: var(--gray-text);
    font-size: 1.2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.process__steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.process__steps::after {
    content: '';
    position: absolute;
    top: 40px;
    left: 50%;
    bottom: 40px;
    width: 3px;
    background-color: rgba(31, 49, 102, 0.1);
    z-index: 0;
    display: none;
}

.process__step {
    background-color: #FFFFFF;
    border-radius: var(--border-radius);
    padding: 40px 30px;
    box-shadow: var(--box-shadow);
    text-align: center;
    position: relative;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1;
}

.process__step:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--secondary-color);
}

.process__step-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--secondary-light);
    border-radius: 50%;
    color: var(--secondary-color);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    box-shadow: 0 8px 25px rgba(242, 140, 56, 0.15);
}

.process__step:hover .process__step-icon {
    transform: scale(1.1);
    background-color: var(--secondary-color);
    color: white;
    box-shadow: 0 12px 30px rgba(242, 140, 56, 0.3);
}

.process__step-icon svg {
    width: 45px;
    height: 45px;
    transition: all 0.3s ease;
}

.process__step-title {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.6rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.process__step-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.process__step:hover .process__step-title:after {
    width: 100px;
}

.process__step-text {
    margin-bottom: 0;
    color: var(--gray-text);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Media queries */
@media (min-width: 576px) {
    .hero__title {
        font-size: 3rem;
    }

    .hero__subtitle {
        font-size: 1.25rem;
    }

    .no-win-banner__title {
        font-size: 3rem;
    }

    .no-win-banner__text {
        font-size: 1.3rem;
    }
}

@media (min-width: 768px) {
    .header__logo-img {
        height: 50px;
    }

    .header__menu-toggle {
        display: none;
    }

    .header__nav {
        position: static;
        max-height: none;
        box-shadow: none;
        overflow: visible;
        width: auto;
        flex: 1;
        margin-left: 30px;
        opacity: 1;
        transform: translateY(0);
        display: flex;
        align-items: center;
    }

    .header__nav-list {
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0;
    }

    .header__nav-item {
        border-bottom: none;
        margin: 0 5px;
    }

    .header__nav-link {
        padding: 10px 15px;
        border-radius: var(--border-radius);
    }

    .hero__title {
        font-size: 3.5rem;
    }

    .hero__subtitle {
        font-size: 1.375rem;
    }

    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about__columns {
        grid-template-columns: repeat(2, 1fr);
    }

    .process__steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .form__fields-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .address__content {
        grid-template-columns: 1fr 1fr;
    }

    .address__map {
        padding-bottom: 100%;
        /* Square for tablet */
    }

    .footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .content__columns {
        grid-template-columns: 2fr 1fr;
    }

    .contact-content__columns {
        grid-template-columns: 1fr 1fr;
    }

    .form {
        padding: 50px;
    }
}

@media (min-width: 992px) {
    .services__grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .no-win-banner__title {
        font-size: 3.5rem;
    }

    .process__steps {
        grid-template-columns: repeat(5, 1fr);
    }

    .testimonials__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .address__map {
        padding-bottom: 80%;
        /* Better aspect ratio for desktop */
    }
}

@media (min-width: 1200px) {
    .header__container {
        padding: 20px;
    }

    .form {
        padding: 60px;
    }
}

/* Trust section */
.trust-section {
    padding: 80px 0;
    background-color: #FFFFFF;
    position: relative;
    overflow: hidden;
}

.trust-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(242, 140, 56, 0.03), transparent 70%);
    pointer-events: none;
}

.trust-section__container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

.trust-section__title {
    text-align: center;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-size: 2.3rem;
    font-weight: 800;
}

.trust-section__subtitle {
    text-align: center;
    margin-bottom: 60px;
    color: var(--gray-text);
    font-size: 1.2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.trust-section__stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.trust-stat {
    text-align: center;
    padding: 30px 20px;
    background-color: #FFFFFF;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.trust-stat:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--secondary-color);
}

.trust-stat__icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--secondary-light);
    border-radius: 50%;
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

.trust-stat:hover .trust-stat__icon {
    transform: scale(1.1) rotate(5deg);
    background-color: var(--secondary-color);
    color: white;
}

.trust-stat__icon svg {
    width: 35px;
    height: 35px;
}

.trust-stat__number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 10px;
    line-height: 1;
}

.trust-stat__text {
    color: var(--gray-text);
    font-size: 1.1rem;
    font-weight: 500;
}

.trust-section__badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.trust-badge {
    display: flex;
    align-items: center;
    padding: 15px 25px;
    background-color: #FFFFFF;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    border-radius: 50px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.trust-badge:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    border-color: var(--secondary-color);
}

.trust-badge__icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--primary-color);
}

.trust-badge__icon svg {
    width: 28px;
    height: 28px;
}

.trust-badge__text {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-color);
    white-space: nowrap;
}

@media (min-width: 768px) {
    .trust-section__stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .trust-section__stats {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Blog Grid and Post Styles */
.blog__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 16px 64px 16px;
}

.blog__filters {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 18px 18px 8px 18px;
    margin-bottom: 36px;
    box-shadow: 0 2px 8px rgba(31, 49, 102, 0.04);
}

.blog__category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 0;
}

.blog__category-link {
    display: inline-block;
    padding: 8px 18px;
    background: var(--light-gray);
    border-radius: var(--border-radius);
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 600;
    border: 1px solid var(--border-color);
    box-shadow: 0 1px 2px rgba(31, 49, 102, 0.03);
    transition: background 0.2s, color 0.2s, border 0.2s, box-shadow 0.2s;
    cursor: pointer;
    outline: none;
}

.blog__category-link--active,
.blog__category-link:focus,
.blog__category-link:hover {
    background: var(--secondary-color);
    color: #fff;
    border-color: var(--secondary-color);
    box-shadow: 0 2px 8px rgba(242, 140, 56, 0.10);
}

.blog__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

@media (min-width: 700px) {
    .blog__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1100px) {
    .blog__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.blog__post {
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 16px rgba(31, 49, 102, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s, transform 0.2s;
    border: 1px solid var(--border-color);
    min-height: 420px;
    position: relative;
}

.blog__post:hover {
    box-shadow: 0 16px 40px rgba(31, 49, 102, 0.18);
    transform: translateY(-8px) scale(1.018);
    border-color: var(--secondary-color);
}

.blog__post-link {
    color: inherit;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog__post-image {
    width: 100%;
    height: 210px;
    overflow: hidden;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border-color);
}

.blog__post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.blog__post:hover .blog__post-image img {
    transform: scale(1.07);
}

.blog__post-content {
    padding: 28px 22px 22px 22px;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

.blog__post-meta {
    font-size: 1rem;
    color: var(--gray-text);
    margin-bottom: 10px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    letter-spacing: 0.01em;
    opacity: 0.85;
}

.blog__post-title {
    font-size: 1.35rem;
    color: var(--primary-color);
    margin-bottom: 12px;
    font-weight: 800;
    line-height: 1.3;
    transition: color 0.2s, text-decoration 0.2s;
    text-decoration: none;
}

.blog__post-excerpt {
    color: var(--gray-text);
    font-size: 1.05rem;
    margin-bottom: 18px;
    flex: 1 1 auto;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog__post-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.blog__post-category {
    background: var(--tertiary-color);
    color: var(--primary-color);
    font-size: 0.88rem;
    padding: 4px 12px;
    border-radius: var(--border-radius);
    font-weight: 600;
    letter-spacing: 0.02em;
}

.blog__post-read-more {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 1.05rem;
    margin-top: 10px;
    align-self: flex-start;
    position: relative;
    padding-right: 20px;
    letter-spacing: 0.01em;
    transition: color 0.2s;
    border-bottom: 1px dashed var(--secondary-color);
}

.blog__post:hover .blog__post-read-more,
.blog__post-link:focus .blog__post-read-more {
    color: var(--primary-color);
    border-bottom: 1px solid var(--primary-color);
}

.blog__post:not(:last-child) {
    border-bottom: 1.5px solid #f0f0f0;
}

@media (max-width: 700px) {
    .blog__post {
        margin-bottom: 18px;
        box-shadow: 0 1px 4px rgba(31, 49, 102, 0.06);
    }

    .blog__post:not(:last-child) {
        border-bottom: 2px solid #f0f0f0;
    }
}

/* Single Blog Post UX Improvements */
.blog-post {
    background: #f7f8fa;
    padding: 48px 0 64px 0;
}

.blog-post__container {
    max-width: 760px;
    margin: 0 auto;
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 24px rgba(31, 49, 102, 0.10);
    padding: 40px 28px 36px 28px;
    position: relative;
}

@media (max-width: 600px) {
    .blog-post__container {
        padding: 18px 4px 18px 4px;
    }
}

.blog-post__header {
    margin-bottom: 28px;
    border-bottom: 1.5px solid #f0f0f0;
    padding-bottom: 18px;
}

.blog-post__title {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 800;
    margin-bottom: 8px;
    line-height: 1.2;
}

.blog-post__meta {
    font-size: 1.05rem;
    color: var(--gray-text);
    margin-bottom: 10px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    opacity: 0.85;
}

.blog-post__featured-image {
    margin: 24px 0 18px 0;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(31, 49, 102, 0.10);
    background: var(--light-gray);
}

.blog-post__featured-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.blog-post__categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 0;
}

.blog-post__category {
    background: var(--tertiary-color);
    color: var(--primary-color);
    font-size: 0.95rem;
    padding: 4px 12px;
    border-radius: var(--border-radius);
    font-weight: 600;
    letter-spacing: 0.01em;
    margin-bottom: 0;
    transition: background 0.2s, color 0.2s;
}

.blog-post__category:hover,
.blog-post__category:focus {
    background: var(--secondary-color);
    color: #fff;
}

.blog-post__content {
    font-size: 1.13rem;
    color: var(--text-color);
    line-height: 1.7;
    margin-top: 18px;
}

.blog-post__content h2,
.blog-post__content h3 {
    color: var(--primary-color);
    margin-top: 32px;
    margin-bottom: 16px;
    font-weight: 800;
}

.blog-post__content p {
    margin-bottom: 1.3em;
}

.blog-post__content ul,
.blog-post__content ol {
    margin-left: 1.5em;
    margin-bottom: 1.3em;
}

.blog-post__content li {
    margin-bottom: 0.5em;
}

.blog-post__content strong {
    color: var(--primary-color);
}

.blog-post__content em {
    color: var(--secondary-color);
}

.blog-post__content a {
    color: var(--secondary-color);
    text-decoration: underline;
    transition: color 0.2s;
}

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

.blog-post__back {
    display: inline-block;
    margin-bottom: 24px;
    color: var(--secondary-color);
    font-weight: 700;
    text-decoration: none;
    font-size: 1.05rem;
    transition: color 0.2s;
    border-bottom: 1px dashed var(--secondary-color);
}

.blog-post__back:hover,
.blog-post__back:focus {
    color: var(--primary-color);
    border-bottom: 1px solid var(--primary-color);
}

/* Modal Styles (BEM) */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    overflow: auto;
    background: none;
}

.modal--assessment[aria-hidden="false"],
.modal--assessment[style*="display: block"] {
    display: block;
}

.modal__overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(31, 49, 102, 0.6);
    z-index: 2001;
}

.modal__dialog {
    position: relative;
    margin: 40px auto;
    max-width: 500px;
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    z-index: 2002;
    padding: 0;
    animation: modal-fade-in 0.3s;
}

@media (max-width: 600px) {
    .modal__dialog {
        max-width: 95vw;
        margin: 20px auto;
    }
}

.modal__close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--primary-color);
    cursor: pointer;
    z-index: 2003;
}

.modal__content {
    padding: 32px 24px 24px 24px;
}

@keyframes modal-fade-in {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal__content .form-section {
    margin: 0;
    padding: 0;
    box-shadow: none;
    background: none;
}

.modal__content .form-section__container {
    padding: 0;
}