/* 
Car Rentals Slovakia - Main Stylesheet
----------------------------------------
Table of Contents:
1. Basic Reset & Typography
2. Color Variables
3. Layout & Grid
4. Header & Navigation
5. Footer
6. Buttons
7. Forms
8. Hero Section
9. Features Section
10. Blog Cards & Posts
11. Testimonials
12. Newsletter
13. About Page
14. Contact Page
15. Policy Pages
16. Cookie Banner
17. Modal
18. Special Effects
19. Responsive Styles
*/

/* ===============================================
   1. Basic Reset & Typography
   =============================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%; /* 10px = 1rem */
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.6rem;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 2rem;
    color: #222;
}

h1 {
    font-size: 4rem;
}

h2 {
    font-size: 3.2rem;
    position: relative;
    margin-bottom: 3rem;
}

h2:after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 0;
    width: 6rem;
    height: 0.4rem;
    background-color: var(--primary-color);
}

.container h2 {
    text-align: center;
}

.container h2:after {
    left: 50%;
    transform: translateX(-50%);
}

h3 {
    font-size: 2.4rem;
}

h4 {
    font-size: 2rem;
}

p {
    margin-bottom: 2rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

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

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

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

/* ===============================================
   2. Color Variables
   =============================================== */
:root {
    --primary-color: #3498db;
    --primary-light: #5dade2;
    --primary-dark: #2980b9;
    --secondary-color: #e67e22;
    --secondary-light: #f39c12;
    --secondary-dark: #d35400;
    --white: #ffffff;
    --gray-light: #f5f5f5;
    --gray: #e0e0e0;
    --gray-dark: #777;
    --black: #222;
    --success: #2ecc71;
    --warning: #f1c40f;
    --danger: #e74c3c;
    --border-radius: 0.4rem;
    --box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
}

/* ===============================================
   3. Layout & Grid
   =============================================== */
.container {
    width: 100%;
    max-width: 120rem;
    padding: 0 2rem;
    margin: 0 auto;
}

section {
    padding: 8rem 0;
}

.page-banner {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 6rem 0;
    margin-bottom: 4rem;
}

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

.page-banner p {
    font-size: 2rem;
    margin-bottom: 0;
    opacity: 0.9;
}

/* Grid layouts */
.features-grid,
.posts-grid,
.related-grid,
.contact-grid,
.team-grid,
.values-grid,
.mission-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(30rem, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

/* ===============================================
   4. Header & Navigation
   =============================================== */
header {
    background-color: var(--white);
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo img {
    height: 5rem;
    width: auto;
}

nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin-left: 3rem;
}

.nav-links a {
    color: var(--black);
    font-weight: 500;
    font-size: 1.6rem;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 0.5rem;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.nav-links a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 0.2rem;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover:after,
.nav-links a.active:after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 3rem;
    height: 2.4rem;
}

.hamburger span {
    display: block;
    height: 0.3rem;
    width: 100%;
    background-color: var(--black);
    border-radius: 0.3rem;
    transition: all 0.3s ease;
}

/* ===============================================
   5. Footer
   =============================================== */
footer {
    background-color: #222;
    color: var(--white);
    padding: 6rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo img {
    height: 5rem;
    width: auto;
    margin-bottom: 1.5rem;
}

.footer-links h3,
.footer-contact h3 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.footer-links h3:after,
.footer-contact h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 4rem;
    height: 0.2rem;
    background-color: var(--primary-color);
}

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

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: #bbb;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 0.5rem;
}

.footer-contact p {
    margin-bottom: 1rem;
    color: #bbb;
}

.footer-contact i {
    color: var(--primary-color);
    margin-right: 1rem;
    width: 1.6rem;
    text-align: center;
}

.social-icons {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.6rem;
    height: 3.6rem;
    background-color: #333;
    color: var(--white);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #444;
}

.footer-bottom p {
    margin-bottom: 0;
    font-size: 1.4rem;
    color: #888;
}

/* ===============================================
   6. Buttons
   =============================================== */
.btn {
    display: inline-block;
    padding: 1.2rem 2.4rem;
    font-size: 1.6rem;
    font-weight: 600;
    text-align: center;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

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

.primary-btn:hover {
    background-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 0.7rem 1.5rem rgba(0, 0, 0, 0.15);
}

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

.secondary-btn:hover {
    background-color: var(--secondary-dark);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 0.7rem 1.5rem rgba(0, 0, 0, 0.15);
}

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

.outline-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 0.7rem 1.5rem rgba(0, 0, 0, 0.15);
}

.text-btn {
    background-color: transparent;
    color: var(--gray-dark);
    padding: 1rem 1.5rem;
}

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

.center-btn {
    text-align: center;
    margin-top: 4rem;
}

/* Special button effects */
.btn {
    position: relative;
    overflow: hidden;
}

.btn:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: -100%;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transition: all 0.6s ease;
}

