/* header section */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&display=swap');

/* ============================== */
/* GLOBAL STYLES (BUTTONS, LINKS) */
/* ============================== */

html {
    scroll-behavior: smooth;
    font-family: 'Open Sans', sans-serif;
}
h1, h2, h3, h4 {
    font-family: 'Open Sans', sans-serif;
}
/* General styling for all h2 headers */
h2 {
    font-size: 2.5rem;
    /*font-family: 'Barlow', sans-serif;*/
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
    margin-bottom: 30px; /* Ensures spacing below each h2 */
}

/* General styling for all paragraphs */
p {
    font-size: 1rem;
    font-family: 'Open Sans', sans-serif;
    line-height: 1.5; /* Improves readability */
    text-align: left;
    margin-bottom: 15px; /* Keeps spacing between paragraphs */
}

/* Global h3 styles */
h3 {
    font-family: 'Open Sans', sans-serif !important; /* Ensure consistency */
    font-size: 1.8rem; /* Unified size */
    font-weight: 600; /* Slightly lighter than h2 */
    line-height: 1.5; /* Line spacing */
    margin: 12px 0; /* Consistent margins */
    text-align: center; /* Center alignment */
    color: #fff; /* White color */
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 1.4rem;
    font-weight: bold;
    background-color: #edb41c;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 45px;
    transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s;
    cursor: pointer;
    color: black;
    justify-content: center; /* Wyśrodkowanie przycisków */
}

.btn:hover {
    background-color: #d4a00d; /* Darker Yellow */
    color: black; /* Ensures text remains black */
}

.btn-check:checked + .btn, .btn.active, .btn.show, .btn:first-child:active, :not(.btn-check) + .btn:active {
    color: black;
    background-color: #d4a00d;
    border-color: #d4a00d;
}

header .contact-button {
    float: left;
    display: flex;
}


/* header section
html, body, header, .logo, nav ul li a, .contact-button a, .fa-phone, .hero, 
.hero-main-title, .hero-title, .hero-services, .hero-btn, .stats-section,
.new-text-list, .new-call-us-button, .servBlocks details summary,
.text-center.mt-4, .custom-call-us-button, #services h2, .servBlocks h2.subheading,
.testimonial-wrapper .testimonial-card, .locksmith-info-section, 
.green-help-section h3, .button-group .btn-warning, .reviews-section h2,
.review-card .review-name, .review-card p, .faq summary, 
.estimate-section, .estimate-text, footer, .footer-contact p, 
.footer-areas ul li a, .footer-social .social-icons a, 
.privacy-notice-container, .terms-container, 
.cookies-body section, body.error-404-body, body.thank-you-body,
.cookie-popup, .cookie-consent-container {
    font-weight: inherit;
}*/

header {
    position: sticky; /* Stays fixed at the top of the screen */
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
    padding: 5px 20px; /* Add better spacing */
    border-bottom: 1px solid #dcdcdc;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.logo img {
    width: 209px;
    height: 40px;
}

.menu-icon {
    display: none;
    font-size: 28px;
    cursor: pointer;
    margin-left: 10px;
}

nav {
    flex: 1;
    display: flex;
    justify-content: center;
    white-space: nowrap; /* Prevents the text from wrapping */
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 35px; /* Space between the items */
}

nav ul li a {
    text-decoration: none;
    color: #2c2c2c;
    font-weight: bold;
    font-size: 1rem; /* Increased default size */
}

.contact-button {
    gap: 15px;
}

.fa-phone {
    font-size: 1rem; /* Powiększono ikonę o 10% */
}

/* Responsive Design for Tablets */
@media (max-width: 1250px) and (min-width: 769px) {
    header {
        padding: 25px 25px; /* Większy padding na tablety */
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .logo img {
        height: 30px; /* Logo większe niż na telefonie */
    }

    .menu-icon {
        display: block;
        font-size: 30px; /* Większa ikona menu na tabletach */
    }

    .contact-button {
        text-align: right;
        transform: translateX(0); /* Reset transform */
    }

    .contact-button a {
        font-size: 1.1rem; /* Trochę większa czcionka przycisku na tablety */
        padding: 10px 20px; /* Większe marginesy wewnętrzne */
    }

    /* Ikona telefonu większa na tabletach */
    .contact-button a .fa-phone {
        font-size: 1.5rem; /* Większa ikona telefonu */
    }

    nav ul {
        gap: 25px; /* Trochę większy odstęp między linkami */
    }

    nav ul li a {
        font-size: 1.5rem; /* Większa czcionka linków na tabletach */
    }

    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #ffffff;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    nav.active {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    nav ul {
        flex-direction: column;
        gap: 20px;
        padding: 20px 0;
    }

    nav ul li {
        text-align: center;
        width: 100%;
    }

    nav ul li a {
        font-size: 1.6rem; /* Trochę większe linki na tablecie */
    }
}

/* Responsive Design for Mobile - Phones Only */
@media (max-width: 768px) {
    header {
        padding: 10px 15px; /* Dodano większy padding z lewej strony loga */
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .logo img {
        height: 30px; /* Zmniejszono o 10% (38.4px -> 34.56px) */
        /* margin-left: 10px;  Dodatkowy padding z lewej strony */
    }

    .menu-icon {
        display: block;
        font-size: 28px; /* Rozmiar bez zmian */
        margin-right: 15px; /* Dodano dodatkowy padding z prawej strony */
    }

    .contact-button {
        flex: 1;
        text-align: right;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        transform: translateX(0); /* Reset transform on mobile */
    }

    .contact-button a {
        font-size: 0.7rem;
        padding: 9px;
        width: 36px;
        height: 36px;
    }

    .contact-button a .fa-phone {
        font-size: 1.4rem; /* Zmniejszono o 10% (1.65rem -> 1.485rem) */
    }

    /* Ukrycie numeru telefonu (bez zmian) */
    .contact-button a .phone-number {
        display: none;
    }

    nav ul {
        gap: 10px; /* Further reduce the gap between items */
    }

    nav ul li a {
        font-size: 1.5rem; /* Larger font size for mobile */
    }

    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #ffffff;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    nav.active {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    nav ul {
        flex-direction: column;
        gap: 15px;
        padding: 15px 0;
    }

    nav ul li {
        text-align: center;
        width: 100%;
    }

    nav ul li a {
        font-size: 1.5rem; /* Increased font size */
    }
}


