/**
* Template Name: Eja
* Updated: Mar 19 2024 with Bootstrap v5.2.3
* Author: Mateusz Rycombel
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
:root {
    --primary-color: #2c5f7c;
    --secondary-color: #4a90a4;
    --accent-color: #5fb3d1;
    --light-bg: #f8f9fa;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

body {
    font-family: "Open Sans", sans-serif;
    color: #444444;
}

a {
    color: #bf9b30;
    text-decoration: none;
}

a:hover {
    color: #ffbf00;
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Jost", sans-serif;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    overflow: hidden;
    background: #112351;
}

#preloader:before {
    content: "";
    position: fixed;
    top: calc(50% - 30px);
    left: calc(50% - 30px);
    border: 6px solid #37517e;
    border-top-color: #fff;
    border-bottom-color: #fff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: animate-preloader 1s linear infinite;
}

@keyframes animate-preloader {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: 15px;
    z-index: 996;
    background: #bf9b30;
    width: 40px;
    height: 40px;
    border-radius: 50px;
    transition: all 0.4s;
}

.back-to-top i {
    font-size: 24px;
    color: #fff;
    line-height: 0;
}

.back-to-top:hover {
    background: #112351;
    color: #fff;
}

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

.btn-contact-form {
    color: #112351;
}
/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
    transition: all 0.5s;
    z-index: 997;
    padding: 15px 0;
    background-color: rgba(17, 35, 81, 0.95);
}

@media (max-width: 991px) {
    #header {
        max-height: 50px;
    }
}

#header.header-scrolled,
#header.header-inner-pages {
    background: rgba(17, 35, 81, 0.85);
}

#header .logo {
    font-size: 30px;
    margin: 0;
    padding: 0;
    line-height: 1;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
}

#header .logo a {
    color: #fff;
}

#header .logo img {
    max-height: 100px;
    padding: 0px;
}

@media (max-width: 568px) {
    .logo {
        max-width: 50%;
    }
}

@media (max-width: 991px) {
    #header .logo img {
        max-width: 30px;
    }
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/**
* Desktop Navigation
*/
.navbar {
    padding: 0;
}

.navbar ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
}

.navbar li {
    position: relative;
}

.navbar a,
.navbar a:focus {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0 10px 30px;
    font-size: 16px;
    font-weight: 800;
    color: #fdfdff;
    white-space: nowrap;
    transition: 0.3s;
    text-transform: uppercase;
}

.navbar a i,
.navbar a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover > a {
    color: #fff;
}

@media (max-width: 1366px) {
    .navbar .dropdown .dropdown ul {
        left: -90%;
    }

    .navbar .dropdown .dropdown:hover > ul {
        left: -100%;
    }
}
/**
* Mobile Navigation
*/
.mobile-nav-toggle {
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    display: none;
    line-height: 0;
    transition: 0.5s;
}

.mobile-nav-toggle.bi-x {
    color: #fff;
}

@media (max-width: 991px) {
    .mobile-nav-toggle {
        display: block;
        color: #bf9b30;
    }

    .navbar ul {
        display: none;
    }
}

.navbar-mobile {
    position: fixed;
    overflow: hidden;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background: rgba(40, 58, 90, 0.9);
    transition: 0.3s;
    z-index: 999;
}

.navbar-mobile .mobile-nav-toggle {
    position: absolute;
    top: 15px;
    right: 15px;
}

.navbar-mobile ul {
    display: block;
    position: absolute;
    top: 55px;
    right: 15px;
    bottom: 15px;
    left: 15px;
    padding: 10px 0;
    border-radius: 10px;
    background-color: #fff;
    overflow-y: auto;
    transition: 0.3s;
}

.navbar-mobile a,
.navbar-mobile a:focus {
    padding: 10px 20px;
    font-size: 15px;
    color: #bf9b30;
}

.navbar-mobile a:hover,
.navbar-mobile .active,
.navbar-mobile li:hover > a {
    color: #112351;
}

.navbar-mobile .getstarted,
.navbar-mobile .getstarted:focus {
    margin: 15px;
    color: #37517e;
}

.navbar-mobile .dropdown ul {
    position: static;
    display: none;
    margin: 10px 20px;
    padding: 10px 0;
    z-index: 99;
    opacity: 1;
    visibility: visible;
    background: #fff;
    box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
}

.navbar-mobile .dropdown ul li {
    min-width: 200px;
}

.navbar-mobile .dropdown ul a {
    padding: 10px 20px;
}

.navbar-mobile .dropdown ul a i {
    font-size: 12px;
}

.navbar-mobile .dropdown ul a:hover,
.navbar-mobile .dropdown ul .active:hover,
.navbar-mobile .dropdown ul li:hover > a {
    color: #bf9b30;
}

.navbar-mobile .dropdown > .dropdown-active {
    display: block;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
/* .hero-img-mobile {
    margin-top: 40px;
}

.logo-image-mobile {
    left: 50%;
    top: 50%;
    position: absolute;
    margin-top: -50%;
    margin-left: -25%;
}

.hero {
    width: 100%;
    height: 100vh;
    background-color: #5e5e5e;
}

.hero img {
    width: 100%;
    height: 100%;
}

.hero-offer {
    width: 100%;
    height: 90vh;
    background-color: #fff;
    border-bottom: #112351 1px solid;
}

.offer-heading {
    padding-top: 115px;
}

.hero-offer img {
    width: 75%;
    height: 75vh;
}

@media (max-width: 575px) {
    .hero-offer img {
        width: 85%;
        height: 65vh;
    }
    .offer-heading {
        padding-top: 155px;
    }
}

@media (max-width: 991px) {
    .offer-heading {
        padding-top: 50px;
    }
}

.slider-container {
    width: 100%;
    background-color: black;
}

.hero .container {
    padding-top: 12px;
}

.hero h1 {
    margin: 0 0 10px 0;
    font-size: 48px;
    font-weight: 700;
    line-height: 56px;
    color: #fff;
}

.hero h2 {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 50px;
    font-size: 24px;
}

.hero .btn-get-started {
    font-family: "Jost", sans-serif;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 10px 28px 11px 28px;
    border-radius: 50px;
    transition: 0.5s;
    margin: 10px 0 0 0;
    color: #fff;
    background: #bf9b30;
}

.hero .btn-get-started:hover {
    background: #112351;
}

.hero .btn-watch-video {
    font-size: 16px;
    display: flex;
    align-items: center;
    transition: 0.5s;
    margin: 10px 0 0 25px;
    color: #fff;
    line-height: 1;
}

.hero .btn-watch-video i {
    line-height: 0;
    color: #fff;
    font-size: 32px;
    transition: 0.3s;
    margin-right: 8px;
}

.hero .btn-watch-video:hover i {
    color: #bf9b30;
}

.hero .animated {
    animation: up-down 2s ease-in-out infinite alternate-reverse both;
}

@media (max-width: 991px) {
    .hero {
        height: 100vh;
        text-align: center;
    }

    .hero .animated {
        animation: none;
    }

    .hero .hero-img {
        text-align: center;
    }

    .hero .hero-img img {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 28px;
        line-height: 36px;
    }

    .hero h2 {
        font-size: 18px;
        line-height: 24px;
        margin-bottom: 30px;
    }

    .hero .hero-img img {
        width: 70%;
    }
}

@media (max-width: 575px) {
    .hero .hero-img img {
        width: 80%;
    }

    .hero .btn-get-started {
        font-size: 16px;
        padding: 10px 24px 11px 24px;
    }
}

@keyframes up-down {
    0% {
        transform: translateY(10px);
    }

    100% {
        transform: translateY(-10px);
    }
} */
/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    color: white;
    padding: 15px;
    /* animation: fadeInUp 1s ease-out; */
    pointer-events: auto;

    background: rgba(255, 255, 255, 0.1); /* Biały z 10% przezroczystości */
    backdrop-filter: blur(2px); /* Efekt rozmazania tła */
    -webkit-backdrop-filter: blur(10px); /* Dla Safari */
    border-radius: 20px; /* Zaokrąglone rogi */
    padding: 20px 40px; /* Odstępy wewnętrzne */
    border: 3px solid rgba(191, 155, 48, 0.3); /* Subtelna ramka */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1); /* Delikatny cień */
    max-width: 900px; /* Opcjonalnie - maksymalna szerokość */
    margin: 0 auto; /* Wyśrodkowanie */

    transform: translateY(180px);
}