.btn:hover:after {
    left: 100%;
}

/* ===============================================
   7. Forms
   =============================================== */
.newsletter-form,
.contact-form form {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.newsletter-form input {
    flex: 1;
    min-width: 25rem;
}

input,
textarea,
select {
    width: 100%;
    padding: 1.2rem 1.5rem;
    border: 1px solid var(--gray);
    border-radius: var(--border-radius);
    font-size: 1.6rem;
    transition: all 0.3s ease;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

textarea {
    resize: vertical;
    min-height: 15rem;
}

.form-group {
    margin-bottom: 2rem;
    width: 100%;
}

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

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

.checkbox-group input {
    width: auto;
    margin-top: 0.4rem;
}

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

/* Contact form styling */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.form-info {
    padding-right: 3rem;
}

.contact-faq {
    margin-top: 4rem;
}

.faq-item {
    margin-bottom: 2rem;
}

.faq-item h4 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.faq-item p {
    font-size: 1.5rem;
}

/* ===============================================
   8. Hero Section
   =============================================== */
.hero {
    padding: 10rem 0;
    background-color: #f0f8ff;
    position: relative;
    overflow: hidden;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1) 0%, rgba(230, 126, 34, 0.1) 100%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5rem;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 5rem;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 2.2rem;
    margin-bottom: 3rem;
    color: var(--gray-dark);
}

.hero-image {
    flex: 1;
    position: relative;
}

.hero-image img {
    border-radius: 1rem;
    box-shadow: var(--box-shadow);
    transform: rotate(2deg);
    transition: all 0.5s ease;
}

.hero-image:hover img {
    transform: rotate(0);
}

.hero-image:before {
    content: '';
    position: absolute;
    top: 2rem;
    left: 2rem;
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary-color);
    border-radius: 1rem;
    z-index: -1;
    transition: all 0.5s ease;
}

.hero-image:hover:before {
    top: 1rem;
    left: 1rem;
}

/* ===============================================
   9. Features Section
   =============================================== */
.features {
    background-color: var(--white);
}

.feature-card {
    background-color: var(--white);
    border-radius: 1rem;
    padding: 3rem;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-1rem);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.feature-card h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

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

/* Did you know section */
.did-you-know {
    background-color: #f0f8ff;
    padding: 8rem 0;
}

.fact-container {
    margin-top: 4rem;
}

.fact-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    background-color: var(--white);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
}

.fact-item:hover {
    transform: translateX(1rem);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.1);
}

.fact-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 5rem;
    height: 5rem;
    background-color: var(--primary-color);
    color: var(--white);
    font-size: 2.4rem;
    font-weight: 700;
    border-radius: 50%;
    flex-shrink: 0;
}

.fact-content {
    flex: 1;
}

.fact-content p {
    margin-bottom: 0;
    font-size: 1.7rem;
}

/* ===============================================
   10. Blog Cards & Posts
   =============================================== */
.recent-posts {
    background-color: var(--gray-light);
}

.post-card {
    background-color: var(--white);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
}

.post-card:hover {
    transform: translateY(-1rem);
    box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.15);
}

.post-image {
    height: 22rem;
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.post-card:hover .post-image img {
    transform: scale(1.1);
}

.post-content {
    padding: 2.5rem;
}

.post-content h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.post-card:hover .post-content h3 {
    color: var(--primary-color);
}

.post-content p {
    color: var(--gray-dark);
    margin-bottom: 2rem;
}

/* Blog page styling */
.blog-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4rem;
}

.search-bar {
    display: flex;
    max-width: 40rem;
    width: 100%;
}