/* Desktop Version (above 1024px) */
@media (min-width: 1251px) {
    .logo img {
        margin-left: 40px;
    }

    .contact-button {
        order: 3;
        font-size: 1.25rem;
        padding: 12px 24px;
        transform: none;
    }

    .fa-phone {
        font-size: 1.5rem; /* Powiększono o 10% */
    }

    nav {
        order: 2;
        margin-left: auto;
        margin-right: 0; /* Dodano, aby w pełni przesunąć zawartość w lewo */
    }

    nav ul {
        gap: 35px;
    }

    nav ul li a {
        font-size: 1.25rem;
    }
}

/* Global link styling */
a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    text-decoration: underline;
}

/* Hero container */
.hero {
   /* background: url('https://www.locksmithchatham.co.uk/pictures/hero/panoramic-view-chatham-cropped.webp') center/cover no-repeat;*/
    background-color: #227244;
    /*position: relative;*/
    color: white;
    padding: 0 !important;
    text-align: center;
    min-height: 600px;
    clip-path: polygon(0 0, 100% 0, 100% 97.5%, 90% 100%, 85% 95%, 55% 100%, 50% 95%, 20% 100%, 15% 95%, 0 100%);
    display: flex;
   /* flex-direction: column;
    justify-content: center;*/
    align-items: center;
}

.hero > * {
    /*max-width: 1200px;*/
    margin: 0 auto;
}

/* Main title */
.hero-main-title {
    /*font-family: 'Barlow Condensed', sans-serif;*/
    font-size: 4rem;
    font-weight: bold;
    color: #edb41c;
    text-align: center;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
    margin: 0 auto;
    line-height: 1.1;
}

/* Subtitle */
.hero-title {
    /*font-family: 'Barlow Condensed', sans-serif;*/
    font-size: 4rem;
    font-weight: bold;
    color: white;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
    margin: 0 auto;
    line-height: 1.1;
    width: 100%;
    height: auto;
}

/* Services description */
.hero-services {
   /* font-family: 'Barlow SemiCondensed', sans-serif;*/
    font-size: 1.3rem;
    font-weight: 600;
    margin: 40px 0 40px 0 !important;
    text-align: center;
    padding: 0 0 30px 0;
}

/* Responsive adjustments */

/* Tablet */
@media (min-width: 769px) and (max-width: 1024px) {

    .hero {
        padding: 30px 0 80px;
        min-height: 70vh;
    }

    .hero-main-title {
        font-size: 4rem;
        line-height: 1.1;
    }

    .hero-title {
        font-size: 4rem;
        line-height: 1.1;
        margin-left: 20px;
        margin-right: 20px;
        width: 390px;
        height: 80px;
    }

    .hero-services {
        font-size: 1.8rem;
        margin: 40px 30px 60px 30px !important;
        line-height: 1.5em;
        text-align: center;
        padding: 0 0 10px 0;
        width: 90%;
        white-space: normal;
        word-wrap: break-word;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .hero {
       /* background: url('https://www.locksmithchatham.co.uk/pictures/panoramic-view-chatham-mobile.webp') center/cover no-repeat !important;*/
        background-color: #227244;
        padding: 20px 0 60px;
        /*min-height: 65vh;*/
       /* height: 700px;*/
    }

    .hero-main-title {
        font-size: 2.5rem;
        line-height: 1.3em;
    }

    .hero-title {
        font-size: 2.5rem;
        line-height: 1.3em;
        margin: 0 auto;
        text-align: center;
        width: 80%;
    }

    .hero-services {
        font-size: 1.1rem;
        margin: 30px auto !important;
        line-height: 1.3em;
        text-align: center;
        padding: 0;
        max-width: 60%;
    }
}

/* under hero 1 */
.stats-section {
    background-color: #ffffff;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    margin: 0 auto;
    overflow: hidden;
    transform: scale(0.9); /* Skaluje całość o 90% */
    max-width: 1200px; /* Dodano maksymalną szerokość tylko dla wersji PC */
    padding: 20px 0;
}

.stats-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    margin: 35px 35px; /* Zwiększone marginesy boczne (30px) dla większego odstępu */
    padding: 5px 5px;
}

.heading-google-star,
.heading-years-customers {
    font-size: 2rem;
    font-weight: 1000;
    line-height: 1.1;
    margin: 15px 0;
    color: black
}

.reviews-google,
.star-rating,
.years-serving,
.satisfied-customers {
    font-size: 1.3rem;
    text-align: center;
    font-weight: bold;
    margin: 7px 0;
}
.google-icon, .star-icon, .tool-icon, .emoji-icon {width:200px; height: 100px;}

/* Tablets: max-width: 1024px, min-width: 769px */
@media (max-width: 1024px) and (min-width: 769px) {
    .stats-section {
        padding: 10px;
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        margin: 0 auto;
    }

    .stats-item {
        flex: 0 0 48%;
        max-width: 48%;
        margin: 20px 0; /* Zwiększenie odstępu między elementami */
        text-align: center;
    }

    .stats-icon {
        max-width: 140px;
        margin-bottom: 8px;
    }

    .heading-google-star,
    .heading-years-customers {
        font-size: 2rem;
        line-height: 1.2;
        margin: 8px 0;
    }

    .reviews-google,
    .star-rating,
    .years-serving,
    .satisfied-customers {
        font-size: 1.5rem;
        margin: 8px 0;
    }
}

/* Phones: max-width: 768px */
@media (max-width: 768px) {
    .stats-section {
        padding: 8px;
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
        margin: 0 auto;
    }

    .stats-item {
        flex: 0 0 48%;
        max-width: 48%;
        margin: 10px 0;
        text-align: center;
    }

    .heading-google-star,
    .heading-years-customers {
        font-size: 1.4rem;
        margin: 8px 0;
    }

    .reviews-google,
    .star-rating,
    .years-serving,
    .satisfied-customers {
        font-size: 1.2rem;
        margin: 6px 0;
    }
    .google-icon, .star-icon, .tool-icon, .emoji-icon {width:108px; height: 54px;}
}


