/* Home Template Styles - 1:1 with Figma Design */

/* Color Variables */
:root {
    --dark-blue: #133153;
    --red: #9D0C31;
    --white: #ffffff;
    --light-gray: #F3F5F7;
    --text-dark: #133153;
    --text-light: #ffffff;
}

/* Hero Section */
.template-home2 .home-hero {
    position: relative;
    min-height: 700px;
    display: flex;
    align-items: center;
    padding: 200px 0 80px;
    overflow: hidden;
}

/* Desktop - padding-top od menu do h1 = 110px + wysokość headera (90px) = 200px */
@media (min-width: 769px) {
    .template-home2 .home-hero {
        padding-top: 200px; /* 110px od menu + 90px wysokość headera */
    }
}

.template-home2 .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.template-home2 .hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
}

.template-home2 .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(19, 49, 83, 1) 100%);
    z-index: 2;
}

.template-home2 .hero-content {
    position: relative;
    z-index: 3;
    color: var(--white);
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.template-home2 .hero-title {
    font-family: 'Poppins', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 60px;
    line-height: 110%; /* 66px */
    text-align: center;
    color: #FFFFFF;
    margin-bottom: 32px;
    text-wrap: balance;
}

.template-home2 .hero-description {
    font-family: 'Poppins', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 140%; /* 28px */
    text-align: center;
    color: #FFFFFF;
    margin-bottom: 48px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.template-home2 .hero-description p {
    font-family: 'Poppins', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 140%; /* 28px */
    text-align: center;
    color: #FFFFFF;
    margin: 0;
}

.template-home2 .hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 0;
}

.template-home2 .btn-hero-primary {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 18px 25px;
    gap: 10px;
    width: 281px;
    height: 59px;
    background: #9D0C31;
    border-radius: 999px;
    font-family: 'Poppins', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 18px;
    line-height: 130%; /* 23px */
    text-transform: uppercase;
    color: #FFFFFF;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    flex: none;
    order: 0;
    flex-grow: 0;
}

.template-home2 .btn-hero-primary:hover {
    background-color: #a01a28;
    color: var(--white);
    text-decoration: none;
    transform: translateY(-2px);
}

.template-home2 .btn-hero-secondary {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 18px 25px;
    gap: 10px;
    width: 281px;
    height: 59px;
    background: #FFFFFF;
    border: 1px solid rgba(19, 49, 83, 0.2);
    border-radius: 999px;
    font-family: 'Poppins', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 18px;
    line-height: 130%; /* 23px */
    text-transform: uppercase;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    flex: none;
    order: 1;
    flex-grow: 0;
}

.template-home2 .btn-hero-secondary:hover {
    background-color: var(--light-gray);
    color: var(--text-dark);
    text-decoration: none;
    transform: translateY(-2px);
}

/* Hero Features */
.template-home2 .hero-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 64px;
    margin-top: 140px;
    width: 100%;
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
}

.template-home2 .hero-feature-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    flex: none;
    flex-grow: 0;
}

.template-home2 .hero-feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.template-home2 .hero-feature-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.template-home2 .hero-feature-icon svg {
    width: 32px;
    height: 32px;
}

.template-home2 .hero-feature-text {
    font-family: 'Poppins', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    color: #FFFFFF;
    margin: 0;
}

@media (min-width: 769px) {
    .template-home2 .hero-features {
        gap: 40px;
    }
}

@media (max-width: 992px) {
    .template-home2 .hero-features {
        gap: 24px;
    }

    .template-home2 .hero-feature-text {
        font-size: 14px;
    }
}

/* What You Gain Section */
.template-home2 .home-what-you-gain {
    background-color: var(--dark-blue);
    padding: 100px 0;
    color: var(--white);
}

.template-home2 .home-what-you-gain .row {
    align-items: flex-start;
}

.template-home2 .home-what-you-gain .col-lg-5 {
    padding-right: 40px;
}

.template-home2 .home-what-you-gain .col-lg-7 {
    padding-left: 40px;
}

.template-home2 .section-title-white {
    font-family: 'Poppins', sans-serif;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--white);
    text-align: left;
}

.template-home2 .section-description-white {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--white);
    opacity: 0.9;
    margin-bottom: 0;
    text-align: left;
}

.template-home2 .benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

/* Ensure 6 benefit cards in 2 columns */
.benefits-grid .template-home2 .benefit-card {
    min-height: auto;
}