.search-bar input {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: none;
}

.search-bar button {
    width: 5rem;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-top-right-radius: var(--border-radius);
    border-bottom-right-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-bar button:hover {
    background-color: var(--primary-dark);
}

.category-filter select {
    width: auto;
    min-width: 20rem;
    padding-right: 4rem;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23333'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.5rem center;
    background-size: 1.5rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(35rem, 1fr));
    gap: 3rem;
}

.blog-card {
    display: flex;
    flex-direction: column;
    background-color: var(--white);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.15);
}

.blog-card-image {
    height: 25rem;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.1);
}

.blog-card-content {
    padding: 3rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.blog-category {
    color: var(--primary-color);
    font-weight: 600;
}

.blog-date {
    color: var(--gray-dark);
}

.blog-card-content h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.blog-card:hover .blog-card-content h2 {
    color: var(--primary-color);
}

.blog-card-content p {
    color: var(--gray-dark);
    margin-bottom: 2rem;
    flex: 1;
}

.read-more {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 600;
    margin-top: auto;
}

.read-more i {
    margin-left: 0.5rem;
    transition: all 0.3s ease;
}

.read-more:hover i {
    transform: translateX(0.5rem);
}

.blog-pagination {
    display: flex;
    justify-content: center;
    margin-top: 5rem;
}

.blog-pagination a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    margin: 0 0.5rem;
    border-radius: 50%;
    background-color: var(--white);
    color: var(--black);
    font-weight: 600;
    transition: all 0.3s ease;
}

.blog-pagination a.active,
.blog-pagination a:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.blog-pagination a.next {
    width: auto;
    padding: 0 1.5rem;
    border-radius: 2rem;
}

/* Blog post styling */
.blog-post {
    background-color: var(--white);
    padding: 4rem 0;
}