/* Main container */
.new-image-text-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 0 20px 60px 10px;
    background-color: #ffffff;
    margin-bottom: 0;
    transform-origin: top center;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.new-image-text-container img {
    width: 350px;
    height: 350px;
    border-radius: 5px;
    margin-right: 25px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

/* Text content */
.new-text-content {
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
}

.new-text-list {
    list-style-type: disc;
    padding-left: 16px;
    text-align: left;
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 16px;
}

.new-text-list li {
    margin-bottom: 8px;
    font-size: 1.6rem;
}

.new-styled-text {
    font-weight: bold;
    display: inline;
    font-size: 1.6rem;
    color: #000;
}

/* Specific h3 styles for .new-image-text-container */
.new-image-text-container h3 {
    color: #000; /* Black color for h3 in this section */
}


/* Responsive styles */

/* Phones */
@media (max-width: 768px) {
    .new-image-text-container {
        flex-direction: column;
        padding: 10px 5px 0 5px;
        margin-bottom: 0;
        transform: scale(1);
    }

    .new-image-text-container img {
        width: 315px;
        height: 315px;
        margin: 0 auto;
    }

    .new-text-content {
        max-width: 100%;
        text-align: left;
    }

    .new-text-list {
        font-size: 1.2rem;
        text-align: left;
        padding-left: 16px;
        margin-top: 20px;
    }

    .new-text-list li {
        margin-bottom: 5px;
    }

    .new-call-us-button {
        font-size: 1.2rem;
        padding: 15px 30px;
        margin: 10px 0 40px 0;
    }
}

/* Tablets */
@media (max-width: 1024px) and (min-width: 769px) {
    .new-image-text-container {
        flex-direction: column;
        padding: 15px 10px 0 20px;
        margin-bottom: 0;
        transform: scale(1);
    }

    .new-image-text-container img {
        max-width: 60%;
        margin: 0 auto 25px;
        border-radius: 8px;
    }

    .new-text-content {
        max-width: 100%;
        text-align: center;
        margin-top: 0;
    }

    .new-text-list {
        font-size: 1.6rem;
        text-align: left;
        padding-left: 20px;
        margin-bottom: 20px;
        margin-top: 0;
    }

    .new-text-list li {
        margin-bottom: 10px;
    }

    .new-call-us-button {
        font-size: 1.3rem;
        padding: 18px 36px;
        margin: 10px 0 20px 0;
    }
}

/* ----------------------------------------------------
   Base styles Footer
   ---------------------------------------------------- */

.footer-logo img {
    width: 156px;
    height: 60px;
    filter: brightness(0) invert(1);
    margin: 30px 0 0 0;
    padding: 0 0 30px 0;
}

/* ----------------------------------------------------
   Base styles Forms
   ---------------------------------------------------- */
label {
    padding: 18px 0 8px 0;
    font-weight: bold;
}
.form-control {
    border: 3px solid #FFF;
}
/* Customize the label (the container) */
input.checkbox {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default checkbox */
input.checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Create a custom checkbox */
input.checkbox {
    position: absolute;
    top: 7px;
    left: 0;
    height: 22px;
    width: 22px;
    background-color: #eee;
    float: left;
}

/* On mouse-over, add a grey background color */
input.checkbox:hover input ~ .checkmark {
    background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
input.checkbox input:checked ~ .checkmark {
    background-color: #edb41c;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
input.checkbox input:checked ~ .checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
input.checkbox .checkmark:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.checkbox label {
    padding: 10px 0 30px 30px;
    position: relative;
    top: 7px;
    display: block;
    left: 0;
    float: left;
}

label:hover {
    cursor: pointer
}

.has-error input,
.has-error textarea,
.has-error .checkbox {
    /*border: 1px solid #FFF;*/
    border: 3px solid #edb41c;
}

.errors li {
    font-weight: bold;
    list-style: none;
    position: relative;
    left: -25px;
    top: 5px;
    font-size: 1rem;
    color: #edb41c;
}

label.required:after {
    content: "*";
    color: #fff !important;
    margin-left: 5px;
}

/* ----------------------------------------------------
   Base styles Sections
   ---------------------------------------------------- */

.pre-footer-section,
#faqs,
.green-help-section,
.why-lockfast-section,
.locksmith-info-section,
#why-choose,
#quote-section,
#contact-section,
#free-estimate {
    padding-top: 5.5rem;
    padding-bottom: 5.5rem;
}

#services {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
}

.testimonial-section {
    padding-top: 2.5rem;
    padding-bottom: 5.5rem;
}

.why-lockfast-section,
#quote-section,
#free-estimate {
    background: #227244;
    color: #FFF;
}

#faqs,
.locksmith-info-section {
    background: #fffbeb;
}

.mw-9 {
    max-width: 90%;
}

/* Service blocks */
.servBlocks {
    padding: 0;
    text-align: left;
    flex: 1 1 auto;
    box-sizing: border-box;
    /*margin-bottom: 20px;*/
    font-family: 'Open Sans', sans-serif;
    max-width: 22%;
    /*border: 6px solid #949494;*/
    border-radius: 10px;
    background-color: #fff;
    /*box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);*/
    transition: transform 0.3s ease /*box-shadow 0.3s ease*/;
}

.servBlocks:hover {
    transform: translateY(-5px);
    /*box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);*/
}

/* Stylowanie dla h3 w .servBlocks */
.servBlocks h3 {
    /*font-size: 1.4rem;*/
    margin: 25px 0 12px 0;
    font-weight: 700;
    text-align: left;
    font-family: 'Open Sans', sans-serif;
    color: #000; /* Czarny kolor h3 */
    position: relative;
    width: 100%;
    text-decoration: none; /* Usuń podkreślenie */
}

/* Stylowanie dla h4 w .servBlocks */
.servBlocks h4 {
    font-size: 1.2rem;
    font-weight: 500;
    color: #444;
    border-bottom: 1px solid #ccc;
    width: 100%;
    padding: 6px 0 3px 0;
}

/* Obrazki w .servBlocks */
.servBlocks img {
    width: 286px;
    height: 382px;
    object-fit: cover;
    border-radius: 3px;
    margin-bottom: 10px;
    display: block;
}

/* Paragraph styles in details */
.servBlocks details p {
    margin: 0 15px 10px 25px; /* 25px od lewej, 15px od prawej */
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    text-align: left;
    color: #555;
    top: -10px;
    left: -10px;
    position: relative;
}

/* Summary styles */
.servBlocks details summary {
    list-style: none;
    position: relative;
    padding-left: 15px;
    cursor: pointer;
    font-family: 'Open Sans', sans-serif;
    font-weight: bold;
    font-size: 1rem;
    margin: 5px 15px 10px 0;
    display: flex;
    align-items: center;
    color: #000;
}

/* Remove default browser arrow */
.servBlocks details summary::-webkit-details-marker,
.servBlocks details summary::marker {
    display: none;
}

/* Custom arrow for summary */
.servBlocks details summary::before {
    content: "\f054";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    top: 6px;
    left: 0;
    font-size: 0.9rem;
    display: inline-block;
    margin-right: 5px;
    vertical-align: middle;
    transform: rotate(0deg);
    transition: transform 0.3s ease;
}

.servBlocks details[open] summary::before {
    transform: rotate(90deg);
}

/* Services row layout */
.services-row {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    max-width: 1600px;
    margin: 0 auto;
    margin-bottom: 30px;
}

/* Free quote button i jego otoczenie */
.text-center.mt-4 {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    margin-bottom: 70px;
}

.custom-call-us-button {
    padding: 20px 40px;
    font-size: 1.4rem;
    border-radius: 52.92px;
    font-weight: bold;
    background-color: #edb41c;
    color: #000;
    text-decoration: none;
    transition: all 0.3s ease;
}

.custom-call-us-button:hover {
    background-color: #e0a800;
    color: #fff;
    box-shadow: 0 0 24px rgba(255, 193, 7, 0.8);
    transform: scale(1.05);
}

/* ----------------------------------------------------
   Responsive styles
   ---------------------------------------------------- */

/* Tablets and smaller desktops (max-width: 1024px) */
@media (max-width: 1024px) {
    .services-row {
        flex-wrap: wrap;
        gap: 15px;
        padding: 0 10px;
    }

    .servBlocks {
        max-width: 45%;
    }

    .servBlocks h3 {
        font-size: 1.2rem;
    }

    .servBlocks details p {
        margin: 10px 15px 10px 25px;
    }
}

/* Small tablets and larger phones (max-width: 768px) */
@media (max-width: 768px) {
    .services-row {
        flex-direction: column;
        gap: 10px;
        padding: 0 15px;
    }
    .servBlocks img {
        width: 382px;
        height: 509px;
    }
    .servBlocks {
        max-width: 100%;
    }

    .servBlocks h3 {
        font-size: 1.4rem;
    }

    .servBlocks details p {
        margin: 10px 15px 10px 25px;
    }

    /* Zmiana rozmiaru przycisku na telefonach */
    .custom-call-us-button {
        padding: 15px 30px;
        font-size: 1.2rem;
    }
}

.testimonial-section .col-md-4 {
    display: flex;
    justify-content: center; /* Centers the testimonial inside its column */
}

/* ✅ Testimonial Card Styles */
.testimonial-card {
    background: #227244; /* Green background */
    padding: 20px;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

/* ✅ Hover Effect */
.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

/* ✅ Testimonial Name */
.testimonial-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

/* ✅ Testimonial Text */
.testimonial-text {
    font-size: 1rem;
    font-weight: 400;
    color: #fff;
    line-height: 1.6;
    font-style: italic;
}

/* ✅ Star Ratings */
.stars {
    font-size: 1.5rem;
    color: #FFD700; /* Gold stars */
    margin-top: 10px;
    letter-spacing: 3px;
}

/* ✅ Responsive */
@media (max-width: 768px) {
    .testimonial-section .row {
        flex-direction: column;
        align-items: center;
    }
}


/* google rating */
.taggbox {
    margin: 50px auto; /* 50px z góry i z dołu, auto po bokach */
    width: 70%;
    height: 100%;
}

@media (max-width: 1024px) {
    .taggbox {
        margin: 50px auto; /* 50px z góry i z dołu, auto po bokach */
        width: 80%;
        height: 80%;
    }
}

@media (max-width: 768px) {
    .taggbox {
        margin: 50px auto; /* 50px z góry i z dołu, auto po bokach */
        width: 90%;
        height: 100%;
    }
}

.why-lockfast-section h3 {
    text-align: left;
}
.why-img {width: 380px; height: 466px; margin: 0 auto; }
/* Karuzela */

.carousel-heading {
    text-align: center;
    color: #000;
    margin: 0 0 40px;
}

.carousel-container {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    overflow: hidden;
    padding: 30px 0;
}

.carousel-content-wrapper {
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 12px;
    scroll-behavior: smooth;
}

.carousel-content {
    display: flex;
    transition: transform 0.5s ease-in-out;
    cursor: grab;
}

.carousel-slide {
    flex: 0 0 100%;
    box-sizing: border-box;
    padding: 30px 40px 40px 40px;
    background: linear-gradient(135deg, #319337, #344744);
    color: #fff;
    border-radius: 12px;
    position: relative;
}

/* Wersja desktopowa: top: 32px dla ikony, margin-bottom: 12px */
.carousel-icon {
    width: 60px;
    height: 60px;
    display: flex; /* Ensures alignment inside flex containers */
    justify-content: center; /* Centers horizontally */
    position: absolute; /* Allows precise positioning */
    left: 50%; /* Moves it to the center horizontally */
    transform: translateX(-50%); /* Ensures perfect horizontal centering */
    filter: invert(1); /* White icon */
}

.carousel-slide h3 {
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
    margin-top: 80px; /* Reduced space between icon and title */
}

.carousel-slide p {
    font-size: 1rem;
    line-height: 1.5em;
    margin: 8px 0;
    text-align: left;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    margin-top: 30px; /* Increase margin to move dots lower */
}

.carousel-dots ul {
    display: flex;
    gap: 10px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.carousel-dots ul li {
    width: 12px;
    height: 12px;
    background-color: #333;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.carousel-dots ul li.active {
    background-color: #319337;
}

/* Przyciski nawigacyjne */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.carousel-nav button {
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    transition: background-color 0.3s ease;
}

.carousel-nav button:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.carousel-nav .prev {
    position: absolute;
    left: 10px;
}

.carousel-nav .next {
    position: absolute;
    right: 10px;
}

/* TABLETY (max-width: 1024px) */
@media (max-width: 1024px) {
    .why-img {width: 370px; height: 494px}
    .carousel-heading {
        font-size: 1.8rem; /* Zwiększony rozmiar czcionki */
        margin: 60px 0 16px; /* Większy padding u góry */
    }

    .carousel-slide {
        padding: 16px;
    }

    /* Było: top: 15px -> 27px (+12),
       Teraz dodatkowo margin-bottom +10px => margin: 0 auto 20px; */
    .carousel-icon {
        width: 48px;
        height: 48px;
        top: 27px; /* Zwiększony odstęp nad ikoną */
        margin: 0 auto 20px; /* Zwiększony dolny margines do 20px */
    }

    .carousel-container {
        position: relative;
        max-width: 75%; /* Adjusted for smaller screens */
        margin: 0 auto;
        overflow: hidden;
        margin-bottom: 20px; /* Increased bottom margin for tablet */
    }

    .carousel-slide h3 {
        font-size: 1.3rem; /* Zwiększenie rozmiaru czcionki */
        margin-top: 80px; /* Reduced space between icon and title */
    }

    .carousel-slide p {
        font-size: 1.1rem; /* Zwiększenie rozmiaru czcionki */
    }
}

/* TELEFONY (max-width: 768px) */
@media (max-width: 768px) {
    .carousel-heading {
        font-size: 1.6rem;
        margin: 40px 0 16px;
    }

    .carousel-slide {
        padding: 16px;
    }

    /* Było: top: 15px -> 27px (+12),
       Teraz dodatkowo margin-bottom +10px => margin: 0 auto 20px; */
    .carousel-icon {
        width: 48px;
        height: 48px;
        top: 27px; /* Zwiększony odstęp nad ikoną */
        margin: 0 auto 15px; /* Zwiększony dolny margines do 20px */
    }

    .carousel-container {
        position: relative;
        max-width: 90%; /* Adjusted for smaller screens */
        margin: 0 auto;
        overflow: hidden;
        margin-bottom: 20px; /* Increased bottom margin for mobile */
    }

    .carousel-slide h3 {
        font-size: 1.2rem;
        margin-top: 80px;
        margin-bottom: 10px;
    }

    .carousel-slide p {
        font-size: 1rem;
    }
}

/* locksmith near you */

/* Image Styles */
.locksmith-info-section .image-placeholder img {
    width: 70%;
    display: block;
    margin: 0 auto;
    height: auto;
}

/* Green Help Section */
.green-help-section {
    background-color: #227244;
    color: white;
    text-align: center;
}

.green-help-section h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 40px;
    line-height: 1.4;
}

/* Button Group */
.button-group {
    display: flex;
    gap: 40px; /* Zwiększenie odstępu między przyciskami */
    margin: 34px 0 0 0;
    justify-content: center;
}

/* FAQs */
.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-body {
    font-family: 'Open Sans', sans-serif;
}

.faq-item {
    margin-bottom: 1rem;
}

/* Active state override */
.faq-section .accordion-button.faq-button:not(.collapsed) {
    background-color: #227244 !important;
    color: white !important;
}

.faq-button {
    background-color: #227244;
    font-size: 1.4rem;
    color: white;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    padding: 1rem;
}

/* White chevron icon */
.faq-section .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.faq-body {
    background-color: #227244;
    color: white;
    border-radius: 4px;
    padding: 1rem;
}

.faq-extra {
    font-weight: bold;
}

/* Styl podstawowy dla sekcji kontaktowej */
.contact-info-section .lead-paragraph {
    font-size: 2rem; /* Dla PC */
    font-weight: bold;
}

.contact-info-section h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #000;
    text-align: left;
}

.accordion-button:focus {
    box-shadow: none !important;
    outline: none;
}

.contact-info-section p,
.contact-info-section ul li,
.contact-info-section address {
    font-size: 1rem;
    line-height: 1.5;
}

.contact-info-section img {
    max-width: 100%;
    height: auto;
}

.contact-info-section h3 {
    font-size: 1rem;
}

.contact-info-section p,
.contact-info-section ul li,
.contact-info-section address {
    /* font-size: 0.95rem;  Nieco mniejszy tekst */
}

.contact-info-section img {
    width: 312px;
    height: 416px;
}

.contact-info-section .row {
    gap: 1.5rem; /* Zmniejszony odstęp między wierszami na tabletach */
}

/* Map Section */
#map {
    margin: 50px 0;
}

#map h2 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    text-align: center;
}