.hero-content-mobile {
    text-align: center;
    color: white;
    pointer-events: auto;

    background: rgba(255, 255, 255, 0.1); /* Biały z 10% przezroczystości */
    backdrop-filter: blur(2px); /* Efekt rozmazania tła */
    -webkit-backdrop-filter: blur(10px); /* Dla Safari */
    border-radius: 20px; /* Zaokrąglone rogi */
    padding: 5px 15px; /* Odstępy wewnętrzne */
    border: 3px solid rgba(191, 155, 48, 0.3); /* Subtelna ramka */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1); /* Delikatny cień */
    max-width: 900px; /* Opcjonalnie - maksymalna szerokość */
    margin: 0 auto; /* Wyśrodkowanie */

    transform: translateY(-160px);
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 1px 1px 4px rgba(255, 255, 255, 0.8);
    letter-spacing: 1px;
    color: #112351;
}

.hero-subtitle {
    font-size: 2.5rem;
    font-weight: 500;
    margin-bottom: 0;
    text-shadow: 1px 1px 4px rgba(255, 255, 255, 0.8);
    letter-spacing: 0.5px;
    color: #112351;
}

/* Hero Carousel Background */
.hero-carousel-bg {
    position: absolute;
    background-color: #f3f5fa;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-carousel-img {
    padding-top: 130px;
    width: 100%;
    height: 100vh;
    object-fit: none;
    object-position: center;
    transform: scale(1.1);
}

/* Hero Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay-color);
    z-index: 1;
}

/* Content Wrapper */
.hero-content-wrapper {
    position: relative;
    z-index: 2;
    pointer-events: none;
}