.template-home2 .benefit-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 16px;
}

.template-home2 .benefit-card:hover {
    background-color: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.template-home2 .benefit-icon {
    flex-shrink: 0;
    margin-bottom: 0;
}

.template-home2 .benefit-icon img {
    width: 72px;
    height: 72px;
    object-fit: contain;
}

.template-home2 .benefit-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.template-home2 .benefit-title {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--white);
    line-height: 1.3;
}

.template-home2 .benefit-description {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--white);
    opacity: 0.85;
    margin: 0;
}

.template-home2 .home-what-you-gain .text-center {
    text-align: center;
    margin-top: 40px;
}

.template-home2 .btn-check-savings {
    background-color: var(--red);
    color: var(--white);
    padding: 18px 32px;
    border-radius: 999px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
}

.template-home2 .btn-check-savings:hover {
    background-color: #8a0a28;
    color: var(--white);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(157, 12, 49, 0.3);
}

/* Review Section */
.template-home2 .home-review-section {
    background-color: var(--white);
    padding: 80px 0;
}

.template-home2 .section-title-center {
    font-size: 42px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-dark);
}

.template-home2 .services-grid {
    display: grid;
    gap: 32px;
}

.services-grid-first {
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 32px;
}

.services-grid-second {
    grid-template-columns: repeat(2, 1fr);
    max-width: calc(66.666% + 16px);
    margin-left: auto;
    margin-right: auto;
}


.template-home2 .service-card {
    background-color: var(--light-gray);
    padding: 24px;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.template-home2 .service-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.template-home2 .service-icon-title {
    display: flex;
        flex-direction: row;
        align-items: flex-start;
        gap: 16px;
}

.template-home2 .service-icon {
    flex-shrink: 0;
    margin-bottom: 0;
}

.template-home2 .service-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.template-home2 .service-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 0;
    color: var(--text-dark);
    text-transform: uppercase;
}

.template-home2 .service-content {
    display: flex;
    flex-direction: column;
}

.template-home2 .service-description {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-dark);
    margin: 0;
}

/* How It Works Section */
.template-home2 .home-how-it-works {
    background-color: var(--dark-blue);
    padding: 100px 0;
    color: var(--white);
}

.template-home2 .home-how-it-works .col-lg-5 {
    padding-right: 40px;
}

.template-home2 .home-how-it-works .sticky-column {
    position: sticky;
    top: 120px;
    align-self: flex-start;
}

.template-home2 .home-how-it-works .col-lg-7 {
    padding-left: 40px;
}

.template-home2 .process-steps {
    position: relative;
    padding-left: 20px;
}

.process-steps::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.3);
}

.template-home2 .process-step {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 32px;
    position: relative;
}

.template-home2 .step-left {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 24px;
    position: relative;
    z-index: 2;
    margin-left: -12px;
}

.template-home2 .step-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.5);
    display: flex;
    margin-left: -40px;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.template-home2 .step-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
}

.template-home2 .step-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.template-home2 .step-number {
    font-family: 'Poppins', sans-serif;
    font-size: 64px;
    font-weight: 700;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.5);
    flex-shrink: 0;
}

/* First icon has dark blue background with light blue border */
.template-home2 .process-step:first-child .step-icon {
    background-color:#1A4475;
    border-color:#1A4475;
    color: white;
}

.template-home2 .process-step:first-child .step-icon path{    
    color: white;
}

.template-home2 .home-how-it-works {
    background-color: #133153;
}

/* Other icons have light gray background with white border */
.template-home2 .process-step:not(:first-child) .step-icon {
    background-color: #DAE0E7;
    border-color: #DAE0E7;
    color: rgba(29, 53, 92);
}

.template-home2 .process-step:not(:first-child) .step-icon path{
    color: rgba(29, 53, 92);
}

.template-home2 .step-icon svg {
    width: 16px;
    height: 9px;
}

.template-home2 .step-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.template-home2 .step-title {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 0;
    color: var(--white);
    line-height: 1.3;
}

.template-home2 .step-description {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--white);
    opacity: 0.9;
    margin: 0;
}

/* Experts Section */
.template-home2 .home-experts {
    background-color: var(--white);
    padding: 80px 0;
}