#we-work-here h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
}

#we-work-here iframe {
    width: 100%;
    height: calc(35vh + 100px); /* Dynamiczna wysokość mapy */
}

/* pre footer 2 */
/* Estimate Section */
.estimate-section {
    text-align: center;
    color: #FFF;
}

.estimate-section h2 {
    font-weight: bold;
    font-size: 2.5rem;
    white-space: nowrap;
    margin-bottom: 0;
}

.estimate-text {
    padding: 5px 15px 30px 30px;
    border-radius: 8px;
    max-width: 54%;
    margin: 0 auto;
    text-align: left;
    font-size: 1.26rem;
}

.estimate-text p {
    margin-bottom: 0;
    line-height: 1.35;
}

.estimate-text p + p {
    margin-top: 27px;
}

/* New Button Group Class */
.new-button-group {
    display: flex;
    justify-content: center;
    gap: 160px;
    margin-top: 34px;
    margin-bottom: 40px;
}

.estimate-section .btn-warning {
    background-color: #edb41c;
    border-color: #edb41c;
    color: #343a40;
    padding: 16px 48px;
    border-radius: 34px;
    font-weight: bold;
    text-align: center;
    font-size: 1.45rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.estimate-section .btn-warning:hover {
    background-color: #d49d1b;
    border-color: #c99318;
    color: #fff;
    box-shadow: 0 0 9px rgba(237, 180, 28, 0.8);
    transform: scale(1.05);
}


/* footer */
/* General Footer Styling */
#footer-section {
    background-color: #212529;
    color: #f8f9fa;
    padding: 2rem 0;
}