/* Carousel Controls */
.hero-section .carousel-control-prev,
.hero-section .carousel-control-next {
    z-index: 10;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.hero-section .carousel-control-prev:hover,
.hero-section .carousel-control-next:hover {
    opacity: 1;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    z-index: 2;
}

.scroll-indicator i {
    color: white;
    font-size: 2rem;
    opacity: 0.8;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-subtitle {
        font-size: 1.2rem;
    }
    .hero-section {
        min-height: 500px;
    }
    .hero-content {
        padding: 30px 40px;
        border-radius: 15px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }

    /* Mobile - static image fallback */
    .hero-carousel-bg {
        display: none;
    }

    .hero-section {
        background-image: url("../../assets/img/mobile/hero_mobile.jpeg");
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
    .hero-content {
        padding: 20px 30px;
        border-radius: 12px;
    }
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
    padding: 60px 0;
    overflow: hidden;
}

.offer-section {
    padding: 0px !important;
}

.section-bg {
    background-color: #f3f5fa;
}

.section-title {
    text-align: center;
    padding-bottom: 30px;
}

.section-title h2 {
    font-size: 32px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-bottom: 20px;
    position: relative;
    color: #37517e;
}

.section-title h2::before {
    content: "";
    position: absolute;
    display: block;
    width: 120px;
    height: 1px;
    background: #ddd;
    bottom: 1px;
    left: calc(50% - 60px);
}

.section-title h2::after {
    content: "";
    position: absolute;
    display: block;
    width: 40px;
    height: 3px;
    background: #bf9b30;
    bottom: 0;
    left: calc(50% - 20px);
}

.section-title p {
    margin-bottom: 0;
}

/*--------------------------------------------------------------
# Clients
--------------------------------------------------------------*/
.clients {
    padding: 12px 0;
    text-align: center;
}

.clients img {
    max-width: 45%;
    transition: all 0.4s ease-in-out;
    display: inline-block;
    padding: 15px 0;
    filter: grayscale(100);
}

.clients img:hover {
    filter: none;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .clients img {
        max-width: 40%;
    }
}

/*--------------------------------------------------------------
# About Us
--------------------------------------------------------------*/
.about .content h3 {
    font-weight: 600;
    font-size: 26px;
}

.about .content ul {
    list-style: none;
    padding: 0;
}

.about .content ul li {
    padding-left: 28px;
    position: relative;
}

.about .content ul li + li {
    margin-top: 10px;
}

.about .content ul i {
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 20px;
    color: #bf9b30;
    line-height: 1;
}

.about .content p:last-child {
    margin-bottom: 0;
}

.about .content .btn-learn-more {
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 12px 32px;
    border-radius: 4px;
    transition: 0.3s;
    line-height: 1;
    color: #a67c00;
    animation-delay: 0.8s;
    margin-top: 6px;
    border: 2px solid #bf9b30;
}

.about .content .btn-learn-more:hover {
    background: #112351;
    color: #fff;
    text-decoration: none;
}

.about h2 {
    color: #112351;
}

/*--------------------------------------------------------------
# Why Us
--------------------------------------------------------------*/
.why-us .content {
    padding: 60px 100px 0 100px;
}

.why-us .content h3 {
    font-weight: 400;
    font-size: 34px;
    color: #37517e;
}

.why-us .content h4 {
    font-size: 20px;
    font-weight: 700;
    margin-top: 5px;
}

.why-us .content p {
    font-size: 15px;
    color: #848484;
}

.why-us .img {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
}

.why-us .accordion-list {
    padding: 0 100px 60px 100px;
}

.why-us .accordion-list ul {
    padding: 0;
    list-style: none;
}

.why-us .accordion-list li + li {
    margin-top: 15px;
}

.why-us .accordion-list li {
    padding: 20px;
    background: #fff;
    border-radius: 4px;
}

.why-us .accordion-list a {
    display: block;
    position: relative;
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
    padding-right: 30px;
    outline: none;
    cursor: pointer;
}

.why-us .accordion-list span {
    color: #bf9b30;
    font-weight: 600;
    font-size: 18px;
    padding-right: 10px;
}

.why-us .accordion-list i {
    font-size: 24px;
    position: absolute;
    right: 0;
    top: 0;
}

.why-us .accordion-list p {
    margin-bottom: 0;
    padding: 10px 0 0 0;
}

.why-us .accordion-list .icon-show {
    display: none;
}

.why-us .accordion-list a.collapsed {
    color: #343a40;
}

.why-us .accordion-list a.collapsed:hover {
    color: #bf9b30;
}

.why-us .accordion-list a.collapsed .icon-show {
    display: inline-block;
}

.why-us .accordion-list a.collapsed .icon-close {
    display: none;
}

@media (max-width: 1024px) {
    .why-us .content,
    .why-us .accordion-list {
        padding-left: 0;
        padding-right: 0;
    }
}

@media (max-width: 992px) {
    .why-us .img {
        min-height: 400px;
    }

    .why-us .content {
        padding-top: 30px;
    }

    .why-us .accordion-list {
        padding-bottom: 30px;
    }
}

@media (max-width: 575px) {
    .why-us .img {
        min-height: 200px;
    }
}

/*--------------------------------------------------------------
# Skills
--------------------------------------------------------------*/
.skills .content h3 {
    font-weight: 700;
    font-size: 32px;
    color: #37517e;
    font-family: "Poppins", sans-serif;
}

.skills .content ul {
    list-style: none;
    padding: 0;
}

.skills .content ul li {
    padding-bottom: 10px;
}

.skills .content ul i {
    font-size: 20px;
    padding-right: 4px;
    color: #bf9b30;
}

.skills .content p:last-child {
    margin-bottom: 0;
}

.skills .progress {
    height: 60px;
    display: block;
    background: none;
    border-radius: 0;
}

.skills .progress .skill {
    padding: 0;
    margin: 0 0 6px 0;
    text-transform: uppercase;
    display: block;
    font-weight: 600;
    font-family: "Poppins", sans-serif;
    color: #37517e;
}

.skills .progress .skill .val {
    float: right;
    font-style: normal;
}

.skills .progress-bar-wrap {
    background: #e8edf5;
    height: 10px;
}

.skills .progress-bar {
    width: 1px;
    height: 10px;
    transition: 0.9s;
    background-color: #4668a2;
}

/*--------------------------------------------------------------
# Services
--------------------------------------------------------------*/
.services .icon-box {
    box-shadow: 0px 0 25px 0 rgba(0, 0, 0, 0.1);
    padding: 50px 30px;
    transition: all ease-in-out 0.4s;
    background: #fff;
}

.services .icon-box .icon {
    margin-bottom: 10px;
}

.services .icon-box .icon i {
    color: #bf9b30;
    font-size: 36px;
    transition: 0.3s;
}

.services .icon-box h4 {
    font-weight: 500;
    margin-bottom: 15px;
    font-size: 24px;
}

.services .icon-box h4 a {
    color: #37517e;
    transition: ease-in-out 0.3s;
}

.services .icon-box p {
    line-height: 24px;
    font-size: 14px;
    margin-bottom: 0;
}

.services .icon-box:hover {
    transform: translateY(-10px);
}

.services .icon-box:hover h4 a {
    color: #bf9b30;
}

.services h2 {
    color: #112351;
}

/*--------------------------------------------------------------
# Cta
--------------------------------------------------------------*/
.cta {
    background: linear-gradient(rgba(40, 58, 90, 0.9), #112351),
        url("../img/cta-bg.jpg") fixed center center;
    background-size: cover;
    padding: 120px 0;
}

.cta h3 {
    color: #fff;
    font-size: 28px;
    font-weight: 700;
}

.cta p {
    color: #fff;
}

.cta .cta-btn {
    font-family: "Jost", sans-serif;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 12px 40px;
    border-radius: 50px;
    transition: 0.5s;
    margin: 10px;
    border: 2px solid #fff;
    color: #fff;
}

.cta .cta-btn:hover {
    background: #bf9b30;
    border: 2px solid #bf9b30;
}

@media (max-width: 1024px) {
    .cta {
        background-attachment: scroll;
    }
}

@media (min-width: 769px) {
    .cta .cta-btn-container {
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }
}

/*--------------------------------------------------------------
# Portfolio
--------------------------------------------------------------*/
.portfolio #portfolio-flters {
    list-style: none;
    margin-bottom: 20px;
}

.portfolio #portfolio-flters li {
    cursor: pointer;
    display: inline-block;
    margin: 10px 5px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1;
    color: #444444;
    transition: all 0.3s;
    padding: 8px 20px;
    border-radius: 50px;
    font-family: "Poppins", sans-serif;
}

.portfolio #portfolio-flters li:hover,
.portfolio #portfolio-flters li.filter-active {
    background: #bf9b30;
    color: #fff;
}

.portfolio .portfolio-item {
    margin-bottom: 30px;
}

.portfolio .portfolio-item .portfolio-img {
    overflow: hidden;
}

.portfolio .portfolio-item .portfolio-img img {
    transition: all 0.6s;
}

.portfolio .portfolio-item .portfolio-info {
    opacity: 0;
    position: absolute;
    left: 15px;
    bottom: 0;
    z-index: 3;
    right: 15px;
    transition: all 0.3s;
    background: rgba(55, 81, 126, 0.8);
    padding: 10px 15px;
}

.portfolio .portfolio-item .portfolio-info h4 {
    font-size: 18px;
    color: #fff;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0px;
}

.portfolio .portfolio-item .portfolio-info p {
    color: #f9fcfe;
    font-size: 14px;
    margin-bottom: 0;
}

.portfolio .portfolio-item .portfolio-info .preview-link,
.portfolio .portfolio-item .portfolio-info .details-link {
    position: absolute;
    right: 40px;
    font-size: 24px;
    top: calc(50% - 18px);
    color: #fff;
    transition: 0.3s;
}

.portfolio .portfolio-item .portfolio-info .preview-link:hover,
.portfolio .portfolio-item .portfolio-info .details-link:hover {
    color: #bf9b30;
}

