/* Company Contact Bar Styles */
.company-contact-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #2c3e50;
    color: white;
    padding: 8px 0;
    z-index: 10001;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.company-contact-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: left;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.contact-info {
    display: flex;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: left;
    gap: 8px;
    font-size: 12px;
}

.contact-item i {
    color: #0eb493;
}

.contact-text {
    font-weight: 500;
}

.language-toggle {
    position: fixed;
    top: 0px;
    right: 5px;
    z-index: 10002;
    display: flex;
    background: white;
    border-radius: 0px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    overflow: hidden;
}

.lang-btn {
    background: transparent;
    border: none;
    padding: 8px 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 12px;
}

.lang-btn.active {
    background: #0eb493;
    color: white;
}

.lang-btn:not(.active):hover {
    background: #f8f9fa;
}

.navbar-fixed-top {
    top: 40px;
}

/* Urdu Text Styles */
.urdu-text {
    font-family: 'Noto Nastaliq Urdu', 'Jameel Noori Nastaleeq', 'Urdu Typesetting', serif;
    direction: rtl;
    text-align: right;
}

.urdu-layout .navbar-nav {
    float: right !important;
}

.urdu-layout .navbar-right {
    float: left !important;
}

.urdu-layout .text-left {
    text-align: right !important;
}

.urdu-layout .text-right {
    text-align: left !important;
}

.urdu-layout .pull-left {
    float: right !important;
}

.urdu-layout .pull-right {
    float: left !important;
}

.urdu-layout .input-field {
    float: right;
    margin-right: 0;
    margin-left: 2%;
}

.urdu-layout .input-field:last-child {
    margin-left: 0;
}

.urdu-layout .contact-form .input-group.name-email {
    direction: ltr;
}

.urdu-layout .footer-social {
    padding-right: 0;
}

/* Plots Panel Styles */
.plots-panel {
    position: fixed;
    top: 30%;
    right: 0;
    transform: translateY(-50%);
    z-index: 9999;
    font-family: 'Open Sans', sans-serif;
}

.plots-toggle {
    background-color: #ff0000;
    color: white;
    padding: 15px 10px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    cursor: pointer;
    border-radius: 5px 0 0 5px;
    font-weight: bold;
    box-shadow: -2px 0 10px rgba(0,0,0,0.3);
    animation: blink 2s infinite;
    transition: all 0.3s ease;
}

.plots-toggle:hover {
    background-color: #cc0000;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.7; }
}

.plots-content {
    position: absolute;
    top: 0;
    right: -400px;
    width: 400px;
    background: white;
    box-shadow: -2px 0 15px rgba(0,0,0,0.2);
    border-radius: 5px 0 0 5px;
    transition: right 0.3s ease;
    max-height: 80vh;
    overflow-y: auto;
}

.plots-panel.open .plots-content {
    right: 100%;
}

.plots-header {
    background: #2c3e50;
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 5px 0 0 0;
}

.plots-header h3 {
    margin: 0;
    font-size: 18px;
}

.plots-close {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.plots-close:hover {
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
}

.plots-table-container {
    padding: 15px;
}

.plots-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 15px;
}

.plots-table th {
    background: #f8f9fa;
    padding: 10px;
    text-align: left;
    border-bottom: 2px solid #dee2e6;
    font-weight: 600;
}

.plots-table td {
    padding: 10px;
    border-bottom: 1px solid #dee2e6;
}

.plots-table tr:hover {
    background: #f8f9fa;
}

.plots-footer {
    padding: 10px 15px;
    background: #f8f9fa;
    border-top: 1px solid #dee2e6;
    font-size: 14px;
    color: #6c757d;
}

/* About Us Section Styles */
.about-us-section {
    background-color: #fff;
    padding: 70px 0;
}

.about-content-wrapper {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 50px;
}

.about-image {
    flex: 1;
    position: relative;
    max-width: 500px;
}

.about-image img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.about-image img:hover {
    transform: translateY(-5px);
}

.about-content {
    flex: 1;
}