#footer-section a {
    color: #f8f9fa;
    text-decoration: none;
}

#footer-section a:hover {
    text-decoration: underline;
}

/* Footer Sections Styling */
#footer-section h3 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

#footer-section ul {
    padding-left: 0;
    list-style: none;
}

#footer-section ul li {
    margin-bottom: 0.5rem;
}

/* Social Media Styling */
#footer-section .social-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

#footer-section .social-icons a {
    font-size: 2rem;
}

#footer-section .social-icons a:hover {
    color: #007bff;
}

/* Alignment Fix */
#footer-section .row.align-items-start > div {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Adjust vertical spacing */
#footer-section h3 {
    margin-top: 2rem; /* Adjusts the height below the logo */
}

#footer-section .footer-bottom {
    font-size: 0.9rem;
}

/* privacy*/
/* Stylizacja dla sekcji Privacy Notice */
body.privacy-notice-body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    background-color: #f9f9f9;
    padding: 20px;
    color: #333;
}

/* Kontener */
.privacy-notice-container {
    margin: 0 auto;
    max-width: 900px;
    background-color: #fff;
    padding: 40px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

/* Nagłówki */
.privacy-notice-h1 {
    /*font-family: 'Barlow Condensed', sans-serif;*/
    font-size: 36px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
}

.privacy-notice-h2 {
    /*font-family: 'Barlow', sans-serif;*/
    font-size: 2.5rem;
    color: #34495e;
    margin: 30px 0 15px;
}

.privacy-notice-h3 {
    font-size: 22px;
    color: #2c3e50;
    margin: 20px 0 10px;
}

/* Paragrafy */
.privacy-notice-p {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
}

/* Stylizacja linków */
.privacy-notice-a {
    color: #0066cc;
    text-decoration: none;
}

.privacy-notice-a:hover {
    text-decoration: underline;
}

/* Listy */
.privacy-notice-ul {
    margin-left: 20px;
    margin-bottom: 20px;
    list-style-type: disc;
}

.privacy-notice-ul li {
    margin-bottom: 10px;
    font-size: 16px;
}

/* Stylizacja adresu */
.privacy-notice-address {
    font-style: normal;
    line-height: 1.5;
    color: #555;
    margin-bottom: 20px;
}

/* terms */
/* Ogólne ustawienia dla sekcji Terms and Conditions */
.terms-body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    background-color: #f9f9f9;
    color: #333;
    margin: 0;
    padding: 20px;
}