.portfolio .portfolio-item .portfolio-info .details-link {
    right: 10px;
}

.portfolio .portfolio-item:hover .portfolio-img img {
    transform: scale(1.15);
}

.portfolio .portfolio-item:hover .portfolio-info {
    opacity: 1;
}

/*--------------------------------------------------------------
# Portfolio Details
--------------------------------------------------------------*/
.portfolio-details {
    padding-top: 40px;
}

.portfolio-details .portfolio-details-slider img {
    width: 100%;
}

.portfolio-details .portfolio-details-slider .swiper-pagination {
    margin-top: 20px;
    position: relative;
}

.portfolio-details
    .portfolio-details-slider
    .swiper-pagination
    .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: #fff;
    opacity: 1;
    border: 1px solid #bf9b30;
}

.portfolio-details
    .portfolio-details-slider
    .swiper-pagination
    .swiper-pagination-bullet-active {
    background-color: #bf9b30;
}

.portfolio-details .portfolio-info {
    padding: 30px;
    box-shadow: 0px 0 30px rgba(55, 81, 126, 0.08);
}

.portfolio-details .portfolio-info h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.portfolio-details .portfolio-info ul {
    list-style: none;
    padding: 0;
    font-size: 15px;
}

.portfolio-details .portfolio-info ul li + li {
    margin-top: 10px;
}

.portfolio-details .portfolio-description {
    padding-top: 30px;
}

.portfolio-details .portfolio-description h2 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 20px;
}

.portfolio-details .portfolio-description p {
    padding: 0;
}

/*--------------------------------------------------------------
# Team
--------------------------------------------------------------*/
.member-pdf-logo {
    height: 50px;
    width: 50px;
}

.member-logo-bck {
    height: 75px;
    width: 100px;
    margin-top: 10px;
    margin-right: 5px;
}

.member-logo {
    height: 75px;
    width: 75px;
    margin-top: 9px;
    margin-right: 4px;
}

.team .member {
    position: relative;
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    border-radius: 2px;
    background: #fff;
    transition: 0.5s;
    height: 100%;
}

.team .member .pic {
    overflow: hidden;
    width: auto;
    border-radius: 21%;
}

.team .member .pic img {
    transition: ease-in-out 0.3s;
    max-height: 400px;
    margin-top: 10px;
    margin-bottom: 20px;
}

.team .member:hover {
    transform: translateY(-10px);
}

.team .member .member-info {
    z-index: 1;
}

.team .member .member-info .member-desc {
    padding-left: 15px;
    padding-right: 15px;
}

.team .member h4 {
    font-weight: 700;
    margin-bottom: 5px;
    font-size: 20px;
    color: #112351;
}

.team .member span {
    display: block;
    font-size: 15px;
    padding-bottom: 10px;
    position: relative;
    font-weight: 500;
}

.member-title::after {
    content: "";
    position: absolute;
    display: flex;
    justify-content: center;
    width: 100%;
    height: 1px;
    background: #cbd6e9;
    bottom: 0;
    margin: 0 auto;
}

.team .member p {
    margin: 10px 0 0 0;
    font-size: 14px;
}

.team .member .social {
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: flex-center;
}

.team .member .social a {
    transition: ease-in-out 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    width: 32px;
    height: 32px;
    background: #eff2f8;
}

.team .member .social a i {
    color: #a67c00;
    font-size: 16px;
    margin: 0 2px;
}

.team .member .social a:hover {
    background: #112351;
}

.team .member .social a:hover i {
    color: #fff;
}

.team .member .social a + a {
    margin-left: 8px;
}

.team h2 {
    color: #112351;
}

.member-header {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding-bottom: 8px;
}

.member-header::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: #cbd6e9;
    width: 100%;
}

.member-title {
    font-weight: 600;
    color: #333;
}

.member-logo {
    height: 60px;
    width: 60px;
}

/*--------------------------------------------------------------
# Blog
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Blog Item
--------------------------------------------------------------*/
.post-mobile-img {
    height: 100%;
}

.card {
    background-color: #f3f5fa;
    border-color: #112351;
    max-width: 100%;
    overflow: hidden;
}

.image-wrapper {
    overflow: hidden;
}

.image-wrapper img {
    transition: transform 0.5s ease;
}

.image-wrapper:hover img {
    transform: scale(1.5);
}

.card-img-top {
    width: 100%;
    height: 15vw;
    object-fit: cover;
}

.card-img-top-mobile {
    width: 100%;
    max-height: 60vh;
    object-fit: cover;
}

.card-body h5 {
    color: #112351;
}

.read-more {
    background-color: #a67c00;
    color: #fff;
    border: 2px, #a67c00;
    transition: 0.3s;
}

.read-more-offer {
    background-color: #a67c00;
    color: #fff;
    border: 2px, #a67c00;
    transition: 0.3s;
}

.read-more:hover {
    background-color: #112351;
    color: #fff;
}

.read-more-offer:hover {
    background-color: #586585;
    color: #fff;
}

.post-header {
    padding-top: 30px;
}

.post-header img {
    display: block;
}

.title-wrapper {
    background-color: rgba(243, 245, 250, 0.85);
    padding: 50px;
    position: absolute;
    top: 50%;
    left: 40%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #112351;
    font-weight: bold;
    border: 5px solid #fff;
}

.post-content {
    margin: 0 auto;
    padding: 20px;
    max-width: 80%;
}

.fa-calendar-days {
    color: #112351;
}

#blog-item {
    background-color: #f3f5fa;
}

.post-container {
    border-radius: 20px; /* Adjust roundness as needed */
    margin-top: 150px; /* Amount of overlap - adjust as needed */
    position: relative; /* Allows content to be positioned relative to the container */
    padding: 30px;
    box-shadow: 0px 5px 10px rgba(136, 71, 71, 0.2);
}

@media (max-width: 557px) {
    .post-container {
        margin-top: 50px;
    }
    .post-content {
        max-width: 100%;
    }
}

.post-image {
    overflow: hidden;
}

.post-content {
    padding: 30px;
}

.post-meta i {
    color: #a67c00;
}

.offer-container {
    margin-top: 110px; /* Amount of overlap - adjust as needed */
    position: relative; /* Allows content to be positioned relative to the container */
    padding: 30px;
    border-bottom: #112351 1px solid;
    /* box-shadow: 0px 5px 10px rgba(136, 71, 71, 0.2); */
}

@media (max-width: 557px) {
    .offer-container {
        margin-top: 50px;
    }
}