.section-title-center-red {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: var(--red);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.template-home2 .experts-grid {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

/* Ensure 6 experts in 2 rows of 3 */
.experts-grid .template-home2 .expert-card {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.template-home2 .expert-card {
    text-align: center;
}

.template-home2 .expert-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 24px;
    border: 4px solid var(--light-gray);
}

.expert-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.template-home2 .expert-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.template-home2 .expert-role {
    font-size: 14px;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.template-home2 .expert-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}

.template-home2 .expert-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #000000;

    text-decoration: underline;
    transition: color 0.3s ease;
}

.expert-contact-item:hover {
    color: var(--red);
    text-decoration: none;
}

.contact-icon {
    font-size: 16px;
}

/* Recommendations Section */
.home-recommendations {
    background-color: var(--dark-blue);
    padding: 80px 0;
}

.template-home2 .recommendations-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.template-home2 .recommendations-nav,
.template-home2 .projects-nav,
.template-home2 .videos-nav {
    display: flex;
    gap: 12px;
}

.template-home2 .nav-arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--white);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.template-home2 .nav-arrow svg {
    width: 11px;
    height: 21px;
    display: block;
    transition: fill 0.3s ease;
}

.template-home2 .nav-arrow:hover {
    background-color: var(--red);
}

.template-home2 .nav-arrow:hover svg path {
    fill: var(--white);
}

.template-home2 .recommendations-slider {
    overflow: hidden;
}

.template-home2 .recommendations-slider .splide__track {
    overflow: visible;
}

.template-home2 .recommendations-slider .splide__list {
    display: flex;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.template-home2 .recommendations-slider .splide__slide {
    border: none;
    flex: 0 0 auto;
    box-shadow: none;
    width: auto;
    min-width: 280px;
    max-width: 400px;
    list-style: none;
    padding: 0 !important;
    background: transparent !important;
    opacity: 1 !important;
    transform: none !important;
}

.template-home2 .recommendation-item {
    width: 100%;
    background-color: transparent;
    display: flex;
    flex-direction: column;
    position: relative;
}

.recommendation-item img {
    width: 100%;
    height: auto;
    display: block;
    flex-shrink: 0;
    background-color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Recommendations slider - bez opacity i zmniejszania */
.template-home2 .recommendations-slider .splide__slide {
    opacity: 1 !important;
    transform: none !important;
    padding: 0 !important;
    padding-left: 0 !important;
    background: transparent !important;
}

.template-home2 .recommendations-slider .splide__slide .recommendation-item {
    opacity: 1 !important;
    transform: none !important;
}

.template-home2 .recommendation-signature {
    padding-top: 20px;
    text-align: left;
    color: var(--white);
    margin-top: 0;
    border-radius: 0;
}

.template-home2 .signatory-name {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 4px;
}

.template-home2 .company-name {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    color: var(--white);
    opacity: 0.9;
}

/* Projects Section */
.template-home2 .home-projects {
    background-color: var(--red);
    padding: 80px 0;
}

.template-home2 .projects-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.template-home2 .projects-nav {
    display: flex;
    gap: 12px;
}

.template-home2 .projects-nav .nav-arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 0;
}

.template-home2 .projects-nav .nav-arrow svg {
    width: 11px;
    height: 21px;
    display: block;
    transition: fill 0.3s ease;
}

.template-home2 .projects-nav .nav-arrow:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: scale(1.05);
}

.template-home2 .projects-nav .nav-arrow:hover svg path {
    fill: var(--red);
}