/* Kontener główny */
.terms-container {
    max-width: 900px;
    margin: 0 auto;
    background-color: #fff;
    padding: 40px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

/* Stylizacja nagłówków */
.terms-h1 {
    /*font-family: 'Barlow Condensed', sans-serif;*/
    font-size: 36px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    text-align: center;
}

.terms-h2 {
    /*font-family: 'Barlow', sans-serif;*/
    font-size: 2.5rem;
    color: #34495e;
    margin: 30px 0 15px;
}

.terms-h3 {
    /*font-family: 'Barlow', sans-serif;*/
    font-size: 24px;
    color: #34495e;
    margin: 20px 0 10px;
}

/* Stylizacja paragrafów */
.terms-p {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
}

/* Stylizacja linków */
.terms-a {
    color: #0066cc;
    text-decoration: none;
}

.terms-a:hover {
    text-decoration: underline;
}

/* Stylizacja list */
.terms-ul {
    margin: 0 10px 20px 20px;
    list-style-type: disc;
}

.terms-ul li {
    margin-bottom: 10px;
    font-size: 16px;
}

/* Stylizacja linków w tabeli treści */
.terms-ul a {
    color: #2980b9;
}

.terms-ul a:hover {
    text-decoration: underline;
}

/* Stylizacja tabel */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

table, th, td {
    border: 1px solid #ddd;
}

th, td {
    padding: 12px;
    text-align: left;
}

th {
    background-color: #f4f4f4;
    font-weight: bold;
}

/* cookies */
/* Stylizacja dla sekcji Cookies */
body.cookies-body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    background-color: #f9f9f9;
    padding: 20px;
    color: #333;
}

/* Kontener */
.cookies-body section {
    max-width: 900px;
    margin: 0 auto;
    background-color: #fff;
    padding: 40px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin-bottom: 20px;
}

/* Nagłówki */
.cookies-body h1, .cookies-body h2, .cookies-body h3 {
    /*font-family: 'Barlow Condensed', sans-serif;*/
    color: #2c3e50;
    margin-left: 10px;
    margin-right: 10px;
}

.cookies-body h1.section-cookie-header {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

.cookies-body h2 {
    font-size: 28px;
    /*font-family: 'Barlow', sans-serif;*/
    color: #34495e;
    margin-top: 30px;
    margin-bottom: 15px;
}

.cookies-body h3 {
    font-size: 24px;
    color: #34495e;
    margin-top: 30px;
    margin-bottom: 15px;
}

/* Paragrafy */
.cookies-body p {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
    margin-left: 10px;
    margin-right: 10px;
}

/* Stylizacja linków (odnośników) */
.cookies-body a {
    color: inherit; /* Same color as the surrounding text */
    text-decoration: none;
}

.cookies-body a:hover {
    text-decoration: underline;
}

/* Stylizacja szczegółów cookies */
.cookies-body .cookie-details {
    background-color: #f4f4f4;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    margin-left: 10px;
    margin-right: 10px;
}

/* Analytics Section */
.cookie-details-container {
    max-width: 900px;
    margin: 0 auto;
    background-color: #fff;
    padding: 40px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin-bottom: 20px;
}

/* error */
/* Stylizacja dla strony błędu 404 */
body.error-404-body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    background-color: #f9f9f9;
    padding: 20px;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    margin: 0;
}

/* Kontener */
.error-404-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: #fff;
    padding: 40px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    text-align: center;
}

/* Nagłówek */
.error-404-title {
    /*font-family: 'Barlow Condensed', sans-serif;*/
    font-size: 36px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
}

/* Wiadomość */
.error-404-message {
    font-size: 18px;
    color: #555;
    margin-bottom: 30px;
}

/* Ikona 404 */
.error-404-icon {
    font-size: 80px;
    color: #00aaff;
    margin-bottom: 20px;
}

/* Przycisk powrotu */
.go-back-button {
    display: inline-block;
    padding: 12px 24px;
    background-color: transparent;
    color: #00aaff;
    border: 2px solid #00aaff;
    border-radius: 30px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
}

.go-back-button:hover {
    background-color: #00aaff;
    color: #fff;
}

/* footer */
/* General Footer Styling */
#footer-section {
    background-color: #212529;
    color: #f8f9fa;
    padding: 2rem;
}

#footer-section a {
    color: #f8f9fa;
    text-decoration: none;
}

#footer-section a:hover {
    text-decoration: underline;
}

/* Footer Sections Styling */
#footer-section h3 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

#footer-section ul {
    padding-left: 0;
    list-style: none;
}

#footer-section ul li {
    margin-bottom: 0.5rem;
}

/* Social Media Styling */
#footer-section .social-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

#footer-section .social-icons a {
    font-size: 2rem;
}

#footer-section .social-icons a:hover {
    color: #007bff;
}

/* Alignment Fix */
#footer-section .row.align-items-start > div {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Adjust vertical spacing */
#footer-section h3 {
    margin-top: 2rem; /* Adjusts the height below the logo */
}

#footer-section .footer-bottom {
    font-size: 0.9rem;
}

/* privacy*/
/* Stylizacja dla sekcji Privacy Notice */
body.privacy-notice-body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    background-color: #f9f9f9;
    padding: 20px;
    color: #333;
}

/* Kontener */
.privacy-notice-container {
    margin: 0 auto;
    max-width: 900px;
    background-color: #fff;
    padding: 40px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

/* Nagłówki */
.privacy-notice-h1 {
    /*font-family: 'Barlow Condensed', sans-serif;*/
    font-size: 36px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
}

.privacy-notice-h2 {
    /*font-family: 'Barlow', sans-serif;*/
    font-size: 2.5rem;
    color: #34495e;
    margin: 30px 0 15px;
}

.privacy-notice-h3 {
    font-size: 22px;
    color: #2c3e50;
    margin: 20px 0 10px;
}

/* Paragrafy */
.privacy-notice-p {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
}

/* Stylizacja linków */
.privacy-notice-a {
    color: #0066cc;
    text-decoration: none;
}

.privacy-notice-a:hover {
    text-decoration: underline;
}

/* Listy */
.privacy-notice-ul {
    margin-left: 20px;
    margin-bottom: 20px;
    list-style-type: disc;
}

.privacy-notice-ul li {
    margin-bottom: 10px;
    font-size: 16px;
}

/* Stylizacja adresu */
.privacy-notice-address {
    font-style: normal;
    line-height: 1.5;
    color: #555;
    margin-bottom: 20px;
}

/* ty page */
/* Stylizacja dla unikalnej sekcji podziękowania (Thank You) */
body.thank-you-body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    background-color: #f9f9f9;
    padding: 20px;
    color: #333;
}

