/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* Navigation */
.topnav {
    overflow: hidden;
    background-color: #333;
}

.topnav a {
    float: left;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
}

.topnav a:hover {
    background-color: #ddd;
    color: black;
}

.topnav a.active {
    background-color: #04AA6D;
    color: white;
}

/* Carousel */
.carousel-container {
    width: 845px;
    height: 163px;
    overflow: hidden;
    position: relative;
    margin: auto;
    border: 2px solid #ddd;
    margin-bottom: 20px;
}

.carousel-track {
    display: flex;
    animation: scroll 30s linear infinite;
}

.carousel-track img {
    width: 845px;
    height: 163px;
    object-fit: cover;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-2520px);
    }
}

/* Title */
h1 {
    font-family: 'Arial', sans-serif;
    font-size: 36px;
    color: #4CAF50;
    text-align: center;
    font-weight: bold;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Search Container */
.search-container {
    text-align: center;
    margin-bottom: 20px;
}

.search-container input[type="text"] {
    padding: 10px;
    width: 300px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.search-container button {
    padding: 10px 15px;
    background-color: #4CAF50;
    color: white;
    border: none;
    font-size: 16px;
    cursor: pointer;
    border-radius: 4px;
    margin-left: 10px;
}

.search-container button:hover {
    background-color: #45a049;
}

/* Price Tags Container */
.price-tags-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    padding: 20px;
    background-color: #f0f0f0;
    box-sizing: border-box;
}

.price-tag {
    border: 2px solid #4CAF50;
    border-radius: 8px;
    padding: 20px;
    background-color: #f9f9f9;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: calc(25% - 20px);
    box-sizing: border-box;
    text-align: center;
    transition: transform 0.3s ease;
}

.price-tag:hover {
    transform: scale(1.05);
}

.price-tag .category {
    font-size: 14px;
    font-weight: bold;
    background-color: #D3D3D3;
    padding: 5px;
    border-radius: 5px;
    margin-bottom: 10px;
}

.price-tag .addon-name {
    font-size: 20px;
    font-weight: bold;
    color: white;
    background-color: darkblue;
    padding: 8px;
    border-radius: 5px;
    margin-bottom: 10px;
}

.price-tag .description {
    font-size: 14px;
    color: #555;
    margin-bottom: 15px;
    line-height: 1.4;
}

.price-tag .price {
    font-size: 18px;
    font-weight: bold;
    color: white;
    background-color: blue;
    padding: 8px;
    border-radius: 5px;
    margin-bottom: 15px;
}

/* PDF Button Styles - Update to match original structure */
.price-tag .viewpdf {
    display: inline-block;
    margin-top: 8px;
    padding: 6px 10px;
    background-color: #ff9800;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 12px;
    margin-right: 5px;
    transition: background-color 0.3s ease;
    text-align: center;
    border: none;
    cursor: pointer;
}

.price-tag .viewpdf:hover {
    background-color: #f57c00;
    text-decoration: none;
    color: white;
}

/* Button group for price tag */
.price-tag .button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.price-tag .button-group > * {
    flex: 1;
    min-width: calc(33.333% - 6px);
    text-align: center;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .price-tag .button-group > * {
        min-width: calc(50% - 4px);
    }
}

@media screen and (max-width: 480px) {
    .price-tag .button-group {
        flex-direction: column;
    }
    
    .price-tag .button-group > * {
        min-width: 100%;
        margin-bottom: 5px;
    }
    
    .price-tag .button-group > *:last-child {
        margin-bottom: 0;
    }
}

.price-tag .trial-button {
    background-color: #25D366;
    color: white;
    margin-top: 8px;
    padding: 6px 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    width: 100%;
}

.price-tag .trial-button:hover {
    background-color: #1da851;
}

/* Table Styles */
.dcf-table {
    font-size: 16px;
}

.dcf-table thead th {
    background-color: #4CAF50;
    color: white;
    padding: 10px;
    text-align: left;
}

.dcf-table-striped tbody tr:nth-child(odd) {
    background-color: #f9f9f9;
}

.dcf-table-striped tbody tr:nth-child(even) {
    background-color: #e0f7fa;
}

.dcf-table tbody th, .dcf-table tbody td {
    padding: 8px;
    border-bottom: 1px solid #ddd;
}

/* Footer */
footer {
    text-align: center;
    background: #f1f1f1;
    padding: 15px;
    margin-top: 40px;
    font-size: 14px;
    color: #555;
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    .carousel-container {
        width: 90%;
        height: auto;
    }
    
    .carousel-track img {
        width: 100%;
        height: auto;
    }
    
    .price-tag {
        width: calc(33.333% - 20px);
    }
}

@media screen and (max-width: 768px) {
    .price-tag {
        width: calc(50% - 20px);
    }
    
    h1 {
        font-size: 28px;
    }
    
    .search-container input[type="text"] {
        width: 250px;
    }
    
    .carousel-container {
        width: 100%;
        height: 120px;
    }
}

@media screen and (max-width: 480px) {
    .price-tag {
        width: 100%;
    }
    
    h1 {
        font-size: 24px;
    }
    
    .search-container input[type="text"] {
        width: 200px;
    }
    
    .topnav a {
        float: none;
        display: block;
        text-align: left;
    }
    
    .dcf-table {
        font-size: 12px;
    }
    
    .carousel-container {
        height: 100px;
    }
}