.template-home2 .projects-slider {
    overflow: hidden;
    padding: 0;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.template-home2 .projects-slider .splide__track {
    overflow: visible;
}

.template-home2 .projects-slider .splide__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.template-home2 .projects-slider .splide__slide {
    list-style: none;
    height: auto;
    padding: 0 !important;
    background: transparent !important;
    border: none;
    box-shadow: none;
    
}

.template-home2 .project-card {
    width: 100%;
    background-color: #F5F5F0;
    padding: 40px 40px 40px 80px;
    border: 1px solid #D0D0D0;
    border-radius: 0;
    position: relative;
    overflow: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.template-home2 .projects-slider .splide__slide {
    opacity: 1 !important;
}

/* Nieaktywne projekty - opacity i niższe */
.template-home2 .projects-slider .splide__slide:not(.is-active) .project-card {
    background-color: #F1E3E4;
    transform: scale(0.90) !important;
    opacity: 1 !important;
}

/* Aktywny projekt - pełna widoczność */
.template-home2 .projects-slider .splide__slide.is-active .project-card {
    opacity: 1 !important;
    transform: scale(1) !important;
}


.template-home2 .project-number {
    position: absolute;
    bottom: 0;
    left: 0;
    font-family: 'Poppins', sans-serif;
    font-size: 180px;
    font-weight: 700;
    line-height: 1;
    color: #F6ECEF;
    z-index: 1;
    pointer-events: none;
    transform: translate(0, 20px);
    -webkit-text-stroke: 2px #C5AAB2;
    text-stroke: 2px #C5AAB2;
}


.template-home2 .projects-slider .splide__slide:not(.is-active) .template-home2 .project-number {
    position: absolute;
    bottom: 0;
    left: 0;
    font-family: 'Poppins', sans-serif;
    font-size: 180px;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    z-index: 1;
    pointer-events: none;
    transform: translate(0, 20px);
    -webkit-text-stroke: 2px #C5AAB2;
    text-stroke: 2px #C5AAB2;
}

.template-home2 .project-title {
    font-size: 18px;
    font-weight: 700;
    position: relative;
    z-index: 2;
    margin-bottom: 16px;
    color: #000000;
    text-transform: uppercase;
    font-family: 'Poppins', sans-serif;
    line-height: 1.3;
}

.template-home2 .project-description {
    font-size: 14px;
    line-height: 1.6;
    color: #000000;
    position: relative;
    z-index: 2;
    font-family: 'Poppins', sans-serif;
}

/* Video Section */
.template-home2 .home-video {
    background-color: var(--white);
    padding: 80px 0;
}

.template-home2 .videos-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.template-home2 .videos-nav {
    display: flex;
    gap: 12px;
}

.template-home2 .videos-slider {
    overflow: hidden;
}

.template-home2 .videos-slider .splide__track {
    overflow: visible;
}

.template-home2 .videos-slider .splide__list {
    display: flex;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.template-home2 .videos-slider .splide__slide {
    border: none;
    flex: 0 0 auto;
    box-shadow: none;
    width: 100%;
    list-style: none;
    padding: 0 !important;
    background: transparent !important;
    opacity: 1 !important;
    transform: none !important;
}

.template-home2 .video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.template-home2 .video-wrapper iframe,
.template-home2 .video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Contact Form Section */
.template-home2 .home-contact-form {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.template-home2 .contact-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.template-home2 .contact-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(3px);
}

.template-home2 .contact-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(29, 53, 92, 0.85) 0%, rgba(29, 53, 92, 0.7) 100%);
    z-index: 2;
}

.template-home2 .home-contact-form .container {
    position: relative;
    z-index: 3;
}


.template-home2 .custom-contact-form {
    display: flex;
    flex-direction: column;    
}

.template-home2 .custom-contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.template-home2 .custom-contact-form .form-group {
    display: flex;
    flex-direction: column;    
}

.template-home2 .custom-contact-form label {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: var(--white);
    line-height: 1.5;
}

.template-home2 .custom-contact-form input[type="text"],
.template-home2 .custom-contact-form input[type="email"],
.template-home2 .custom-contact-form input[type="tel"] {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    color: var(--dark-blue);
    background-color: var(--white);
    transition: border-color 0.3s ease;
}

.template-home2 .custom-contact-form input[type="text"]:focus,
.template-home2 .custom-contact-form input[type="email"]:focus,
.template-home2 .custom-contact-form input[type="tel"]:focus {
    outline: none;
    border-color: var(--red);
}

.template-home2 .custom-contact-form input[type="text"]::placeholder,
.template-home2 .custom-contact-form input[type="email"]::placeholder,
.template-home2 .custom-contact-form input[type="tel"]::placeholder {
    color: #999;
}

@media (max-width: 768px) {
    .template-home2 .template-home2 .custom-contact-form .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* File Upload Area */
.template-home2 .file-upload-area {
    position: relative;
}

.template-home2 .file-upload-content {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    background-color: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
}

.template-home2 .file-upload-content:hover {
    border-color: var(--red);
    background-color: #FFF5F5;
}

.template-home2 .file-upload-content.drag-over {
    border-color: var(--red);
    background-color: #FFF5F5;
    border-style: solid;
}

.template-home2 .file-icon {
    flex-shrink: 0;
}

.template-home2 .file-upload-text {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: var(--dark-blue);
    flex: 1;
}

.template-home2 .file-uploaded {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    background-color: #F5F5F5;
}

.template-home2 .file-name {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: var(--dark-blue);
    flex: 1;
}

.template-home2 .file-remove {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--red);
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: color 0.3s ease;
}

.file-remove:hover {
    color: #a01a28;
}

/* Checkbox */
.template-home2 .checkbox-group {
    margin-top: 8px;
}

.template-home2 .checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.template-home2 .checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    flex-shrink: 0;
    cursor: pointer;
    accent-color: var(--red);
}