/* Kontener */
.thank-you-container {
    max-width: 900px;
    margin: 0 auto;
    background-color: #fff;
    padding: 40px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    text-align: center;
}

/* Nagłówek */
.thank-you-title {
    /*font-family: 'Barlow Condensed', sans-serif;*/
    font-size: 36px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
}

/* Wiadomość */
.thank-you-message {
    font-size: 18px;
    color: #555;
    margin-bottom: 30px;
}

/* Sekcja potwierdzenia zamówienia */
.thank-you-receipt {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px; /* Ustalony równy padding z góry i z dołu */
    background-color: #f4f4f4;
    border-radius: 5px;
    margin-bottom: 20px;
}

/* Ikona */
.thank-you-receipt i.fa-envelope {
    font-size: 42px;
    color: #34495e;
    margin-right: 15px;
}

/* Tekst potwierdzenia */
.thank-you-receipt-text {
    font-size: 16px;
    color: #555;
    line-height: 1.4;
    padding: 0;
    margin-top: 10px; /* Dodany dodatkowy margines nad tekstem */
    max-width: 600px;
}

/* General styles for cookie consent */
.cookie-icon {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: #00aaff;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    color: #fff;
    font-size: 24px;
    z-index: 1001;
}

.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ffffff;
    padding: 10px 20px;
    border-radius: 25px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    font-size: 14px;
    color: #2c3e50;
    z-index: 1001;
    width: auto;
    max-width: 90%;
    box-sizing: border-box;
    overflow-wrap: break-word;
}

.cookie-popup button {
    padding: 8px 16px;
    background-color: #00aaff;
    border: none;
    color: white;
    font-size: 14px;
    border-radius: 12px;
    cursor: pointer;
}

/* Styles for cookie consent container */
.cookie-consent-container {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #f9f9f9;
    padding: 20px;
    border: 2px solid #00aaff;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 1000;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    box-sizing: border-box;
}

.cookie-consent-header {
    font-size: 1.4rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 15px;
}

.cookie-consent-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    margin-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.cookie-consent-toggle span {
    flex-grow: 1;
    font-size: 1rem;
    margin-right: 20px;
}

.arrow-icon {
    font-size: 1.2rem;
    margin-left: -15px;
    cursor: pointer;
    transition: transform 0.3s;
}

/* Updated toggle switch styles */
.cookie-toggle-switch {
    width: 48px;
    height: 24px;
    background-color: #ccc;
    border-radius: 24px;
    position: relative;
    cursor: pointer;
    transition: background-color 0.3s;
}

.cookie-toggle-switch:before {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    background-color: #fff;
    border-radius: 50%;
    transition: all 0.3s;
}

.cookie-toggle-switch.active {
    background-color: #0041ff;
}

.cookie-toggle-switch.active:before {
    transform: translateX(24px);
}

.always-active {
    font-size: 1rem;
    color: #0041ff;
    font-weight: bold;
    margin-left: auto;
}

.cookie-details {
    display: none;
    font-size: 0.9rem;
    padding: 8px;
    margin-top: 5px;
    background-color: #f0f8ff;
    border-radius: 5px;
}

.cookie-details p {
    margin: 4px 0;
}

.cookie-consent-buttons button {
    padding: 10px 20px;
    border: 2px solid #0041ff;
    background-color: transparent;
    color: #0041ff;
    border-radius: 18px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.cookie-consent-buttons button:hover {
    background-color: #0041ff;
    color: #fff;
}

.cookie-consent-buttons .accept-all {
    background-color: #0041ff;
    color: #fff;
}

/* Responsiveness */
/* Tablets */
@media (max-width: 1024px) {
    #map {
        margin: 30px 0;
    }

    #map h2 {
        font-size: 2rem;
        margin-bottom: 10px; /* Ustawienie mniejszego marginesu */
    }

    #we-work-here h2 {
        font-size: 2rem;
        margin-bottom: 20px;
    }

    #we-work-here iframe {
        height: calc(45vh + 80px);
    }

    .contact-info-section .lead-paragraph {
        font-size: 1rem; /* Zmniejszony rozmiar dla tabletów */
    }

    .estimate-section h2 {
        margin-bottom: 20px;
        white-space: normal;
    }

    .estimate-text {
        max-width: 90%;
        padding: 10px 20px 35px;
        font-size: 1.2rem;
    }

    .estimate-text p + p {
        margin-top: 20px;
    }

    .new-button-group {
        flex-direction: row; /* Przyciski obok siebie w poziomie */
        align-items: center;
        gap: 20px; /* Zmniejszenie odstępu między przyciskami */
        margin-top: 20px;
        margin-bottom: 60px;
    }

    .estimate-section .btn-warning {
        font-size: 1.4rem;
        padding: 14px 36px;
        width: 80%;
        max-width: 280px;
    }
}

/* Tablet Styles (769px -> 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    /* Re-styling the main content sections */
    .locksmith-info-section h2 {
        font-size: 2rem; /* Slightly smaller font size */
        margin: 20px auto;
        text-align: center;
    }

    .locksmith-info-section p {
        font-size: 1rem; /* Slightly smaller font size */
        width: 80%;
        margin: 0 auto 9px;
        text-align: left;
    }

    .locksmith-info-section .image-placeholder img {
        width: 70%; /* Adjust image size */
        margin: 15px auto;
    }

    .green-help-section h2 {
        font-size: 1.8rem;
        width: 80%;
        margin: 0 auto 40px;
        line-height: 1.4;
    }

    .button-group {
        gap: 30px; /* Zmniejszenie odstępu */
        margin: 30px 0 20px;
        flex-direction: row; /* Przyciski obok siebie */
        justify-content: center; /* Wyśrodkowanie przycisków */
    }

    .button-group .btn-warning {
        padding: 16px 0;
        font-size: 1.4rem;
        width: 250px; /* Ustawiłem szerokość przycisków na tabletach */
    }
}