@media (max-width: 991px) {
    .offer-container {
        margin-top: 50px;
    }
}
/*--------------------------------------------------------------
# Feature
--------------------------------------------------------------*/
.feature-title h1::after {
    content: "";
    position: absolute;
    display: block;
    width: 40px;
    height: 3px;
    background: #bf9b30;
    bottom: 0;
    left: calc(50% - 20px);
}

/*--------------------------------------------------------------
# Pricing
--------------------------------------------------------------*/
.pricing h2 {
    color: #112351;
}

.pricing .row {
    padding-top: 40px;
}

.pricing .box {
    padding: 60px 40px;
    box-shadow: 0 3px 20px -2px rgba(20, 45, 100, 0.1);
    background: #fff;
    height: 100%;
    border-top: 4px solid #fff;
    border-radius: 5px;
}

.pricing h3 {
    font-weight: 500;
    margin-bottom: 15px;
    font-size: 20px;
    color: #112351;
}

.pricing h4 {
    font-size: 48px;
    color: #37517e;
    font-weight: 400;
    font-family: "Jost", sans-serif;
    margin-bottom: 25px;
}

.pricing h4 sup {
    font-size: 28px;
}

.pricing h4 span {
    color: #bf9b30;
    font-size: 18px;
    display: block;
}

.pricing ul {
    padding: 20px 0;
    list-style: none;
    color: #999;
    text-align: left;
    line-height: 20px;
}

.pricing ul li {
    padding: 10px 0 10px 30px;
    position: relative;
}

.pricing ul i {
    color: #28a745;
    font-size: 24px;
    position: absolute;
    left: 0;
    top: 6px;
}

.pricing ul .na {
    color: #ccc;
}

.pricing ul .na i {
    color: #ccc;
}

.pricing ul .na span {
    text-decoration: line-through;
}

.pricing .buy-btn {
    display: inline-block;
    padding: 12px 35px;
    border-radius: 50px;
    color: #bf9b30;
    transition: none;
    font-size: 16px;
    font-weight: 500;
    font-family: "Jost", sans-serif;
    transition: 0.3s;
    border: 1px solid #a67c00;
}

.pricing .buy-btn:hover {
    background: #112351;
    color: #fff;
}

.pricing .featured {
    border-top-color: #bf9b30;
}

.pricing .featured .buy-btn {
    background: #bf9b30;
    color: #fff;
}

.pricing .featured .buy-btn:hover {
    background: #112351;
}

@media (max-width: 992px) {
    .pricing .box {
        max-width: 60%;
        margin: 0 auto 30px auto;
    }
}

@media (max-width: 767px) {
    .pricing .box {
        max-width: 80%;
        margin: 0 auto 30px auto;
    }
}

@media (max-width: 420px) {
    .pricing .box {
        max-width: 100%;
        margin: 0 auto 30px auto;
    }
}

/*--------------------------------------------------------------
# Frequently Asked Questions
--------------------------------------------------------------*/
.faq h2 {
    color: #112351;
}
.faq .faq-list {
    padding: 0 100px;
}
.faq .faq-list ul {
    padding: 0;
    list-style: none;
}
.faq .faq-list li + li {
    margin-top: 15px;
}
.faq .faq-list li {
    padding: 20px;
    background: #fff;
    border-radius: 4px;
    position: relative;
}

/* ZMIANA: Bardziej specyficzny selektor - tylko dla nagłówków pytań */
.faq .faq-list > ul > li > a {
    display: block;
    position: relative;
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
    padding: 0 30px;
    outline: none;
    cursor: pointer;
}

/* NOWE: Style dla linków w treści odpowiedzi */
.faq .faq-list p a {
    display: inline;
    padding: 0;
    color: #bf9b30;
    text-decoration: underline;
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
    font-family: inherit;
    position: static;
}

.faq .faq-list p a:hover {
    color: #37517e;
}

.faq .faq-list .icon-help {
    font-size: 24px;
    position: absolute;
    right: 0;
    left: 20px;
    color: #bf9b30;
}
.faq .faq-list .icon-show,
.faq .faq-list .icon-close {
    font-size: 24px;
    position: absolute;
    right: 0;
    top: 0;
}
.faq .faq-list p {
    margin-bottom: 0;
    padding: 10px 0 0 0;
}
.faq .faq-list .icon-show {
    display: none;
}

/* ZMIANA: Bardziej specyficzny selektor */
.faq .faq-list > ul > li > a.collapsed {
    color: #37517e;
    transition: 0.3s;
}
.faq .faq-list > ul > li > a.collapsed:hover {
    color: #bf9b30;
}
.faq .faq-list > ul > li > a.collapsed .icon-show {
    display: inline-block;
}
.faq .faq-list > ul > li > a.collapsed .icon-close {
    display: none;
}

@media (max-width: 1200px) {
    .faq .faq-list {
        padding: 0;
    }
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact h2 {
    color: #112351;
}

.contact .info {
    border-top: 3px solid #bf9b30;
    border-bottom: 3px solid #bf9b30;
    padding: 30px;
    background: #fff;
    width: 100%;
    box-shadow: 0 0 24px 0 rgba(0, 0, 0, 0.1);
}

.contact .info i {
    font-size: 20px;
    color: #bf9b30;
    float: left;
    width: 44px;
    height: 44px;
    background: #e7f5fb;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
    transition: all 0.3s ease-in-out;
}

.contact .info h4 {
    padding: 0 0 0 60px;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #112351;
}

.contact .info p {
    padding: 0 0 10px 60px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #6182ba;
}

.contact .info .email p {
    padding-top: 5px;
}

.contact .info .social-links {
    padding-left: 60px;
}

.contact .info .social-links a {
    font-size: 18px;
    display: inline-block;
    background: #333;
    color: #fff;
    line-height: 1;
    padding: 8px 0;
    border-radius: 50%;
    text-align: center;
    width: 36px;
    height: 36px;
    transition: 0.3s;
    margin-right: 10px;
}

.contact .info .social-links a:hover {
    background: #bf9b30;
    color: #fff;
}

.contact .info .email:hover i,
.contact .info .address:hover i,
.contact .info .phone:hover i {
    background: #bf9b30;
    color: #fff;
}

.contact .php-email-form {
    width: 100%;
    border-top: 3px solid #bf9b30;
    border-bottom: 3px solid #bf9b30;
    padding: 30px;
    background: #fff;
    box-shadow: 0 0 24px 0 rgba(0, 0, 0, 0.12);
}

.contact .php-email-form .form-group {
    padding-bottom: 8px;
}

.contact .php-email-form .validate {
    display: none;
    color: red;
    margin: 0 0 15px 0;
    font-weight: 400;
    font-size: 13px;
}

.contact .php-email-form .error-message {
    display: none;
    color: #fff;
    background: #ed3c0d;
    text-align: left;
    padding: 15px;
    font-weight: 600;
}

.contact .php-email-form .error-message br + br {
    margin-top: 25px;
}

.contact .php-email-form .sent-message {
    display: none;
    color: #fff;
    background: #18d26e;
    text-align: center;
    padding: 15px;
    font-weight: 600;
}

.contact .php-email-form .loading {
    display: none;
    background: #fff;
    text-align: center;
    padding: 15px;
}

.contact .php-email-form .loading:before {
    content: "";
    display: inline-block;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    margin: 0 10px -6px 0;
    border: 3px solid #18d26e;
    border-top-color: #eee;
    animation: animate-loading 1s linear infinite;
}

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

.contact .php-email-form label {
    padding-bottom: 8px;
}

.contact .php-email-form input,
.contact .php-email-form textarea {
    border-radius: 0;
    box-shadow: none;
    font-size: 14px;
    border-radius: 4px;
}

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
    border-color: #bf9b30;
}