.template-home2 .checkbox-text {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: var(--white);
    line-height: 1.5;
}

.template-home2 .checkbox-text a {
    color: var(--red);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.template-home2 .checkbox-text a:hover {
    color: #a01a28;
}

/* Submit Button */
.template-home2 .form-submit-btn {
    width: fit-content;
    padding: 16px 48px;
    background-color: #9D0C31;
    color: var(--white);
    border: none;
    border-radius: 9999px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.template-home2 .form-submit-btn:hover {
    background-color: #a01a28;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 20, 60, 0.3);
}

.template-home2 .form-submit-btn:active {
    transform: translateY(0);
}

.template-home2 .form-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Form Message */
.template-home2 .form-message {
    padding: 12px 16px;
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    margin-top: 8px;
}

.template-home2 .form-message.success {
    background-color: #D4EDDA;
    color: #155724;
    border: 1px solid #C3E6CB;
}

.template-home2 .form-message.error {
    background-color: #F8D7DA;
    color: #721C24;
    border: 1px solid #F5C6CB;
}

/* Blog Section */
.template-home2 .home-blog {
    background-color: var(--white);
    padding: 80px 0;
}

.template-home2 .blog-sidebar {
    background-color: var(--light-gray);
    padding: 32px;
    border-radius: 8px;
    margin-bottom: 40px;
    width: 550px;
    max-width: 100%;
}

.template-home2 .sidebar-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-dark);
    text-transform: uppercase;
}

.template-home2 .sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.template-home2 .sidebar-menu li {
    margin-bottom: 2px;
    padding: 0;
}

.template-home2 .sidebar-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 3px 0;
}

.template-home2 .sidebar-menu a::before {
    content: '>';
    color: var(--red);
    font-weight: 700;
    font-size: 14px;
}

.template-home2 .sidebar-menu a:hover {
    color: var(--red);
}

.template-home2 .blog-content {
    padding-left: 40px;
}

.template-home2 .blog-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.template-home2 .blog-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 40px;
}

.template-home2 .blog-text p {
    margin-bottom: 16px;
    margin-top: 0;
}

.template-home2 .blog-text p:first-child {
    margin-top: 0;
}

.template-home2 .blog-text p:last-child {
    margin-bottom: 0;
}

.template-home2 .blog-text h3 {
    font-size: 24px;
    font-weight: 700;
    margin: 32px 0 16px;
    color: var(--text-dark);
}

.template-home2 .blog-benefits {
    margin-top: 40px;
}

.blog-benefits h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.template-home2 .benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
}