.post-header {
    margin-bottom: 4rem;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.post-category {
    color: var(--primary-color);
    font-weight: 600;
}

.post-date,
.post-author {
    color: var(--gray-dark);
}

.post-header h1 {
    font-size: 4rem;
    margin-bottom: 3rem;
}

.post-header .post-image {
    height: 50rem;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.post-intro {
    font-size: 2rem;
    line-height: 1.6;
    color: var(--gray-dark);
    margin-bottom: 3rem;
    padding-left: 2rem;
    border-left: 0.4rem solid var(--primary-color);
}

.post-content h2 {
    font-size: 3rem;
    margin: 4rem 0 2rem;
    text-align: left;
}

.post-content h2:after {
    left: 0;
    transform: none;
}

.post-content h3 {
    font-size: 2.4rem;
    margin: 3rem 0 2rem;
    color: var(--primary-dark);
}

.post-content p {
    margin-bottom: 2rem;
    font-size: 1.7rem;
    line-height: 1.7;
}

.post-content ul,
.post-content ol {
    margin-bottom: 2rem;
    padding-left: 2.5rem;
}

.post-content li {
    margin-bottom: 1rem;
    font-size: 1.7rem;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin: 3rem 0;
}

.post-content a {
    color: var(--primary-color);
    text-decoration: underline;
    text-underline-offset: 0.3rem;
}

.post-content a:hover {
    color: var(--primary-dark);
}

.post-tags {
    margin: 4rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.post-tags span {
    font-weight: 600;
    color: var(--gray-dark);
}

.post-tags a {
    background-color: var(--gray-light);
    padding: 0.7rem 1.5rem;
    border-radius: 3rem;
    font-size: 1.4rem;
    color: var(--gray-dark);
    transition: all 0.3s ease;
}

.post-tags a:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.post-share {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.post-share span {
    font-weight: 600;
    color: var(--gray-dark);
}

.post-share a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.6rem;
    height: 3.6rem;
    background-color: var(--gray-light);
    color: var(--gray-dark);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.post-share a:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    margin: 6rem 0;
    padding: 3rem 0;
    border-top: 1px solid var(--gray);
    border-bottom: 1px solid var(--gray);
}

.prev-post,
.next-post {
    display: flex;
    align-items: center;
    max-width: 45%;
    color: var(--black);
    transition: all 0.3s ease;
}

.prev-post:hover,
.next-post:hover {
    color: var(--primary-color);
}

.prev-post i,
.next-post i {
    font-size: 2rem;
    color: var(--primary-color);
}

.prev-post i {
    margin-right: 1.5rem;
}

.next-post i {
    margin-left: 1.5rem;
}

.post-navigation span {
    display: block;
    font-size: 1.4rem;
    color: var(--gray-dark);
    margin-bottom: 0.5rem;
}

.post-navigation p {
    font-weight: 600;
    margin-bottom: 0;
}

.related-posts {
    margin-top: 6rem;
}

.related-posts h3 {
    margin-bottom: 3rem;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.related-post {
    display: block;
    background-color: var(--white);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
}

.related-post:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.15);
}

.related-post img {
    width: 100%;
    height: 18rem;
    object-fit: cover;
    transition: all 0.5s ease;
}

.related-post:hover img {
    transform: scale(1.1);
}

.related-post h4 {
    padding: 1.5rem;
    font-size: 1.6rem;
    color: var(--black);
    transition: all 0.3s ease;
    margin-bottom: 0;
}

.related-post:hover h4 {
    color: var(--primary-color);
}

/* Custom post elements */
.info-box,
.tip-box,
.warning-box,
.advice-box,
.conclusion {
    padding: 2.5rem;
    border-radius: 1rem;
    margin: 3rem 0;
    position: relative;
}

.info-box {
    background-color: #e8f4fd;
    border-left: 0.5rem solid var(--primary-color);
}

.tip-box {
    background-color: #e8f8f5;
    border-left: 0.5rem solid #2ecc71;
}

.warning-box {
    background-color: #fdedd4;
    border-left: 0.5rem solid #f39c12;
}

.advice-box {
    background-color: #eef2f7;
    border-left: 0.5rem solid #3498db;
}

.conclusion {
    background-color: #f5f5f5;
    border-left: 0.5rem solid #9b59b6;
}

.info-box h4,
.tip-box h4,
.warning-box h4,
.advice-box h4,
.conclusion h3 {
    color: var(--black);
    margin-top: 0;
}

.info-table {
    overflow-x: auto;
    margin: 3rem 0;
}

.info-table table {
    width: 100%;
    border-collapse: collapse;
}

.info-table th,
.info-table td {
    padding: 1.2rem 1.5rem;
    text-align: left;
    border: 1px solid var(--gray);
}

.info-table th {
    background-color: var(--primary-light);
    color: var(--white);
    font-weight: 600;
}

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

.company-comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.company-card {
    background-color: var(--white);
    border-radius: 1rem;
    padding: 2.5rem;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
}

.company-card:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.15);
}

.company-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.company-card .price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.company-card ul {
    list-style: none;
    padding-left: 0;
}

.company-card li {
    padding-left: 2.5rem;
    position: relative;
    margin-bottom: 1rem;
}

.company-card li:before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--success);
    position: absolute;
    left: 0;
}

.company-card li:last-child:before {
    content: '\f00d';
    color: var(--danger);
}

.route-card {
    display: flex;
    gap: 3rem;
    margin: 3rem 0;
    background-color: var(--white);
    border-radius: 1rem;
    padding: 2.5rem;
    box-shadow: var(--box-shadow);
}

.route-image {
    flex: 1;
    max-width: 30rem;
}

.route-image img {
    width: 100%;
    height: 20rem;
    object-fit: cover;
    border-radius: 0.5rem;
}

.route-details {
    flex: 2;
}

.route-details p {
    margin-bottom: 1rem;
}

.route-details p strong {
    color: var(--primary-dark);
}

.saving-tip {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    background-color: #eef7fe;
    border-radius: 1rem;
    padding: 2.5rem;
    margin: 3rem 0;
}

.tip-icon {
    font-size: 3rem;
    color: var(--primary-color);
}

.tip-content {
    flex: 1;
}

.tip-content h4 {
    color: var(--primary-dark);
    margin-top: 0;
}

.insurance-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 2.5rem;
    margin: 3rem 0;
}

.insurance-card {
    background-color: var(--white);
    border-radius: 1rem;
    padding: 2.5rem;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
}

.insurance-card:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.15);
}

.insurance-card h3 {
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
}

.insurance-card p {
    margin-bottom: 1rem;
}