.about-content h2 {
    color: #0eb493;
    font-size: 28px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.about-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #5b646e;
    margin-bottom: 20px;
}

.about-features {
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.feature-icon {
    background-color: #0eb493;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
    font-size: 20px;
}

.feature-text h4 {
    color: #062033;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.feature-text p {
    font-size: 14px;
    line-height: 1.6;
    color: #6a737b;
    margin-bottom: 0;
}

.about-values {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.value-item {
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.value-icon {
    background-color: #0eb493;
    color: white;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
}

.value-item h4 {
    color: #062033;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.value-item p {
    font-size: 14px;
    line-height: 1.6;
    color: #6a737b;
}

/* FAQs Section Styles */
.faqs-section {
    background-color: #f4f7f9;
    padding: 70px 0;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    border-bottom: 1px solid #eaeaea;
}

.faq-question h4 {
    margin: 0;
    color: #062033;
    font-size: 18px;
    font-weight: 600;
}

.faq-icon {
    color: #0eb493;
    font-size: 20px;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 25px 25px;
    max-height: 500px;
}

.faq-answer p {
    color: #5b646e;
    line-height: 1.6;
    margin-bottom: 15px;
}

.faq-answer ul {
    margin-bottom: 15px;
    padding-left: 20px;
}

.faq-answer li {
    color: #5b646e;
    line-height: 1.6;
    margin-bottom: 8px;
}

.plot-sizes-table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
}

.plot-sizes-table th {
    background: #f8f9fa;
    padding: 12px 15px;
    text-align: left;
    border-bottom: 2px solid #dee2e6;
    font-weight: 600;
    color: #062033;
}

.plot-sizes-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #dee2e6;
    color: #5b646e;
}

.plot-sizes-table tr:last-child td {
    border-bottom: none;
}

.contact-highlight {
    background: #f0f7ff;
    padding: 15px;
    border-radius: 5px;
    margin-top: 15px;
    border-left: 4px solid #0eb493;
}

.contact-highlight p {
    margin-bottom: 5px;
    font-weight: 600;
    color: #062033;
}

/* Map Styles */
#map_canvas {
    height: 400px;
    width: 100%;
}

.map-info-window h3 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 18px;
}

.map-info-window p {
    margin-bottom: 5px;
    font-size: 14px;
}

/* Full Screen Map Popup Styles */
.map-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.map-popup-content {
    background: white;
    border-radius: 10px;
    width: 95%;
    height: 95vh;
    overflow: hidden;
    box-shadow: 0 5px 50px rgba(0, 0, 0, 0.5);
    position: relative;
    display: flex;
    flex-direction: column;
}

