h2::before {
    content: none!important;
}

/* Main contact info section styling */
.contact-us {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.contact-us .col1 {
    margin-bottom: 30px;
}

.fieldset.company-info {
    background: #ffffff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.fieldset.company-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2980b9);
}

.fieldset.company-info h2.legend {
    font-size: 24px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 25px;
    text-align: center;
}

.company-info p {
    font-weight: 600;
    color: #2c3e50;
    margin: 20px 0 10px 0;
    font-size: 16px;
}

.company-info ul {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 10px 0 20px 0;
}

.company-info ul li {
    position: relative;
    padding-left: 30px;
    margin: 10px 0;
    font-size: 15px;
    line-height: 1.6;
    color: #5a6c7d;
}

/* Phone numbers */
.company-info ul li:has(a[href^="tel:"])::before {
    content: '📞';
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 16px;
}

/* Email */
.company-info ul li:has(a[href^="mailto:"])::before {
    content: '✉️';
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 16px;
}

.company-info a {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.company-info a:hover {
    color: #2980b9;
}

.company-info strong {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin: 15px 0 10px 0;
    line-height: 1.4;
}

/* Billing info styling */
.company-info p:not(:first-of-type):not(:has(a)):not(:has(strong)) {
    margin: 5px 0;
    padding-left: 20px;
    position: relative;
    font-size: 14px;
}

.company-info p:has(strong) + p::before {
    content: '🏢';
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 14px;
}

/* Mobile responsive for main contact info */
@media (max-width: 768px) {
    .contact-us {
        padding: 15px 10px;
    }
    
    .contact-us .col2.tabs {
        margin-top: 20px;
    }
    
    .fieldset.company-info {
        padding: 20px 15px;
        margin: 0 5px;
        border-radius: 10px;
    }
    
    .fieldset.company-info h2.legend {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .company-info p {
        font-size: 15px;
        margin: 15px 0 8px 0;
    }
    
    .company-info ul li {
        font-size: 14px;
        padding-left: 28px;
        margin: 8px 0;
        line-height: 1.5;
    }
    
    .company-info ul li::before {
        font-size: 16px;
    }
    
    .company-info strong {
        font-size: 15px;
        margin: 12px 0 8px 0;
        line-height: 1.3;
    }
    
    /* Better spacing for billing info on mobile */
    .company-info p:not(:first-of-type):not(:has(a)):not(:has(strong)) {
        font-size: 13px;
        margin: 3px 0;
        padding-left: 18px;
    }
    
    /* Create visual separation between sections */
    .company-info p:has(strong) {
        margin-top: 25px;
        padding-top: 15px;
        border-top: 1px solid #f0f0f0;
    }
    
    .company-info p:has(strong):first-of-type {
        border-top: none;
        margin-top: 15px;
        padding-top: 0;
    }
}

@media (max-width: 480px) {
    .contact-us {
        padding: 10px 5px;
    }
    
    .fieldset.company-info {
        padding: 18px 12px;
        margin: 0 2px;
    }
    
    .fieldset.company-info h2.legend {
        font-size: 18px;
        margin-bottom: 18px;
    }
    
    .company-info p {
        font-size: 14px;
    }
    
    .company-info ul li {
        font-size: 13px;
        padding-left: 26px;
    }
    
    .company-info strong {
        font-size: 14px;
    }
    
    .company-info p:not(:first-of-type):not(:has(a)):not(:has(strong)) {
        font-size: 12px;
        padding-left: 16px;
    }
}

/* Tabs section styling for mobile */
.col2.tabs {
    margin-top: 20px;
}

#tabs-container {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #f0f0f0;
    overflow: hidden;
}

#tabnav.tab-nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    background: #f8f9fa;
    position: relative;
}

#tabnav.tab-nav li {
    flex: 1;
    margin: 0;
}

#tabnav.tab-nav li a.nav-item {
    display: block;
    padding: 15px 10px;
    text-align: center;
    color: #5a6c7d;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

#tabnav.tab-nav li a.nav-item.is-active {
    color: #3498db;
    font-weight: 600;
}

.nav-indicator {
    position: absolute;
    bottom: 0;
    height: 3px;
    background: linear-gradient(90deg, #3498db, #2980b9);
    transition: all 0.3s ease;
    z-index: 1;
}

@media (max-width: 768px) {
    .col2.tabs {
        margin: 20px 5px 0 5px;
    }
    
    #tabs-container {
        border-radius: 10px;
    }
    
    #tabnav.tab-nav li a.nav-item {
        padding: 12px 8px;
        font-size: 13px;
        line-height: 1.3;
    }
    
    .nav-indicator {
        height: 2px;
    }
}