.contact .php-email-form input {
    height: 44px;
}

.contact .php-email-form textarea {
    padding: 10px 12px;
}

.contact .php-email-form button[type="submit"] {
    background: #bf9b30;
    border: 0;
    padding: 12px 34px;
    color: #fff;
    transition: 0.4s;
    border-radius: 50px;
}

.contact .php-email-form button[type="submit"]:hover {
    background: #112351;
}

@keyframes animate-loading {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*--------------------------------------------------------------
# Breadcrumbs
--------------------------------------------------------------*/
.breadcrumbs {
    padding: 15px 0;
    background: #f3f5fa;
    min-height: 40px;
    margin-top: 72px;
}

@media (max-width: 992px) {
    .breadcrumbs {
        margin-top: 68px;
    }
}

.breadcrumbs h2 {
    font-size: 28px;
    font-weight: 600;
    color: #37517e;
}

.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0 0 10px 0;
    margin: 0;
    font-size: 14px;
}

.breadcrumbs ol li + li {
    padding-left: 10px;
}

.breadcrumbs ol li + li::before {
    display: inline-block;
    padding-right: 10px;
    color: #4668a2;
    content: "/";
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
    font-size: 14px;
    background: #112351;
}

#footer .footer-newsletter {
    padding: 50px 0;
    background: #f3f5fa;
    text-align: center;
    font-size: 15px;
    color: #444444;
}

#footer .footer-newsletter h4 {
    font-size: 24px;
    margin: 0 0 20px 0;
    padding: 0;
    line-height: 1;
    font-weight: 600;
    color: #112351;
}

#footer .footer-newsletter form {
    margin-top: 30px;
    background: #fff;
    padding: 6px 10px;
    position: relative;
    border-radius: 50px;
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.06);
    text-align: left;
}

#footer .footer-newsletter form input[type="email"] {
    border: 0;
    padding: 4px 8px;
    width: calc(100% - 100px);
}

#footer .footer-newsletter form input[type="submit"] {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    border: 0;
    background: none;
    font-size: 16px;
    padding: 0 20px;
    background: #bf9b30;
    color: #fff;
    transition: 0.3s;
    border-radius: 50px;
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

#footer .footer-newsletter form input[type="submit"]:hover {
    background: #112351;
}

#footer .footer-top {
    padding: 60px 0 30px 0;
    background: #f3f5fa;
}

#footer .footer-top .footer-contact {
    margin-bottom: 5px;
}

#footer .footer-top .footer-contact h3 {
    font-size: 28px;
    margin: 0 0 10px 0;
    padding: 2px 0 2px 0;
    line-height: 1;
    text-transform: uppercase;
    font-weight: 600;
    color: #112351;
}

#footer .footer-top .footer-contact p {
    font-size: 14px;
    line-height: 24px;
    margin-bottom: 0;
    font-family: "Jost", sans-serif;
    color: #5e5e5e;
}

#footer .footer-top h4 {
    font-size: 16px;
    font-weight: bold;
    color: #112351;
    position: relative;
    padding-bottom: 12px;
}

#footer .footer-top .footer-links {
    margin-bottom: 30px;
}

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

#footer .footer-top .footer-links ul i {
    padding-right: 2px;
    color: #bf9b30;
    font-size: 18px;
    line-height: 1;
}

#footer .footer-top .footer-links ul li {
    padding: 10px 0;
    display: flex;
    align-items: center;
}

#footer .footer-top .footer-links ul li:first-child {
    padding-top: 0;
}

#footer .footer-top .footer-links ul a {
    color: #777777;
    transition: 0.3s;
    display: inline-block;
    line-height: 1;
}

#footer .footer-top .footer-links ul a:hover {
    text-decoration: none;
    color: #bf9b30;
}

#footer .footer-top .social-links a {
    font-size: 18px;
    display: inline-block;
    background: #bf9b30;
    color: #fff;
    line-height: 1;
    padding: 8px 0;
    margin-right: 4px;
    border-radius: 50%;
    text-align: center;
    width: 36px;
    height: 36px;
    transition: 0.3s;
}

#footer .footer-top .social-links a:hover {
    background: #112351;
    color: #fff;
    text-decoration: none;
}

#footer .footer-bottom {
    padding-top: 30px;
    padding-bottom: 30px;
    color: #fff;
}

#footer .copyright {
    float: left;
}

#footer .footer-bottom .copyright strong {
    color: #a67c00;
}

#footer .credits {
    float: right;
    font-size: 13px;
}

#footer .credits a {
    transition: 0.3s;
}

@media (max-width: 768px) {
    #footer .footer-bottom {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    #footer .copyright,
    #footer .credits {
        text-align: center;
        float: none;
    }

    #footer .credits {
        padding-top: 4px;
    }
}
/* cookies */
.cookies-accept {
    background-color: #fff;
    border-color: #a67c00;
    color: #112351;
}
.cookies-accept:hover {
    background-color: #91e696;
    border-color: #72f27a;
    color: #fff;
}
.cookies-reject {
    background-color: #fff;
    border-color: #a67c00;
    color: #112351;
}
.cookies-reject:hover {
    background-color: #f5425d;
    border-color: #f5425d;
    color: #fff;
}

.offer-attributes-section {
    width: 80%; /* Set width to 80% of screen width */
    margin: 0 auto; /* Center horizontally */
    padding: 20px; /* Add some padding for content */
    background-color: rgb(
        240,
        240,
        240,
        0.8
    ); /* Set background color (optional) */
    position: relative; /* Needed for positioning the bottom */
    bottom: 300px; /* Position 20px from the bottom */
    border-radius: 10px; /* Set border radius for rounded corners */
    border: 2px solid #ccc; /* Set border style and color */
}

