/* Global Styles */
:root {
    --primary-color: #dc0a0a;
    --secondary-color: #25d366;
    --text-color: #333;
    --light-gray: #f5f5f5;
    --border-color: #e0e0e0;
    --light-pink: #fff1f1;
    --light-blue: #e8f4f8;
}

* {
    /* 	font-family: 'outfit', sans-serif !important; */
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'outfit', sans-serif !important;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
}

/* Zain CSS */
.inline-div {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.property-snapshot h2 {
    font-size: 22px !important;
    font-weight: 600;
}

/* Main Content */
.main-content {
    width: 100%;
}

/* Sidebar */
.sidebar {
    width: 100%;
}

/* Property Slider */
.property-slider {
    position: relative;
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: all 0.3s ease;
}

.slider-btn:hover {
    background: white;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

.slider-btn.prev {
    left: 20px;
}

.slider-btn.next {
    right: 20px;
}

.slider-images {
    width: 100%;
    height: 500px;
    position: relative;
    background: var(--light-gray);
    overflow: hidden;
}

.slider-images img.slide {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.3s ease-out;
    display: none;
}

.slider-images img.slide.active {
    opacity: 1;
    display: block;
}

/* Thumbnail Strip */
.thumbnail-strip {
    display: flex;
    align-items: center;
    padding: 10px;
    background: var(--light-gray);
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.thumbnail-container {
    display: flex;
    gap: 10px;
    transition: transform 0.3s ease-out;
    width: calc(100px * 7 + 60px); /* Width for 7 thumbnails */
    margin: 0;
}

.thumbnail-strip img.thumb {
    width: 100px;
    height: 70px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease-out;
    flex-shrink: 0;
    opacity: 0.7;
    border: 2px solid transparent;
}

.thumbnail-strip img.thumb:hover {
    opacity: 0.9;
}

.thumbnail-strip img.thumb.active {
    opacity: 1;
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.thumbnail-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    z-index: 2;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.thumbnail-nav:hover {
    background: white;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

.thumbnail-nav.prev-thumb {
    left: 5px;
}

.thumbnail-nav.next-thumb {
    right: 5px;
}

/* Hide thumbnail navigation when not needed */
.thumbnail-nav.hidden {
    display: none;
}

/* Property Header */
.property-header {
    margin-bottom: 30px;
}

.property-title h1 {
    font-size: 42px;
    margin-bottom: 10px;
}

.price {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
}

/* Action Buttons */
.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 30px;
}

.action-buttons button {
    width: 100%;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
}

.enquire-btn {
    background-color: var(--primary-color) !important;
    color: white;
}

.whatsapp-btn {
    background-color: var(--secondary-color) !important;
    color: white !important;
    width: 100%;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
}

/* Property Snapshot */
.property-snapshot {
    background: var(--light-gray);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.snapshot-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 20px;
}

.snapshot-item {
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #333;
    padding-bottom: 6px;
}

.snapshot-item i {
    font-size: 20px;
    color: var(--primary-color);
}

/* Tenure Information */
.tenure-info {
    background: var(--light-gray);
    padding: 20px;
    border: none;
    border-radius: 8px;
    margin-bottom: 30px;
}

.tenure-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0px;
    margin-top: 20px;
}

.tenure-item {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    background: var(--light-gray);
    border-radius: 4px;
}

/* Overview */
.overview {
    background: #fff1f1;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.overview-content {
    margin-top: 20px;
}

.overview-content p {
    margin-bottom: 15px;
}

/* Area Highlights */
.area-highlights {
    margin-bottom: 30px;
}

.map-container {
    height: 400px;
    background: var(--light-gray);
    border-radius: 8px;
    margin-bottom: 30px;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.property-value-chart {
    background: white;
    padding: 20px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.property-value-chart h3 {
    margin-bottom: 20px;
    font-size: 18px;
    color: var(--text-color);
}

#propertyValueChart {
    width: 100% !important;
    height: 300px !important;
    margin-top: 15px;
}

/* Transport Links */
.transport-links {
    background: white;
    padding: 20px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.transport-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.tab-btn {
    padding: 10px 20px;
    border: none;
    background: none;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-color);
    position: relative;
}

.tab-btn.active {
    color: var(--primary-color);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.tab-content {
    margin-top: 20px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.transport-item {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    background: var(--light-gray);
    border-radius: 4px;
    margin-bottom: 10px;
}

/* Financial Snapshot */
.financial-snapshot {
    margin-bottom: 30px;
}

.financial-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    background: #fff1f1;
    padding: 30px;
    border-radius: 8px;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.section-header i {
    color: var(--primary-color);
    font-size: 24px;
}

.initial-investment,
.total-return {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.investment-header,
.return-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.investment-amount,
.return-amount {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.annual-return {
    color: #666;
    display: flex;
    align-items: center;
    gap: 5px;
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: white;
    border-radius: 4px;
    margin-bottom: 10px;
}

.item-label {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tooltip-trigger {
    color: #666;
    cursor: help;
    position: relative;
    display: inline-flex;
}

.tooltip-trigger:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 130%;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 15px;
    background: rgba(0, 0, 0, 0.85);
    color: white;
    border-radius: 6px;
    font-size: 12px;
    font-family: 'outfit', sans-serif !important;
    font-weight: 400;
    line-height: 1.5;
    white-space: normal;
    width: max-content;
    max-width: 280px;
    min-width: 200px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    animation: tooltipFade 0.2s ease-in-out;
}

.tooltip-trigger:before {
    position: absolute
    bottom:-8px;
}

@keyframes tooltipFade {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(5px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.view-breakdown-btn {
    width: 100%;
    padding: 12px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    margin-top: 10px;
}

.view-breakdown-btn:hover {
    background: #b30808;
}


/* Breakdown Popup */

.breakdown-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.breakdown-popup.active {
    display: flex;
}

.popup-content {
    background: white;
    padding: 0px;
    border-radius: 8px;
    width: 90%;
    max-width: 650px;
    position: relative;
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0px;
}

.close-popup {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

.breakdown-detail h4 {
    margin-bottom: 15px;
}

/* CSS for the light design */
.fee-breakdown-container table, tbody, thead, tr, td {
    border: none !important;

}


/* Container styles */
.fee-breakdown-container {
    background-color: #ffffff; /* White background color */
    color: #333333; /* Dark text color */
    font-family: 'outfit', sans-serif !important; /* Example font */
    padding: 0px; /* Padding around the table */
    border-radius: 8px; /* Optional: rounded corners for the container */
    overflow-x: auto; /* Add horizontal scroll for small screens if needed */
    border: 0px solid #dddddd; /* Subtle border around the container */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Optional: subtle shadow */
    font-size: 12px;
}

/* Table styles */
.fee-breakdown-container table {
    width: 100%; /* Make table fill the container width */
    border-collapse: collapse; /* Remove space between borders */
}

/* Header styles */
.fee-breakdown-container th {
    background-color: #f2f2f2; /* Light grey background for headers */
    color: #555555; /* Slightly darker text for headers */
    text-align: left; /* Align header text to the left */
    padding: 12px 15px; /* Padding inside header cells */
    font-weight: bold; /* Headers usually bold in light themes */
    border-bottom: 1px solid #dddddd; /* Border below header */

}

/* Adjust header column widths (example - you might need to fine-tune) */
.fee-breakdown-container th:nth-child(1) { /* Name column */
    width: 20%;
    min-width: 120px; /* Minimum width to prevent squishing */
}

.fee-breakdown-container th:nth-child(2) { /* Description column */
    width: 55%;
    min-width: 250px; /* Minimum width */
}

.fee-breakdown-container th:nth-child(3) { /* Amount column */
    width: 25%;
    min-width: 80px; /* Minimum width */
    text-align: right; /* Align amount header to the right */
}


/* Body row styles */
.fee-breakdown-container tbody tr {
    border-bottom: 1px solid #eeeeee; /* Lighter border below rows */
}

/* Last body row does not need a bottom border if footer has a top border */
.fee-breakdown-container tbody tr:last-child {
    border-bottom: none;
}


/* Body cell styles */
.fee-breakdown-container td {
    padding: 15px; /* Padding inside data cells */
    vertical-align: top; /* Align cell content to the top */
}

/* Align text in Name and Description columns to the left */
.fee-breakdown-container td:nth-child(1),
.fee-breakdown-container td:nth-child(2) {
    text-align: left;
}

/* Align text in Amount column to the right */
.fee-breakdown-container td:nth-child(3) {
    text-align: right;
    font-weight: bold; /* Amount seems bold */
    color: #333333; /* Ensure amount text is dark */
}


/* Footer styles (for the total row) */
.fee-breakdown-container tfoot tr {
    border-top: 1px solid #dddddd; /* Border above the total row */
    font-weight: bold; /* Make total row text bold */
    color: #333333; /* Ensure total text is dark */
    background-color: #f9f9f9; /* Slightly different background for the total row */
}

/* Style for the total text cell (spans two columns) */
.fee-breakdown-container tfoot td:nth-child(1) {
    text-align: left; /* Align total text to the left */
    padding: 15px; /* Padding for the total text cell */
}

/* Style for the total amount cell */
.fee-breakdown-container tfoot td:nth-child(2) {
    text-align: right; /* Align total amount to the right */
    padding: 15px; /* Padding for the total amount cell */
}


/* Basic Responsiveness */
@media (max-width: 768px) {
    /* On smaller screens, potentially adjust padding or font sizes */
    .fee-breakdown-container {
        padding: 10px;
    }

    .fee-breakdown-container th,
    .fee-breakdown-container td {
        padding: 8px 10px;
    }

    /* If you are using the stacking method (commented out in the dark CSS),
       update the colors for the stacked view as well: */
    /* Hide table headers */
    .fee-breakdown-container thead {
        display: none;
    }

    /* Style table rows to act like blocks */
    .fee-breakdown-container tr {
        display: block;
        margin-bottom: 10px;
        border: 1px solid #dddddd; /* Light border around each stacked item */
        border-radius: 4px;
        background-color: #ffffff; /* White background for stacked items */
    }

    /* Style table data cells to act like blocks */
    .fee-breakdown-container td {
        display: block;
        text-align: right !important; /* Force amount to the right */
        padding: 8px 10px; /* Adjust padding */
        border-bottom: 1px dotted #cccccc; /* Lighter separator between stacked fields */
    }

    /* Add data attributes to TDs in HTML and use CSS ::before to show labels */
    .fee-breakdown-container td::before {
        content: attr(data-label); /* Use data-label attribute for content */
        font-weight: bold;
        float: left; /* Float label to the left */
        margin-right: 10px;
        color: #555555; /* Darker label color */
    }

    /* Hide the border on the last td in the stacked view */
    .fee-breakdown-container td:last-child {
        border-bottom: none;
    }

    /* Footer adjustments for stacking */
    .fee-breakdown-container tfoot tr {
        display: block;
        border-top: none; /* Remove border above the total in stacked view */
        margin-top: 10px;
        background-color: #ffffff; /* Reset background for footer row */
        border: none; /* Remove border from footer row */
    }

    .fee-breakdown-container tfoot td {
        display: block;
        text-align: right !important;
        padding: 8px 10px;
        border-bottom: none;
    }



    /* Remove the extra colspan cell's display in stacked view */
    .fee-breakdown-container tfoot td:nth-child(1)[colspan="2"] {
        /* This td now acts like the label container due to ::before */
        padding-bottom: 0; /* Reduce space below the label */
        border-bottom: none;
    }

    .fee-breakdown-container tfoot td:nth-child(2) {
        /* This is the amount cell in the footer */
        padding-top: 0; /* Reduce space above the amount */
        font-weight: bold; /* Ensure total amount is bold */
        color: #333333; /* Ensure total amount is dark */
    }
}

/* You would also need to add data-label attributes to your <td> elements in the HTML for the stacking approach above to work well. Example: */
/*
<td data-label="Name">GG Search fee</td>
<td data-label="Description">...</td>
<td data-label="Amount">Â£2,376</td>
*/


/* Update button fonts */
button {
    font-family: 'outfit', sans-serif !important;
}

/* Enquiry Popup */
.enquiry-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.enquiry-popup.active {
    display: flex;
}

.enquiry-content {
    background: white;
    padding: 30px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    position: relative;
}

.enquiry-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.form-group label {
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: 'outfit', sans-serif !important;
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.submit-enquiry {
    background: var(--primary-color);
    color: white;
    padding: 12px;
    border: none;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    font-family: 'outfit', sans-serif !important;
}

.submit-enquiry:hover {
    background: #b30808;
}

/* Desktop Sidebar */
.sidebar.sidebar-for-mobile {
    display: none;
}

/* Chart Popup */
.tooltip-link {
    text-decoration: underline;
    color: #1a73e8;
    cursor: pointer;
}

.tooltip-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.tooltip-modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 25px;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    font-family: sans-serif;
}

.close-modal {
    float: right;
    font-size: 24px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
}



/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .sidebar {
        display: flex;
        flex-direction: column;
    }

    .action-buttons {
        flex-direction: row;
        order: 5;
        /* Move buttons to bottom of sidebar */
        margin-top: 20px;
        margin-bottom: 0;
    }

    .action-buttons button {
        flex: 1;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 10px;
        display: flex;
        flex-direction: column;
    }

    .main-content {
        display: flex;
        flex-direction: column;
    }

    /* Mobile Order */
    .property-slider {
        order: 1;
        width: 100%;
        margin-bottom: 20px;
    }

    .property-header {
        order: 2;
        width: 100%;
        margin-bottom: 20px;
    }

    .financial-snapshot {
        order: 4;
        width: 100%;
        margin-bottom: 20px;
    }

    /* Sidebar content */
    .sidebar:not(.sidebar-for-mobile) {
        display: none !important;
    }

    .sidebar.sidebar-for-mobile {
        display: flex !important;
        order: 3;
        width: 100%;
        flex-direction: column;
        margin-bottom: 20px;
    }

    /* Move buttons to bottom of sidebar */
    .sidebar .property-snapshot {
        order: 1;
    }

    .sidebar .tenure-info {
        order: 2;
    }

    .sidebar .overview {
        order: 3;
    }

    .sidebar .action-buttons {
        order: 4;
        margin-top: 20px;
        margin-bottom: 20px;
        flex-direction: row;
    }

    .action-buttons button {
        flex: 1;
    }

    /* Rest of the content */
    .area-highlights {
        order: 5;
        width: 100%;
        margin-bottom: 20px;
    }

    .transport-links {
        order: 6;
        width: 100%;
        margin-bottom: 20px;
    }

    /* Mobile adjustments */
    .slider-images {
        height: 350px;
    }

    .thumbnail-strip {
        padding: 10px 10px;
    }

    .thumbnail-strip img {
        width: 90px;
        height: 65px;
    }

    .financial-grid {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .tooltip-trigger:hover::after {
        min-width: 160px;
        max-width: 240px;
        font-size: 11px;
        padding: 8px 12px;
        bottom: 125%;
    }

    .tooltip-trigger:hover::before {
        bottom: 115%;
    }
}

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

    .slider-images {
        height: 250px;
    }

    .thumbnail-strip {
        padding: 10px 10px;
    }

    .thumbnail-strip img {
        width: 80px;
        height: 60px;
    }

    /* Stack action buttons on smallest screens */
    .sidebar .action-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .action-buttons button {
        width: 100%;
    }

    /* Adjust spacing for better mobile readability */
    .property-header,
    .financial-snapshot,
    .property-snapshot,
    .tenure-info,
    .overview,
    .area-highlights,
    .transport-links {
        margin-bottom: 20px;
    }

    .tooltip-trigger:hover::after {
        min-width: 140px;
        max-width: 200px;
        transform: translateX(-50%);
    }

    .tooltip-trigger:hover::before {
        left: 15px;
        transform: translateX(0);
    }

    .item-label .tooltip-trigger:hover::before {
        left: auto;
        right: 15px;
        transform: translateX(0);
    }
}

/* Preserve Desktop Layout */
@media (min-width: 769px) {
    .container {
        display: grid;
        grid-template-columns: 1fr 350px;
        gap: 30px;
    }

    .main-content {
        display: block;
    }

    .sidebar:not(.sidebar-for-mobile) {
        display: block !important;
    }

    .sidebar.sidebar-for-mobile {
        display: none !important;
    }

    .action-buttons {
        flex-direction: column;
        order: initial;
        margin: 0 0 30px 0;
    }

    /* Reset all mobile-specific ordering */
    .property-slider,
    .property-header,
    .financial-snapshot,
    .sidebar,
    .area-highlights,
    .transport-links,
    .property-snapshot,
    .tenure-info,
    .overview {
        order: initial;
    }
}

/* Transport and Schools Section */
.transport-schools {
    background: var(--light-pink);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
}

.tab-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.location-tab {
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    background: white;
    color: var(--text-color);
    font-family: 'outfit', sans-serif !important;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    min-width: 160px;
    justify-content: center;
}

.location-tab i {
    font-size: 18px;
}

.location-tab:hover,
.location-tab.active {
    background: var(--primary-color) !important;
}

.location-content {
    background: white;
    border-radius: 8px;
    padding: 25px;
}

.location-pane {
    display: none;
}

.location-pane.active {
    display: block;
}

.transport-type {
    margin-bottom: 25px;
}

.transport-type:last-child {
    margin-bottom: 0;
}

.type-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.type-header i {
    font-size: 22px;
    color: var(--text-color);
    width: 24px;
    display: flex;
    justify-content: center;
}

.type-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
}

.transport-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-left: 36px;
}

.transport-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 12px;
}

.transport-item:last-child {
    border-bottom: none;
}

.transport-item span:first-child {
    color: var(--text-color);
    font-weight: 400;
    font-size: 15px;
}

.transport-item span:last-child {
    color: var(--text-color);
    opacity: 0.7;
    font-size: 14px;
}

@media (max-width: 768px) {
    .transport-schools {
        padding: 20px;
        order: 6;
    }


    .tab-buttons {
        gap: 10px;
    }

    .location-tab {
        padding: 10px 15px;
        font-size: 14px;
        min-width: auto;
        flex: 1;
    }

    .location-tab i {
        font-size: 16px;
    }

    .location-content {
        padding: 20px;
    }

    .transport-items {
        padding-left: 32px;
    }

    .transport-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        padding-bottom: 10px;
    }

    .transport-item span:first-child {
        font-size: 14px;
    }

    .transport-item span:last-child {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .transport-schools {
        padding: 15px;
    }

    .tab-buttons {
        gap: 8px;
    }

    .location-tab {
        padding: 8px 12px;
        font-size: 13px;
    }

    .location-tab i {
        font-size: 15px;
    }

    .location-content {
        padding: 15px;
    }

    .type-header {
        gap: 10px;
    }

    .type-header i {
        font-size: 20px;
    }

    .type-header h3 {
        font-size: 16px;
    }

    .transport-items {
        padding-left: 30px;
        gap: 12px;
    }
}