/* Why us section styles */


.featured-image-header {
    width: 100%;
    height: auto;
    overflow: hidden;
    border-radius: 10px;
    position: relative;
}

.featured-image-header img.wp-image-featured-header {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.featured-image-header img.wp-image-featured-header:hover {
    transform: scale(1.01);
}

.page-template-page-why-us h1.entry-title {

    font-size: 43px;
    color: #c4cd26 !important;
    letter-spacing: -1px;
    text-align: center;
    padding: 27px 0;
}

.page-template-page-why-us .entry-content-wrap {
    padding: 0;
}
.page-template-page-why-us .entry-header {
    margin-bottom: 0;
}

.why-us-section
{
    padding: 54px 0;
}

.why-us-container {
    display: grid;
    grid-template-columns: 0.8fr 2.2fr;
    gap: 60px;

    margin: 0 auto;

}

.why-us-left {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.why-us-title {

    color: #505050;
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.why-us-description {
    font-size: 14px;
 
    line-height: 1.6;
    margin: 0;
}

.why-us-right {
    display: flex;
    align-items: flex-start;
}

.why-us-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px 65px;
    width: 100%;
}

.why-us-item {
    position: relative;
}

.why-us-item-title {

     margin: 0 0 15px 0;
    text-transform: uppercase;
    position: relative;
    padding-left: 20px;
}

.why-us-item-title::before {
    content: "";
    position: absolute;
    left: -10px;
    top: 55%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-color: #c4cd26;
    border-radius: 50%;
}

.why-us-item p {
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    padding-left: 20px;
}

.why-us-item strong {
    font-weight: bold;
}

/* Responsive design */
@media (max-width: 768px) {
    .why-us-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .why-us-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .why-us-title {
        font-size: 36px;
    }
}

@media (max-width: 480px) {
    .why-us-section {
        padding: 40px 0;
    }
    .why-us-item p {
        padding: 0px;
    }
    
.why-us-item-title::before {
left: -5px;
}

    .why-us-title {
        font-size: 28px;
        align-self: center;
    }
}

/* Stats section styles */
.stats-section {
    padding: 0px 0 27px;
    background-color: #fff;
}

.stats-container {
    display: flex;
    align-items: stretch;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    font-size: 14px;
    padding: 27px 0;
}

.stats-item {
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.stats-title
{
    
    padding-bottom: 10px;
    font-weight: 700;
}
.stats-title strong {
    color: #fff;
    font-size: 32px;
    background-color: #505050;
    border-radius: 5px;
    font-weight: 700;
    display: inline-block;
    padding: 0 5px;
}

.stats-number {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    padding: 0 5px;
    opacity: 0;
    display: inline-block;
    border-radius: 5px;
    background-color: #505050;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.stats-number.counted {
    opacity: 1;
    transform: translateY(0);
}

.stats-label {
    font-size: 14px;
font-weight: 700;

    text-transform: uppercase;

    margin-bottom: 10px;

}

.stats-description {
    /* margin-top: auto; */
}

.stats-separator {
    width: 1px;
    height: 80px;
    background-color: #e0e0e0;
    margin: 0 20px;
}

/* Responsive stats section */
@media (max-width: 768px) {
    .stats-container {
        flex-direction: column;
        gap: 15px;
        flex-wrap: nowrap;
        overflow-x: auto;
    }
    
    .stats-separator {
        width: 1px;
        height: 1px;
        margin: 0 10px;
        flex-shrink: 0;
    }
    
    .stats-item {
        padding: 0;
        flex-shrink: 0;
        min-width: 120px;
    }
    
    .stats-number {
        font-size: 28px;
    }
    
    .stats-label {
        font-size: 14px;
    }
    
    .stats-description {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .stats-section {
        padding: 40px 0;
    }
    
    .stats-container {
        padding: 0 15px;
    }
    
    .stats-number {
        font-size: 28px;
    }
}

/* Balanced Body section styles */
.balanced-body-section {
    padding: 0;
    padding-bottom: 27px;    

}

.balanced-body-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
	border-radius: 10px;
    max-width: none;
    margin: 0;
	overflow: hidden;

}

.balanced-body-image {
    position: relative;
    overflow: hidden;
    max-height: 275px;
}

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

.balanced-body-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 15px;
    background-color: #d8d9db;
}

.balanced-body-content h2 {
    font-size: 32px;
    font-weight: bold;

    margin: 0 0 20px 0;
    line-height: 1.2;
}

.balanced-body-content {
    font-size: 14px;

    line-height: 1.6;

}

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

.balanced-body-social {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 15px;
    background-color: #c4cd26;
    text-align: center;
    
}

.balanced-body-social p {
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 30px 0;
}

.social-icons {
    display: flex;
    gap: 20px;
    color: #c4cd26;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.1);
}

.social-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    display: block;
}

.social-icon svg {
    display: block;
}

.balanced-body-social .social-icon.facebook {

    border-radius: 4px;
}

/* Responsive Balanced Body section */
@media (max-width: 768px) {
    .balanced-body-container {
        grid-template-columns: 1fr;
        height: auto;
    }
    
    .balanced-body-image {
        height: 250px;
    }
    
    .balanced-body-content,
    .balanced-body-social {
        padding: 30px 20px;
    }
            .balanced-body-social p
    {
        align-self: baseline;
    }
    .balanced-body-content h2 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .balanced-body-content,
    .balanced-body-social {
        padding: 20px 15px;
    }
    
    .balanced-body-content h2 {
        font-size: 24px;
    }

    
    .social-icons {
        gap: 15px;
    }
}

/* YouTube section styles */
.youtube-section {


}

.youtube-container {

    margin: 0 auto;
    text-align: center;
}

.youtube-title {
    font-size: 22px;
    font-weight: bold;
    margin: 27px 0 50px 0!important;
    line-height: 1.3;
}
.process-title {
    font-size: 22px;
    font-weight: bold;
    margin: 27px 0 27px 0!important;
    line-height: 1.3;
}
.youtube-video {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding-bottom: 45%; /* 16:9 aspect ratio (9/16 = 0.5625, but we want a bit shorter) */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.youtube-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

/* Responsive YouTube section */
@media (max-width: 768px) {
    .youtube-section {
        padding: 60px 0;
    }
    
    .youtube-title {
        font-size: 28px;
        margin-bottom: 40px;
    }
    
    .youtube-video {
        padding-bottom: 56.25%; /* Standard 16:9 aspect ratio for mobile */
    }
}

@media (max-width: 480px) {
    .youtube-section {
        padding: 40px 0;
    }
    

    
    .youtube-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
}

/* Process section styles */
.process-section {
    padding: 80px 0;
    background-color: #fff;
}

.process-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
   font-size: 14px;
}

.process-column {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.process-number {
    width: 30px;
    height: 30px;
    background-color: #d3d3d3;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
}

.process-content {
    flex: 1;
    margin-bottom: 20px;
}

.process-content h3 {
    font-size: 18px;
    font-weight: bold;

    margin: 0 0 10px 0;
    line-height: 1.3;
}

.process-subtitle {
    font-size: 14px;
    margin: 0 0 15px 0;
    line-height: 1.5;
}

.process-content p {
    font-size: 14px;
    margin-bottom: 0!important;
    line-height: 1.6;
    margin: 0;
}

.process-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-bottom: 0!important;
    padding-left: 0!important;
}

.process-content li {
    font-size: 14px;

    line-height: 1.6;
    margin-bottom: 5px;
    position: relative;
    padding-left: 15px;
}

.process-content li::before {
    content: "•";
    color: #8bc34a;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.process-image {
    width: 100%;

    overflow: hidden;
    border-radius: 8px;
}

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

/* Responsive process section */
@media (max-width: 768px) {
    .process-section {
        padding: 0 0;
    }
    
    .process-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .process-image {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .process-section {
        padding: 0;
    }
    
    .process-container {

        gap: 40px;
    }
    
    .process-content h3 {
        font-size: 16px;
    }
    
    .process-image {
        height: 200px;
    }
}



.contact-form-container {
    border-radius: 10px;
    padding: 30px;
    font-size: 14px;
    border: 3px solid #c4cd26;
        max-width: 960px;
    margin-left: auto;
    margin-right: auto;
    flex-direction: column;
    display: flex;
}

.contact-details-row {
    display: flex;
    gap: 30px;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
	margin-bottom: 40px;
}

.contact-details-row .row1,
.contact-details-row .row2 {
  display: flex;
  align-items: center;   /* wyrównanie w pionie */
  justify-content: center; /* opcjonalnie: wyrównanie w poziomie */
  
  padding: 20px;
  text-align: center;
  border: 3px solid #c4cd26;
  border-radius: 10px;
  font-size: 22px;
}

.contact-details-row .row1 {
  width: 40%;
    display:block;
    line-height: 1.9;
            display: flex;
    flex-direction: column;
}

.contact-details-row .row2 {
  flex: 1; /* zajmuje resztę miejsca */
}

.contact-details-row a {
  text-decoration: none;
  color: inherit; /* opcjonalnie – przejmie kolor tekstu */
  text-transform: uppercase;
}
span.working-hours-info
{
    font-size: 20px;

}


.contact-details-row .row1,
.contact-details-row .row2,
.contact-form-container {
    position: relative; 
}


.contact-details-row .row1:before {
    content: "";
    position: absolute;
    right: 18px;
    bottom: -20px;

    width: 46px;  /* 36px obrazek + 20px margines (po 10px z każdej strony) */
    height: 46px;

    background: #fff url(../../img/tel.jpg) no-repeat center/36px 36px;
    border-radius: 6px;
}

.contact-details-row .row2:before {
    content: "";
    position: absolute;
    right: 18px;
    bottom: -20px;

    width: 59px;  /* 36px obrazek + 20px margines (po 10px z każdej strony) */
    height: 42px;

    background: #fff url(../../img/mail.jpg) no-repeat center/40px 31px;
    border-radius: 6px; 

}
.contact-form-container:before {
    content: "";
    position: absolute;
    right: 18px;
    bottom: -25px;

    width: 59px;  /* 36px obrazek + 20px margines (po 10px z każdej strony) */
    height: 42px;

    background: #fff url(../../img/wiadomosc.jpg) no-repeat center/45px 36px;
    border-radius: 6px; 

}
span.form-message
{
    font-weight: 700;
    font-size: 22px;
    letter-spacing: -1px;
}

.contact-form-section
{
    padding-bottom: 30px;
}
    @media (max-width: 768px) {
    .contact-details-row {
        flex-direction: column;
    }
    .contact-details-row .row1,
    .contact-details-row .row2 {
        width: 100%;
    }
    .contact-details-row .row1:before,
    .contact-details-row .row2:before,
    .contact-form-container:before {
        position: absolute;
        right: 18px;
        bottom: -25px;
    }
}
.form-field label
{
    padding-left: 15px;
    line-height: 2;
}