.contact-form-control {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #112351;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0.375rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.btn-contact-form {
    background-color: #112351;
    border-color: #112351;
    color: #fff;
}
.btn-contact-form:hover {
    background-color: #1f4094;
    border-color: #1f4094;
    color: #fff;
}

.form-control:after {
    content: "\f00d"; /* Font Awesome caret-down icon */
    font-family: FontAwesome; /* Use Font Awesome's font */
    position: absolute;
    right: 10px; /* Adjust as needed for spacing */
    top: 50%; /* Center vertically */
    transform: translateY(-50%); /* Align with text */
    pointer-events: none; /* Disable click interaction */
    color: #333; /* Match input text color */
}
.step-by-step {
    background-color: #f1eeee;
}

.offer-home {
    position: absolute; /* Override default positioning */
    bottom: 50%; /* Adjust as needed to position slightly higher */
    left: 10%; /* Optional: adjust horizontal position if needed */
    right: 10%; /* Optional: adjust horizontal position if needed */
}

.offer-info-wrapper {
    background-color: rgba(
        0,
        0,
        0,
        0.5
    ); /* Semi-transparent black background */
    padding: 10px; /* Add some padding for content */
    border-radius: 5px; /* Rounded corners */
    width: 60%; /* Set width to 60% of image */
    margin: 0 auto; /* Center information section horizontally */
    color: #fff; /* White text for better contrast */
}

#map {
    height: 350px;
    width: auto;
}

.map {
    background-color: #f3f5fa;
}

.offer-description {
    margin: 0 auto;
    padding: 20px;
    max-width: 80%;
}
.offer-header {
    background-color: #112351;
}
.offer-header-icon {
    color: #a67c00;
    font-size: x-large;
}

.offer-media-header {
    background-color: #112351;
    color: #fff;
    border: #112351 1px solid;
}

/* Offers cards */

/* The flip card container - set the width and height to whatever you want. We have added the border property to demonstrate that the flip itself goes out of the box on hover (remove perspective if you don't want the 3D effect */
.flip-card {
    background-color: transparent;
    width: 400px;
    height: 300px;
    perspective: 1000px; /* Remove this if you don't want the 3D effect */
}

/* This container is needed to position the front and back side */
.flip-card-inner {
    position: relative;
    width: 400px;
    height: 300px;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

/* Do an horizontal flip when you move the mouse over the flip box container */
.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

/* Position the front and back side */
.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden; /* Safari */
    backface-visibility: hidden;
}

/* Style the front side (fallback if image is missing) */
.flip-card-front {
    background-color: #bbb;
    color: black;
}

.flip-card-front img {
    width: 400px;
    height: 300px;
}

/* Style the back side */
.flip-card-back {
    background-color: rgba(17, 35, 81);
    color: white;
    transform: rotateY(180deg);
}
.flip-card-info-front {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    /* background-color: rgba(17, 35, 81, 0.5); */
    background-color: rgba(166, 124, 0, 0.5);
    color: #fff;
    padding: 10px;
    border-radius: 5px;
}

/* Pagination */
.pagination > li > a {
    background-color: white;
    color: #112351;
}

.pagination > li > a:focus,
.pagination > li > a:hover,
.pagination > li > span:focus,
.pagination > li > span:hover {
    color: #5a5a5a;
    background-color: #eee;
    border-color: #ddd;
}

.pagination > .active > a {
    color: white;
    background-color: #a67c00 !important;
    border-color: #a67c00 !important;
}

.pagination > .active > a:hover {
    background-color: #a67c00 !important;
}

.gallery {
    width: 100%;
    height: 500px;
}

.galleria-theme-classic {
    /* background-color: rgb(17, 35, 81); */
    background-color: #f3f5fa;
}

@media (max-width: 575px) {
    .gallery {
        width: 100%;
        height: 350px;
    }
}

.offer-author {
    border: #112351 1px solid;
}

.offer-author-details a {
    color: #112351 !important;
}

.offer-author-details h4 {
    color: #a67c00 !important;
}

.offer-author-details a:hover {
    color: #a67c00 !important;
}
/* Strona finansowanie */
.finance {
    padding: 50px 0;
}
.finance h2 {
    font-size: 2.5rem;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}
.finance p {
    font-size: 1.2rem;
}

.finanse-intro {
    position: relative;
    min-height: 80vh;
    background-image: url("../img/finanse/handshake.webp");
    background-size: 80%;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
    padding-top: 80px;
    padding-bottom: 2rem;
}
@media (max-width: 576px) {
    .finanse-intro {
        background-image: none !important;
        min-height: auto; /* można usunąć wys. jeśli niepotrzebna */
        padding-top: 40px; /* opcjonalnie zmniejszenie odstępu */
    }

    .button-cta::after {
        content: "";
        display: block;
        width: 100%;
        height: 1px;
        background: #ddd; /* kolor linii */
        position: absolute;
        bottom: 0;
        left: 0;
    }
}

.finanse-intro::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7);
}

.logo-finanse {
    max-width: 250px; /* lub inna preferowana szerokość */
    height: auto;
}
.finanse-intro-content {
    position: relative;
    z-index: 1;
}

.finanse-intro h1 {
    font-size: 1.7rem;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}

.finanse-intro h3 {
    font-size: 1.4rem;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.finanse-intro p {
    font-size: 1.2rem;
    line-height: 1.6;
}

.btn-custom {
    background-color: #112351;
    border-color: #112351;
    color: white;
}

.btn-custom:hover {
    background-color: #a67c00;
    border-color: #a67c00;
    color: white;
}
.polityka {
    margin-top: 150px;
}

/* Timeline Container */
.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

/* Timeline Line */
.timeline::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #132553, #a67c00);
    border-radius: 2px;
}

/* Timeline Item */
.timeline-item {
    position: relative;
    margin-bottom: 50px;
    animation: fadeInUp 0.6s ease-out backwards;
}

.timeline-item:nth-child(1) {
    animation-delay: 0.1s;
}
.timeline-item:nth-child(2) {
    animation-delay: 0.2s;
}
.timeline-item:nth-child(3) {
    animation-delay: 0.3s;
}
.timeline-item:nth-child(4) {
    animation-delay: 0.4s;
}
.timeline-item:nth-child(5) {
    animation-delay: 0.5s;
}

/* Alternating Layout */
.timeline-item:nth-child(odd) .timeline-content {
    margin-left: 0;
    margin-right: auto;
    padding-right: 60px;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
    margin-right: 0;
    padding-left: 60px;
}

/* Timeline Number Badge */
.timeline-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: #132553;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 5px 20px rgba(74, 144, 164, 0.4);
    z-index: 2;
    border: 5px solid #f8f9fa;
}