.map-popup-header {
    background: #2c3e50;
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.map-popup-header h3 {
    margin: 0;
    font-size: 22px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.map-popup-close {
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border-radius: 50%;
}

.map-popup-close:hover {
    background: rgba(255,255,255,0.2);
    transform: scale(1.1);
}

.map-popup-body {
    display: flex;
    flex: 1;
    overflow: hidden;
    position: relative;
}

.map-container {
    flex: 1;
    position: relative;
    overflow: hidden;
    background: #f0f0f0;
    cursor: grab;
    transition: all 0.3s ease;
}

.map-container.grabbing {
    cursor: grabbing;
}

.map-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    transition: transform 0.1s ease;
    will-change: transform;
}

.map-image {
    display: block;
    max-width: none;
    user-select: none;
    -webkit-user-drag: none;
}

.plots-sidebar {
    width: 400px;
    background: white;
    border-left: 1px solid #dee2e6;
    overflow-y: auto;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.plots-sidebar.hidden {
    width: 0;
    overflow: hidden;
    border-left: none;
}

.plots-sidebar-header {
    background: #34495e;
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.plots-sidebar-header h4 {
    margin: 0;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.toggle-plots-btn {
    background: rgba(255,255,255,0.2);
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.toggle-plots-btn:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.1);
}

.plots-sidebar-content {
    padding: 20px;
    transition: opacity 0.3s ease;
}

.plots-sidebar.hidden .plots-sidebar-content {
    opacity: 0;
}

.zoom-controls {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 10;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.zoom-btn {
    background: #2c3e50;
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.zoom-btn:hover {
    background: #1a252f;
}

.zoom-btn:not(:last-child) {
    border-bottom: 1px solid #34495e;
}

.zoom-reset {
    background: #e74c3c;
    margin-top: 5px;
    border-radius: 5px;
    width: 100%;
    font-size: 14px;
    padding: 8px 12px;
    height: auto;
}

.zoom-reset:hover {
    background: #c0392b;
}

.zoom-level {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(44, 62, 80, 0.9);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.map-controls-info {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(44, 62, 80, 0.9);
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 13px;
    max-width: 300px;
}

.view-map-btn {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 15px 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.view-map-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
}

.sidebar-toggle {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #2c3e50;
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 8px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .company-contact-bar {
        padding: 6px 0;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 5px;
    }
    
    .contact-item {
        font-size: 12px;
    }
    
    .navbar-fixed-top {
        top: 60px;
    }
    
    .language-toggle {
        top: 10px;
        right: 10px;
    }
    
    .lang-btn {
        padding: 4px 8px;
        font-size: 11px;
    }
    
    .navbar-header {
        z-index: 10001;
        position: relative;
    }
    
    .navbar-toggle {
        z-index: 10003;
        position: relative;
        margin-right: 0;
        margin-left: 5px;
    }
    
    .navbar-brand {
        margin-left: 0;
        padding-left: 10px;
    }
    
    .urdu-layout .navbar-collapse {
        text-align: right;
    }
    
    .urdu-layout .navbar-nav {
        float: none !important;
    }
    
    .urdu-layout .navbar-header {
        float: right;
    }
    
    .urdu-layout .navbar-toggle {
        float: left;
        margin-left: 0;
        margin-right: 15px;
    }
    
    .plots-content {
        width: 300px;
    }
    
    .map-popup-content {
        width: 98%;
        height: 98vh;
    }
    
    .plots-sidebar {
        width: 320px;
    }
    
    .zoom-btn {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .map-controls-info {
        max-width: 250px;
        font-size: 12px;
    }
    
    .about-content-wrapper {
        flex-direction: column;
        gap: 30px;
    }
    
    .about-image, .about-content {
        flex: none;
        width: 100%;
    }
    
    .about-image {
        max-width: 100%;
    }
    
    .about-image img {
        max-height: 300px;
    }
    
    .about-values {
        flex-direction: column;
        align-items: center;
    }
    
    .value-item {
        max-width: 100%;
    }
    
    .faq-question {
        padding: 15px 20px;
    }
    
    .faq-question h4 {
        font-size: 16px;
    }
    
    .faq-answer {
        padding: 0 20px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 20px 20px;
    }
}

@media (max-width: 480px) {
    .company-contact-bar .container {
        flex-direction: column;
        gap: 8px;
    }
    
    .contact-info {
        flex-direction: row;
        gap: 15px;
    }
    
    .navbar-fixed-top {
        top: 70px;
    }
    
    .language-toggle {
        top: 8px;
        right: 8px;
    }
    
    .lang-btn {
        padding: 5px 8px;
        font-size: 10px;
    }
    
    .navbar-brand {
        padding-left: 5px;
    }
    
    .navbar-brand img {
        max-height: 30px;
    }
    
    .plots-content {
        width: 280px;
    }
    
    .plots-toggle {
        padding: 12px 8px;
        font-size: 14px;
    }
    
    .map-popup-header h3 {
        font-size: 18px;
    }
    
    .plots-sidebar {
        width: 100%;
        position: absolute;
        right: -100%;
        top: 0;
        height: 100%;
        transition: right 0.3s ease;
        z-index: 20;
    }
    
    .plots-sidebar.open {
        right: 0;
    }
    
    .plots-sidebar.hidden {
        right: -100%;
    }
    
    .about-image img {
        max-height: 250px;
    }
    
    .plot-sizes-table {
        font-size: 14px;
    }
    
    .plot-sizes-table th, .plot-sizes-table td {
        padding: 8px 10px;
    }
}