.template-home2 .checkmark {
    color: var(--red);
    font-weight: 700;
    font-size: 20px;
    flex-shrink: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
    .template-home2 .hero-title {
        font-size: 36px;
    }

    .template-home2 .section-title-white,
    .template-home2 .section-title-center {
        font-size: 36px;
    }

    .template-home2 .section-description-white {
        font-size: 16px;
    }

    .template-home2 .benefits-grid {
        grid-template-columns: 1fr;
    }

    .template-home2 .services-grid-first {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .template-home2 .services-grid-second {
        grid-template-columns: repeat(2, 1fr);
        max-width: 100%;
    }

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

    .template-home2 .blog-content {
        padding-left: 0;
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    /* Fix dla Bootstrap .row - usuwamy negatywne marginesy na mobile */
    .template-home2 .home-what-you-gain .row,
    .template-home2 .home-how-it-works .row,
    .template-home2 .home-contact-form .row,
    .template-home2 .home-blog .row {
        margin-left: 0;
        margin-right: 0;
    }
    
    /* Dodajemy padding do kolumn zamiast do kontenera */
    .template-home2 .home-what-you-gain .row > [class*="col-"],
    .template-home2 .home-how-it-works .row > [class*="col-"],
    .template-home2 .home-contact-form .row > [class*="col-"],
    .template-home2 .home-blog .row > [class*="col-"] {
        padding-left: 15px;
        padding-right: 15px;
    }

    .template-home2 .home-hero {
        min-height: 500px;
        padding: 120px 0 60px; /* Mniejszy padding na mobile, ale uwzględnia header */
    }

    .template-home2 .hero-title {
        font-size: 36px;
        line-height: 110%;
    }

    .template-home2 .hero-description {
        font-size: 18px;
        line-height: 140%;
    }

    .template-home2 .hero-description p {
        font-size: 18px;
        line-height: 140%;
    }

    .template-home2 .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .template-home2 .btn-hero-primary {
        width: 100%;
        max-width: 281px;
    }

    .template-home2 .btn-hero-secondary {
        width: 100%;
        max-width: 281px;
        text-align: center;
    }

    .template-home2 .hero-features {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-top: 40px;
    }

    .template-home2 .hero-feature-item {
        flex-direction: row;
        justify-content: flex-start;
        width: 100%;
        max-width: 400px;
    }

    .template-home2 .recommendations-slider .splide__arrows {
        display: none;
    }

    .template-home2 .hero-feature-text {
        white-space: normal;
        text-align: left;
    }

    .template-home2 .section-title-white,
    .template-home2 .section-title-center {
        font-size: 28px;
    }

    .template-home2 .section-description-white {
        font-size: 16px;
    }

    .template-home2 .home-what-you-gain {
        padding: 60px 0;
    }

    .template-home2 .services-grid-first,
    .template-home2 .services-grid-second {
        grid-template-columns: 1fr;
    }
    
    .template-home2 .services-grid-second {
        max-width: 100%;
    }

    .template-home2 .experts-grid {
        grid-template-columns: 1fr;
    }

    .template-home2 .process-steps {
        padding-left: 40px;
    }

    .template-home2 .process-steps::before {
        left: 20px;
    }

    .template-home2 .step-left {
        width: 40px;
        margin-left: -40px;
    }

    .template-home2 .step-icon {
        width: 32px;
        height: 32px;
        margin-left: 0;
    }

    .template-home2 .step-icon svg {
        width: 14px;
        height: 8px;
    }

    .template-home2 .step-number {
        margin-left: 0;
        min-width: 40px;
        font-size: 48px;
    }

    .template-home2 .home-how-it-works {
        padding: 60px 0;
    }

    .home-how-it-works .col-lg-5,
    .template-home2 .home-how-it-works .col-lg-7 {
        padding-left: 0;
        padding-right: 0;
    }

    .template-home2 .home-how-it-works .sticky-column {
        position: static;
    }

    .recommendations-header,
    .template-home2 .projects-header,
    .template-home2 .videos-header {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .template-home2 .home-projects {
        padding: 60px 0;
    }

    .template-home2 .project-card {
        flex: 0 0 85%;
        min-width: 280px;
        padding: 32px 32px 32px 48px;

    }

    .template-home2 .project-number {
        font-size: 120px;
        transform: translate(-15px, 15px);
        -webkit-text-stroke: 1.5px #C5AAB2;
        text-stroke: 1.5px #C5AAB2;
    }

    .template-home2 .project-title {
        font-size: 16px;
    }

    .template-home2 .project-description {
        font-size: 13px;
    }

    .template-home2 .contact-form-wrapper {
        padding: 24px;
    }

    .template-home2 .custom-contact-form {
        gap: 20px;
    }

    .template-home2 .form-submit-btn {
        padding: 14px 24px;
        font-size: 14px;
    }

    .template-home2 .file-upload-content,
    .template-home2 .file-uploaded {
        padding: 12px;
        flex-wrap: wrap;
    }

    .template-home2 .file-upload-text {
        font-size: 13px;
    }

    .template-home2 .home-what-you-gain .row,
    .template-home2 .home-how-it-works .row,
    .template-home2 .home-contact-form .row {
        flex-direction: column;
    }

    .template-home2 .home-what-you-gain .col-lg-5,
    .template-home2 .home-how-it-works .col-lg-5,
    .template-home2 .home-contact-form .col-lg-5 {
        margin-bottom: 40px;
        padding-right: 0;
    }

    .template-home2 .home-what-you-gain .col-lg-7 {
        padding-left: 0;
    }
}