/* Timeline Content Card */
.timeline-content {
    width: 50%;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    position: relative;
}
.timeline-buyers {
    background: #f3f5fa !important;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

/* Arrow pointing to timeline */
.timeline-item:nth-child(odd) .timeline-content::after {
    content: "";
    position: absolute;
    right: -15px;
    top: 20px;
    width: 0;
    height: 0;
    border-left: 15px solid white;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
}

.timeline-item:nth-child(even) .timeline-content::after {
    content: "";
    position: absolute;
    left: -15px;
    top: 20px;
    width: 0;
    height: 0;
    border-right: 15px solid white;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
}

/* Card Title */
.timeline-content h3 {
    color: #112351;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #a67c00;
}

/* List Items */
.timeline-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.timeline-content ul li {
    padding: 12px 0 12px 35px;
    position: relative;
    line-height: 1.6;
    color: #777;
    transition: all 0.2s ease;
}

.timeline-content ul li:hover {
    color: var(--primary-color);
    padding-left: 40px;
}

.timeline-content ul li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #a67c00;
    font-size: 1rem;
    width: 25px;
    height: 25px;
    background: rgba(95, 179, 209, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .timeline::before {
        left: 30px;
    }

    .timeline-badge {
        left: 30px;
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .timeline-content {
        width: calc(100% - 90px) !important;
        margin-left: 90px !important;
        padding: 25px !important;
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 90px !important;
        margin-right: 0 !important;
        padding-left: 25px !important;
        padding-right: 25px !important;
    }

    .timeline-item:nth-child(odd) .timeline-content::after {
        right: auto;
        left: -15px;
        border-left: none;
        border-right: 15px solid white;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .timeline-content h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    body {
        padding: 40px 0;
    }

    .timeline-content ul li {
        font-size: 0.95rem;
    }
}

.ul-styled {
    list-style: circle !important;
    padding-left: 20px !important;
}

#intro {
    text-align: justify;
}

@media (max-width: 576px) {
    #intro p {
        font-size: 1rem !important;
    }
}

.justified {
    text-align: justify;
}

/* form */
.form-wrapper {
    max-width: 100%; /* Usunięte ograniczenie 1000px */
    margin: 0 auto;
    background: white;
    border-radius: 16px; /* Zmniejszone z 24px */
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08); /* Mniejszy cień */
}

.form-header {
    padding: 24px 30px; /* Zmniejszone z 40px */
    background: #f8f9fa;
}

.form-header h2 {
    font-size: 1.5rem; /* Zmniejszone z 2rem */
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 6px; /* Zmniejszone z 10px */
}

.form-header p {
    color: #64748b;
    font-size: 0.95rem; /* Zmniejszone z 1.1rem */
    margin: 0;
}

.form-content {
    display: flex;
    padding: 30px; /* Zmniejszone z 40px */
    gap: 30px; /* Zmniejszone z 40px */
}

/* Lewa kolumna - Expert */
.expert-column {
    flex: 0 0 200px; /* Zmniejszone z 280px */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.expert-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #e2e8f0;
    margin-bottom: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.expert-name {
    font-size: 1.2rem; /* Zmniejszone z 1.5rem */
    font-weight: 700;
    color: #a67c00;
    margin-bottom: 6px; /* Zmniejszone z 8px */
    line-height: 1.3;
}

.expert-title {
    font-size: 0.85rem; /* Zmniejszone z 0.95rem */
    font-weight: 600;
    color: #64748b;
    margin-bottom: 15px; /* Zmniejszone z 20px */
}

.expert-company {
    font-size: 0.85rem; /* Zmniejszone z 0.9rem */
    color: #64748b;
    margin-bottom: 6px; /* Zmniejszone z 8px */
}

.expert-location {
    font-size: 0.8rem; /* Zmniejszone z 0.9rem */
    color: #64748b;
    line-height: 1.5; /* Zmniejszone z 1.6 */
}

.expert-location strong {
    display: block;
    color: #a67c00;
    margin-bottom: 4px; /* Zmniejszone z 5px */
}

/* Prawa kolumna - Formularz */
.form-column {
    flex: 1;
}

.form-label {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 6px; /* Zmniejszone z 8px */
    font-size: 0.85rem; /* Zmniejszone z 0.9rem */
}

.required-asterisk {
    color: #dc2626;
}

.form-control,
.form-select {
    border: 2px solid #e2e8f0;
    border-radius: 6px; /* Zmniejszone z 8px */
    padding: 10px 14px; /* Zmniejszone z 12px 16px */
    font-size: 0.9rem; /* Zmniejszone z 0.95rem */
    transition: all 0.2s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: #112351;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-control::placeholder {
    color: #cbd5e1;
}

textarea.form-control {
    min-height: 100px; /* Zmniejszone z 120px */
    resize: vertical;
}

.row.g-3 {
    --bs-gutter-y: 0.75rem; /* Zmniejszone z 1rem (domyślne) */
}

.btn-submit {
    background: #112351;
    color: white;
    border: none;
    padding: 12px 32px; /* Zmniejszone z 14px 40px */
    font-size: 0.9rem; /* Zmniejszone z 1rem */
    font-weight: 600;
    border-radius: 6px; /* Zmniejszone z 8px */
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-submit:hover {
    background: #a67c00;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(100, 116, 139, 0.3); /* Mniejszy cień */
}

.consent-box {
    margin-top: 20px; /* Zmniejszone z 30px */
    padding-top: 15px; /* Zmniejszone z 20px */
    border-top: 1px solid #e2e8f0;
}

.form-check {
    margin-bottom: 12px; /* Zmniejszone z 15px */
}

.form-check-input {
    width: 16px; /* Zmniejszone z 18px */
    height: 16px; /* Zmniejszone z 18px */
    margin-top: 2px; /* Zmniejszone z 3px */
    cursor: pointer;
}

.form-check-input:checked {
    background-color: #3b82f6;
    border-color: #3b82f6;
}

.form-check-label {
    font-size: 0.8rem; /* Zmniejszone z 0.85rem */
    color: #475569;
    line-height: 1.4; /* Zmniejszone z 1.5 */
    cursor: pointer;
    margin-left: 6px; /* Zmniejszone z 8px */
}

.required-note {
    color: #64748b;
    font-size: 0.8rem; /* Zmniejszone z 0.85rem */
    margin-top: 15px; /* Zmniejszone z 20px */
    text-align: center;
}

@media (max-width: 768px) {
    .form-content {
        flex-direction: column;
        padding: 24px 16px; /* Zmniejszone */
        gap: 24px; /* Zmniejszone */
    }

    .expert-column {
        flex: none;
        width: 100%;
    }

    .form-header {
        padding: 20px 16px; /* Zmniejszone */
    }

    .form-header h2 {
        font-size: 1.3rem; /* Zmniejszone */
    }
}