@media (max-width: 480px) {
    .col2.tabs {
        margin: 15px 2px 0 2px;
    }
    
    #tabnav.tab-nav li a.nav-item {
        padding: 10px 6px;
        font-size: 12px;
    }
}

/* Sales advisors section styling */
.persons {
    padding: 20px;
    background: #ffffff;
    border-radius: 12px;
    /*
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #f0f0f0;
    */
}

#contact_details.pg-tab {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 0;
}

.person {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

div.person::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3498db, #2980b9);
}

.person:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.person ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.person ul li {
    margin: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    line-height: 1.5;
}

.person ul li.person {
    margin-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 10px;
}

.person ul li.person i {
    color: #3498db;
    font-size: 18px;
    width: 20px;
    text-align: center;
}

.person ul li.person p {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
}

.person ul li.position {
    color: #7f8c8d;
    font-style: italic;
    font-size: 13px;
    margin-bottom: 15px;
    padding-left: 30px;
}

.person ul li.email i,
.person ul li.mobile i {
    color: #3498db;
    font-size: 14px;
    width: 20px;
    text-align: center;
}

.person ul li.email a,
.person ul li.mobile a {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.person ul li.email a:hover,
.person ul li.mobile a:hover {
    color: #2980b9;
}

/* Mobile responsive for sales advisors */
@media (max-width: 768px) {
    .persons {
        padding: 15px 10px;
        margin: 0 5px;
        border-radius: 10px;
    }
    
    #contact_details.pg-tab {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .person {
        padding: 15px;
        border-radius: 10px;
    }
    
    .person ul li {
        font-size: 13px;
        gap: 8px;
    }
    
    .person ul li.person p {
        font-size: 16px;
    }
    
    .person ul li.position {
        font-size: 12px;
        padding-left: 28px;
    }
    
    .person ul li.email i,
    .person ul li.mobile i {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .persons {
        padding: 12px 8px;
        margin: 0 2px;
    }
    
    .person {
        padding: 12px;
    }
    
    .person ul li {
        font-size: 12px;
        gap: 6px;
    }
    
    .person ul li.person p {
        font-size: 15px;
    }
    
    .person ul li.position {
        font-size: 11px;
        padding-left: 26px;
        line-height: 1.3;
    }
    
    .person ul li.email i,
    .person ul li.mobile i {
        font-size: 12px;
        width: 18px;
    }
}
/* Google Maps Info Window Styles */
.gm-style-iw-d h3::before {
    display: none !important;
}

.gm-style-iw-d h3 {
    position: relative;
}

.gm-style-iw.gm-style-iw-c {
    max-width: 280px !important;
    width: -webkit-fill-available !important;
    max-height: 300px !important;
}

.gm-style-iw-chr {
    height: 20px;
}

/* Contact Page Layout */
#company-buildings {
    margin: 0 auto;
    padding: 20px;
}

#company-buildings h2 {
    font-size: 28px;
    font-weight: 600;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}