/* Mobile Phones */
@media (max-width: 768px) {
    /* Re-styling the main content sections */
    .pre-footer-section,
    #faqs,
    .green-help-section,
    .why-lockfast-section,
    .locksmith-info-section,
    #why-choose,
    #quote-section,
    #contact-section,
    #free-estimate {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
    h2 {
        font-size: 2.0rem;
    }
    h3 {
        font-size: 1.3rem;
    }
    #services,
    #contact-section {
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }
    #contact-section {
        padding-left: 15px;
        padding-right: 15px;
    }
    .testimonial-section {
        padding-top: 1.5rem;
        padding-bottom: 2.5rem;
    }
    .locksmith-info-section h2 {
        margin: 36px auto 9px;
        text-align: center;
    }

    .locksmith-info-section p {
        font-size: 1rem;
        max-width: 95%;
        width: auto;
        margin: 0 auto 9px;
        text-align: left;
    }

    .locksmith-info-section .image-placeholder img {
        /*width: 100%; */
        width: 394px;
        height: 195px;
        margin: 15px auto;
    }

    .green-help-section h2 {
        font-size: 1.44rem;
        margin-bottom: 30px;
        padding: 0 20px;
        line-height: 1.6;
    }

    .button-group {
        flex-direction: column;
        gap: 20px;
        margin: 30px 0 30px; /* Zmniejszenie marginesu o 10px na  telefonach */
        justify-content: center; /* Wyśrodkowanie przycisków na telefonach */
        align-items: center; /* Wyśrodkowanie przycisków */
    }

    .button-group .btn-warning {
        width: 100%;
        max-width: 250px;
        padding: 10.8px 27px;
        font-size: 1.08rem;
    }
    .green-help-section h3 {
        padding: 0 10%;
    }

    /*Responsive - Stack Testimonials on Mobile */
    .col-lg-6 {
        flex: 0 0 100%; /* Makes each review take full width on mobile */
    }

    .contact-info-section .lead-paragraph {
        font-size: 1rem; /* Jeszcze mniejszy rozmiar dla telefonów */
        margin-bottom: 1rem; /* Zmniejszony odstęp poniżej */
    }

    .contact-info-section h3 {
        font-size: 1rem;
    }
    .contact-info-section .details {
        padding-left: 25px;
    }

    .contact-info-section p,
    .contact-info-section ul li,
    .contact-info-section address {
        /* font-size: 0.9rem; Mniejszy tekst dla telefonów
        line-height: 1.4;*/
    }

    .contact-info-section .row {
        /*  flex-direction: column;  Układ w kolumnie na telefonach */
    }

    .contact-info-section img {
        margin-bottom: 1rem; /* Odstęp między obrazem a tekstem */
        width: 370px;
        height: 495px;
    }

    #map {
        margin: 20px 0;
    }

    #map h2 {
        font-size: 1.4rem;
        margin-bottom: 10px;
    }

    #we-work-here h2 {
        font-size: 1.4rem;
        margin-bottom: 15px;
    }

    #we-work-here iframe {
        height: calc(45vh + 60px);
    }

    .estimate-section h2 {
        margin-bottom: 15px;
        white-space: normal;
        padding: 15px 0; /* Dodano większy padding */
    }

    .estimate-text {
        max-width: 100%;
        padding: 9px 18px 22.5px; /* Zmniejszony padding o 10% */
        font-size: 1rem; /* Zmniejszono o 10% */
    }

    .estimate-text p + p {
        margin-top: 22.5px; /* Zmniejszono o 10% */
    }

    .new-button-group {
        flex-direction: column; /* Przyciski pod sobą */
        gap: 20px;
        margin: 30px 0 30px; /* Zmniejszenie marginesu o 10px na telefonach */
        justify-content: center; /* Wyśrodkowanie przycisków na telefonach */
        align-items: center; /* Wyśrodkowanie przycisków */
    }

    .estimate-section .btn-warning {
        width: 100%;
        max-width: 250px;
        padding: 10.8px 27px;
        font-size: 1.08rem;
    }

    .privacy-notice-container {
        padding: 20px;
    }

    .privacy-notice-h1 {
        font-size: 28px;
    }

    .privacy-notice-h2 {
        font-size: 1.6rem;
    }

    .privacy-notice-h3 {
        font-size: 20px;
    }

    .privacy-notice-p,
    .privacy-notice-ul li {
        font-size: 14px;
    }

    .terms-body {
        padding: 10px;
    }

    .terms-container {
        padding: 20px;
    }

    .terms-h1 {
        font-size: 28px;
    }

    .terms-h2 {
        font-size: 1.6rem;
    }

    .terms-h3 {
        font-size: 18px;
    }

    .terms-p, .terms-ul li {
        font-size: 14px;
    }

    .cookies-body section {
        padding: 20px;
    }

    .cookies-body h1.section-cookie-header {
        font-size: 28px;
    }

    .cookies-body h2 {
        font-size: 1.6rem;
    }

    .cookies-body h3 {
        font-size: 18px;
    }

    .cookies-body p {
        font-size: 14px;
    }

    .cookies-body .cookie-details {
        margin-left: 10px;
        margin-right: 10px;
    }

    .error-404-container {
        padding: 20px;
    }

    .error-404-title {
        font-size: 28px;
    }

    .error-404-message {
        font-size: 16px;
    }

    .error-404-icon {
        font-size: 60px;
    }

    .go-back-button {
        font-size: 14px;
    }

    .thank-you-container {
        padding: 20px;
    }

    .thank-you-title {
        font-size: 28px;
    }

    .thank-you-message {
        font-size: 16px;
    }

    .thank-you-receipt i.fa-envelope {
        font-size: 36px;
    }

    .thank-you-receipt-text {
        font-size: 14px;
    }
}

/* Responsive adjustments for mobile devices */
@media (max-width: 600px) {
    .cookie-popup {
        max-width: 90%;
        font-size: 13px;
        padding: 10px 15px;
    }

    .cookie-popup button {
        font-size: 12px;
        padding: 6px 12px;
    }

    .cookie-consent-container {
        width: 95%;
        padding: 15px;
        font-size: 0.9rem;
    }

    .cookie-toggle-switch {
        width: 40px;
        height: 20px;
    }

    .cookie-toggle-switch:before {
        width: 16px;
        height: 16px;
    }

    .cookie-toggle-switch.active:before {
        transform: translateX(20px);
    }

    .cookie-consent-buttons button {
        padding: 12px 20px;
        font-size: 1.1rem;
        margin-top: 10px;
    }
   /*.testimonial-section {
        padding: 0 0 0 0 !important;
    }*/
}