.insurance-card p strong {
    color: var(--black);
}

.comparison-table {
    margin: 3rem 0;
}

.comparison-table h3 {
    margin-bottom: 2rem;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
    padding: 1.5rem;
    text-align: left;
    border: 1px solid var(--gray);
}

.comparison-table th {
    background-color: var(--primary-light);
    color: var(--white);
}

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

.comparison-table td:first-child {
    font-weight: 600;
}

.myths-section {
    margin: 3rem 0;
}

.myth {
    background-color: #f9f9f9;
    border-radius: 1rem;
    padding: 2.5rem;
    margin-bottom: 2rem;
}

.myth h4 {
    color: var(--black);
    margin-bottom: 1.5rem;
}

.myth p {
    margin-bottom: 0;
}

.winter-car-tips {
    margin: 3rem 0;
}

.winter-car-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 2.5rem;
}

.winter-car-option {
    display: flex;
    gap: 2rem;
    background-color: var(--white);
    border-radius: 1rem;
    padding: 2.5rem;
    box-shadow: var(--box-shadow);
}

.car-icon {
    font-size: 3rem;
    color: var(--primary-color);
}

.car-info {
    flex: 1;
}

.car-info h4 {
    color: var(--black);
    margin-bottom: 1rem;
}

.car-info p {
    margin-bottom: 1rem;
}

.car-info p:last-child {
    margin-bottom: 0;
}