.departments {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.showroom {
    background: #ffffff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.showroom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2980b9);
}

.showroom:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.showroom strong {
    display: block;
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
}

.showroom p {
    margin: 8px 0;
    color: #5a6c7d;
    line-height: 1.6;
    font-size: 15px;
}

.showroom a {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.showroom a:hover {
    color: #2980b9;
}

.showroom ul {
    margin: 10px 0;
    padding-left: 0;
    list-style: none;
}

.showroom ul li {
    color: #5a6c7d;
    margin: 8px 0;
    font-size: 15px;
    position: relative;
    padding-left: 25px;
}

.showroom ul li::before {
    content: '🕒';
    position: absolute;
    left: 0;
    top: 0;
    font-size: 16px;
}

/* Desktop contact info styling */
.showroom p {
    position: relative;
    padding-left: 25px;
}

/* Phone number styling */
.showroom p:has(a[href^="tel:"])::before {
    content: '📞';
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 16px;
}

div.person li.email a::before {
    content: '✉️';
    left: 0;
    top: 2px;
    font-size: 16px;
}

div.person li.mobile a::before {
    content: '📞';
    left: 0;
    top: 2px;
    font-size: 16px;
}

div.persons .person {
    height: auto!important;
}

/* Address styling */
.showroom p:nth-of-type(2)::before {
    content: '📍';
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 16px;
}

/* City styling */
.showroom p:nth-of-type(3)::before {
    content: '🏢';
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 16px;
}

/* Remove icons from title */
.showroom p:first-of-type {
    padding-left: 0;
}

.showroom p:first-of-type::before {
    display: none;
}

/* Mobile-specific modern styling */
@media (max-width: 768px) {
    .showroom ul {
        list-style: none;
        padding-left: 0;
        margin: 15px 0;
    }
    
    .showroom ul li {
        position: relative;
        padding-left: 25px;
        margin: 8px 0;
        font-size: 14px;
        line-height: 1.5;
    }
    
    .showroom ul li::before {
        content: '🕒';
        position: absolute;
        left: 0;
        top: 0;
        font-size: 16px;
    }
    
    /* Contact info styling for mobile */
    .showroom p {
        position: relative;
        padding-left: 0;
        margin: 10px 0;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    
    /* Add icons for different contact types */
    .showroom p {
        padding-left: 25px;
        position: relative;
    }
    
    /* Phone number styling */
    .showroom p:has(a[href^="tel:"])::before {
        content: '📞';
        position: absolute;
        left: 0;
        top: 2px;
        font-size: 16px;
    }
    
    /* Address styling */
    .showroom p:nth-of-type(2)::before {
        content: '📍';
        position: absolute;
        left: 0;
        top: 2px;
        font-size: 16px;
    }
    
    /* City styling */
    .showroom p:nth-of-type(3)::before {
        content: '🏢';
        position: absolute;
        left: 0;
        top: 2px;
        font-size: 16px;
    }
    
    /* Hours styling */
    .showroom p:contains("Godziny")::before {
        content: '⏰';
        position: absolute;
        left: 0;
        top: 2px;
        font-size: 16px;
    }
    
    /* Remove icons from title */
    .showroom p:first-of-type {
        padding-left: 0;
    }
    
    .showroom p:first-of-type::before {
        display: none;
    }
    
    /* Modern contact cards for mobile */
    .showroom {
        background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
        border: none;
        box-shadow: 0 8px 25px rgba(52, 152, 219, 0.1);
        position: relative;
        overflow: hidden;
    }
    
    .showroom::after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 60px;
        height: 60px;
        background: linear-gradient(135deg, #3498db, #2980b9);
        border-radius: 0 0 0 60px;
        opacity: 0.1;
    }
    
    .showroom strong {
        color: #2c3e50;
        font-weight: 700;
        font-size: 18px;
        margin-bottom: 15px;
        display: block;
        position: relative;
        z-index: 2;
    }
}

.pg-kontakt-mapa {
    margin: 40px 0;
}

.mpgooglemaps_review_map {
    float: none;
    width: 100%;
    margin: 0;
}

#map {
    height: 450px;
    width: 100%;
    border-radius: 12px;
    border: 1px solid #e8e8e8;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .view {
        margin-top: 60px;
    }
    #company-buildings {
        padding: 20px 15px !important;
        margin: 0 !important;
    }
    
    #company-buildings h2 {
        font-size: 24px !important;
        margin-bottom: 30px !important;
    }
    
    #company-buildings h2::after {
        width: 50px;
        height: 2px;
    }
    
    .departments {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 30px;
    }
    
    .showroom {
        padding: 20px;
        border-radius: 10px;
        margin: 0 5px;
    }
    
    .showroom strong {
        font-size: 18px;
        margin-bottom: 12px;
    }
    
    .showroom p {
        font-size: 14px;
        margin: 6px 0;
    }
    
    .showroom ul li {
        font-size: 14px;
    }
    
    .pg-kontakt-mapa {
        margin: 30px 0;
    }
    
    #map {
        height: 300px !important;
        border-radius: 10px;
        margin: 0 5px;
    }
}

@media (max-width: 480px) {
    #company-buildings {
        padding: 15px 10px !important;
    }
    
    #company-buildings h2 {
        font-size: 22px !important;
        margin-bottom: 25px !important;
    }
    
    .departments {
        gap: 15px;
        margin-bottom: 25px;
    }
    
    .showroom {
        padding: 18px;
        margin: 0 2px;
    }
    
    .showroom strong {
        font-size: 17px;
        margin-bottom: 10px;
    }
    
    .showroom p {
        font-size: 13px;
        margin: 5px 0;
    }
    
    .showroom ul li {
        font-size: 13px;
    }
    
    #map {
        height: 280px !important;
        margin: 0 2px;
    }
}

/* Additional modern touches */
@media (max-width: 768px) {
    .showroom::before {
        height: 3px;
    }
    
    .showroom:hover {
        transform: none; /* Disable hover effects on mobile */
    }
    
    /* Improve touch targets */
    .showroom a {
        padding: 2px 0;
        display: inline-block;
    }
    
    /* Better spacing for mobile */
    .showroom p:last-of-type {
        margin-bottom: 0;
    }
    
    .showroom ul {
        margin-bottom: 0;
    }
}
