
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.modal {
display: none;
position: fixed;
z-index: 9999;
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: auto;
background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
background-color: #fff;
margin: 10% auto;
padding: 20px;
border-radius: 8px;
width: 80%;
max-width: 600px;
position: relative;
}

.close-modal {
position: absolute;
top: 10px;
right: 20px;
font-size: 28px;
font-weight: bold;
color: #333;
cursor: pointer;
}


.solar-systems-container {
    max-width: 1200px;
    margin: 0 auto;
    /* padding: 20px; */
}

.system-nav {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.system-item {
    flex: 1;
}

.system-item a {
    display: block;
    padding: 15px 20px;
    background-color: #f5f5f5;
    color: #333;
    text-decoration: none;
    text-align: center;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: bold;
}

.system-item a:hover {
    background-color: #1a4789;
    color: white;
}

.system-item.active a {
    background-color: #1a4789;
    color: white;
}

.content-section {
    display: none;
    padding: 30px;
    border-radius: 8px;
    background-color: #fff;
    /* box-shadow: 0 2px 15px rgba(0,0,0,0.1); */
}

.content-section.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.system-details {
    display: flex;
    gap: 40px;
    margin-top: 20px;
}
/* 
.system-image {
    flex: 1;
    max-width: 50%;
} */

.system-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.system-info {
    flex: 1;
}

.system-title {
    color: #1a4789;
    margin-bottom: 20px;
    font-size: 28px;
}

.features {
    margin-top: 20px;
}

.features h3 {
    color: #1a4789;
    margin-bottom: 15px;
    font-size: 20px;
}

.features ul {
    list-style-type: none;
}

.features li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
}

.features li:before {
    content: "•";
    color: #1a4789;
    font-weight: bold;
    margin-right: 10px;
}

.features li:last-child {
    border-bottom: none;
}

.system-description {
    margin: 20px 0;
    line-height: 1.8;
    color: #666;
}

.products-section {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid #eee;
}

.products-title {
    color: #1a4789;
    margin-bottom: 30px;
    text-align: center;
    font-size: 24px;
}

.product-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.product-card {
    background: rgb(86 159 203 / 14%);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 18px;
}

.specs-button {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    background-color: #1a4789;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.specs-button:hover {
    background-color: #0d2b5a;
}

.specs-button .arrow {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.specs-button:hover .arrow {
    transform: translateX(5px);
}

/* Product Detail Styles */
.product-detail-page {
    display: none;
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.back-button {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background-color: #1a4789;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin-bottom: 20px;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.back-button:hover {
    background-color: #0d2b5a;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.spec-table th,
.spec-table td {
    padding: 12px 15px;
    border: 1px solid #ddd;
    text-align: left;
}

.spec-table th {
    background-color: #1a4789;
    color: white;
    font-weight: 600;
}

.spec-table tr:nth-child(even) {
    background-color: #f8f9fa;
}

.spec-table tr:hover {
    background-color: #f1f4f9;
}

@media (max-width: 768px) {
    .system-nav {
        flex-direction: column;
    }
    
    .system-details {
        flex-direction: column;
    }
    
    .system-image {
        max-width: 100%;
    }

    .product-cards {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }

    .spec-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    
    .spec-table th,
    .spec-table td {
        padding: 8px 12px;
        font-size: 13px;
    }
}


/* non-pressure */
.available-capacities {
    background-color: #f9f9f9;
    border-left: 4px solid #102791;
    border-right: 4px solid #102791;
    padding: 20px;
    margin-top: 30px;
    border-radius: 8px;
  }
  
  .available-capacities h3 {
    font-size: 22px;
    color: #102791;
   
  }
  
  .available-capacities ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
  }
  
  .available-capacities li {
    font-size: 16px;
    /* margin-bottom: 10px; */
    color: #083542;
  }
  
  .available-capacities li strong {
    color: #102791;
  }
  