.winter-driving-tips {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(28rem, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.driving-tip {
    background-color: #f0f8ff;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--box-shadow);
}

.driving-tip h4 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.driving-tip p {
    margin-bottom: 0;
}

.problems-solutions {
    margin: 3rem 0;
}

.problem {
    background-color: #f9f9f9;
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2rem;
}

.problem h4 {
    color: var(--black);
    margin-bottom: 1rem;
}

.problem p {
    margin-bottom: 0;
}

.problem p strong {
    color: var(--primary-dark);
}

.emergency-contacts {
    background-color: #fff8e1;
    border-radius: 1rem;
    padding: 2.5rem;
    margin: 3rem 0;
}

.emergency-contacts h3 {
    color: #f39c12;
    margin-bottom: 1.5rem;
}

.emergency-contacts ul {
    list-style: none;
    padding-left: 0;
}

.emergency-contacts li {
    margin-bottom: 1rem;
}

.emergency-contacts li strong {
    color: var(--black);
}

/* ===============================================
   11. Testimonials
   =============================================== */
.testimonials {
    background-color: var(--white);
    position: relative;
}

.testimonials-slider {
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

.testimonial {
    padding: 4rem;
    background-color: var(--gray-light);
    border-radius: 1rem;
    box-shadow: var(--box-shadow);
    margin: 0 1.5rem;
}

.testimonial-content {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 3rem;
}

.testimonial-content:before {
    content: '\201C';
    font-family: Georgia, serif;
    font-size: 8rem;
    position: absolute;
    left: -1rem;
    top: -3rem;
    color: var(--primary-light);
    opacity: 0.3;
}

.testimonial-content p {
    font-size: 1.8rem;
    line-height: 1.6;
    color: var(--gray-dark);
    margin-bottom: 0;
}

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

.testimonial-author img {
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 2rem;
}

.testimonial-author h4 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.testimonial-author p {
    font-size: 1.4rem;
    color: var(--gray-dark);
    margin-bottom: 0;
}

.slider-controls {
    display: flex;
    justify-content: center;
    margin-top: 4rem;
}

.prev-btn,
.next-btn {
    background-color: var(--white);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin: 0 1rem;
    transition: all 0.3s ease;
}

.prev-btn:hover,
.next-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* ===============================================
   12. Newsletter
   =============================================== */
.newsletter {
    background-color: #2c3e50;
    color: var(--white);
    text-align: center;
    padding: 8rem 0;
}

.newsletter h2 {
    color: var(--white);
    margin-bottom: 2rem;
}

.newsletter h2:after {
    background-color: var(--white);
}

.newsletter p {
    font-size: 1.8rem;
    max-width: 70rem;
    margin: 0 auto 3rem;
    opacity: 0.9;
}

.newsletter-form {
    max-width: 60rem;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.newsletter-form input {
    flex: 1;
    min-width: 30rem;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border: none;
    font-size: 1.6rem;
}

.blog-newsletter {
    background-color: #f0f8ff;
    color: var(--black);
    margin-top: 6rem;
}

.blog-newsletter h2 {
    color: var(--black);
}

.blog-newsletter h2:after {
    background-color: var(--primary-color);
}

/* ===============================================
   13. About Page
   =============================================== */
.about-story {
    padding: 8rem 0;
    background-color: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-text h2 {
    text-align: left;
}

.about-text h2:after {
    left: 0;
    transform: none;
}

.about-image img {
    border-radius: 1rem;
    box-shadow: var(--box-shadow);
}

.about-mission {
    background-color: #f0f8ff;
    padding: 8rem 0;
}

.mission-card {
    background-color: var(--white);
    border-radius: 1rem;
    padding: 3rem;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: all 0.3s ease;
}

.mission-card:hover {
    transform: translateY(-1rem);
    box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.15);
}

.mission-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.mission-card h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.about-team {
    padding: 8rem 0;
    background-color: var(--white);
}

.team-intro {
    text-align: center;
    max-width: 80rem;
    margin: 0 auto 4rem;
    font-size: 1.8rem;
}

.team-member {
    display: flex;
    gap: 3rem;
    background-color: var(--white);
    border-radius: 1rem;
    padding: 3rem;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.1);
}

.member-image {
    width: 15rem;
    height: 15rem;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

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

.member-info {
    flex: 1;
}

.member-info h3 {
    margin-bottom: 0.5rem;
}

.member-role {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.about-values {
    background-color: #f0f8ff;
    padding: 8rem 0;
}

.value-item {
    background-color: var(--white);
    border-radius: 1rem;
    padding: 3rem;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
}

.value-item:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.1);
}

.value-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.value-item h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.join-us {
    background-color: var(--white);
    text-align: center;
    padding: 8rem 0;
}

.join-us p {
    max-width: 80rem;
    margin: 0 auto 2rem;
    font-size: 1.8rem;
}

.join-us .btn {
    margin-top: 2rem;
}

/* ===============================================
   14. Contact Page
   =============================================== */
.contact-info {
    padding: 4rem 0;
    background-color: var(--white);
}

.contact-card {
    text-align: center;
    background-color: var(--white);
    border-radius: 1rem;
    padding: 3rem;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-1rem);
    box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.15);
}

.contact-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.contact-card h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.contact-card p {
    color: var(--gray-dark);
    margin-bottom: 0.5rem;
}

.contact-card .social-icons {
    justify-content: center;
    margin-top: 1.5rem;
}

.contact-form-section {
    background-color: #f0f8ff;
    padding: 8rem 0;
}

.map-section {
    padding: 8rem 0;
    background-color: var(--white);
}

.map-container {
    height: 45rem;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ===============================================
   15. Policy Pages
   =============================================== */
.policy-content {
    padding: 4rem 0 8rem;
    background-color: var(--white);
}

.policy-effective-date {
    text-align: right;
    font-style: italic;
    color: var(--gray-dark);
    margin-bottom: 3rem;
}

.policy-intro {
    font-size: 1.8rem;
    line-height: 1.6;
    margin-bottom: 4rem;
}

.policy-section {
    margin-bottom: 5rem;
}

.policy-section h2 {
    font-size: 2.8rem;
    color: var(--primary-dark);
    text-align: left;
    margin-bottom: 2.5rem;
}

.policy-section h2:after {
    left: 0;
    transform: none;
}

.policy-section h3 {
    font-size: 2.2rem;
    margin: 3rem 0 1.5rem;
}

.policy-section p {
    margin-bottom: 1.5rem;
    font-size: 1.7rem;
    line-height: 1.7;
}

.policy-section ul,
.policy-section ol {
    margin-bottom: 2rem;
}

.policy-section li {
    margin-bottom: 1rem;
    font-size: 1.7rem;
    line-height: 1.7;
}

.refund-steps {
    background-color: #f9f9f9;
    border-radius: 1rem;
    padding: 3rem;
    margin: 3rem 0;
}

.refund-steps h3 {
    margin-top: 0;
}

.refund-steps ol {
    counter-reset: refund-steps;
    list-style: none;
    padding-left: 0;
}

.refund-steps li {
    position: relative;
    padding-left: 5rem;
    margin-bottom: 2rem;
    counter-increment: refund-steps;
}

.refund-steps li:before {
    content: counter(refund-steps);
    position: absolute;
    left: 0;
    top: 0;
    width: 3.6rem;
    height: 3.6rem;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.refund-steps li strong {
    color: var(--black);
}

/* ===============================================
   16. Cookie Banner
   =============================================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 -0.5rem 1.5rem rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 2rem 0;
    display: none;
}

.cookie-content {
    max-width: 120rem;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
}

.cookie-content p {
    flex: 1;
    min-width: 30rem;
    margin-bottom: 0;
}

.cookie-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.cookie-more {
    color: var(--primary-color);
    margin-left: 1rem;
    font-size: 1.4rem;
    text-decoration: underline;
}

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

.modal-content {
    background-color: var(--white);
    border-radius: 1rem;
    padding: 3rem;
    width: 90%;
    max-width: 50rem;
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.2);
    position: relative;
    animation: modalOpen 0.4s ease-out;
}

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

.close-modal {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--gray-dark);
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.thank-you-message {
    text-align: center;
}

.thank-you-message i {
    font-size: 5rem;
    color: var(--success);
    margin-bottom: 2rem;
}

.thank-you-message h3 {
    font-size: 2.4rem;
    margin-bottom: 1.5rem;
}

.thank-you-message p {
    font-size: 1.7rem;
    margin-bottom: 2.5rem;
}

.close-btn {
    margin-top: 1rem;
}

/* ===============================================
   18. Special Effects
   =============================================== */
/* Hover effects */
.feature-card,
.post-card,
.blog-card,
.team-member,
.value-item,
.mission-card,
.contact-card {
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.feature-card:before,
.post-card:before,
.blog-card:before,
.team-member:before,
.value-item:before,
.mission-card:before,
.contact-card:before {
    content: '';
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.05) 0%, rgba(230, 126, 34, 0.05) 100%);
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.3s ease;
}

.feature-card:hover:before,
.post-card:hover:before,
.blog-card:hover:before,
.team-member:hover:before,
.value-item:hover:before,
.mission-card:hover:before,
.contact-card:hover:before {
    transform: scale(1);
    opacity: 1;
}

/* Button effects */
.btn:active {
    transform: scale(0.98);
}

/* Image zoom effect */
.post-image,
.blog-card-image,
.hero-image,
.about-image,
.related-post {
    overflow: hidden;
}

/* ===============================================
   19. Responsive Styles
   =============================================== */
@media screen and (max-width: 1200px) {
    html {
        font-size: 60%;
    }
    
    .hero-content h1 {
        font-size: 4.5rem;
    }
}

@media screen and (max-width: 992px) {
    html {
        font-size: 58%;
    }
    
    .hero .container {
        flex-direction: column;
        gap: 3rem;
    }
    
    .hero-content,
    .hero-image {
        max-width: 100%;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 4rem;
    }
    
    .hero-image img {
        max-width: 60rem;
        margin: 0 auto;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-image {
        order: -1;
        max-width: 50rem;
        margin: 0 auto;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .form-info {
        padding-right: 0;
    }
    
    .route-card {
        flex-direction: column;
    }
    
    .route-image {
        max-width: 100%;
    }
}

@media screen and (max-width: 768px) {
    html {
        font-size: 56%;
    }
    
    section {
        padding: 6rem 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 80%;
        max-width: 40rem;
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3rem;
        transition: all 0.5s ease;
        box-shadow: -0.5rem 0 1.5rem rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        margin-left: 0;
    }
    
    .testimonial {
        padding: 3rem;
    }
    
    .team-member {
        flex-direction: column;
        text-align: center;
    }
    
    .member-image {
        margin: 0 auto 2rem;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 576px) {
    html {
        font-size: 54%;
    }
    
    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    .cookie-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .post-navigation {
        flex-direction: column;
        gap: 2rem;
    }
    
    .prev-post,
    .next-post {
        max-width: 100%;
    }
    
    .blog-meta {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
    
    .hero-image:before {
        display: none;
    }
}
