* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: rgb(252, 249, 246);
    color: #333;
    line-height: 1.6;
}

.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #007acc;
}

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
}

.hero-content {
    text-align: center;
}

.hero-logo {
    height: auto;
    width: auto;
    margin-bottom: 2rem;
    /* Removed the drop-shadow filter */
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.hero-content p {
    font-size: 1.2rem;
    color: #7f8c8d;
}

.ptx-section {
    padding: 4rem 0;
    background-color: rgba(255, 255, 255, 0.7);
}

.container {
    max-width: 1400px; /* Increased from 1200px */
    margin: 0 auto;
    padding: 0 1rem; /* Reduced from 2rem */
}

.ptx-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #2c3e50;
}

.ptx-content {
    max-width: 100%; /* Changed from 600px to use full width */
    margin: 0 auto;
}

.description-text {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 0 auto 2rem auto; /* Center the description */
    border-left: 4px solid #007acc;
    max-width: 600px; /* Restore the original width constraint */
}

.description-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #444;
    margin: 0;
}

.ptx-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
    text-align: center;
}

.btn-free {
    background-color: #757575;
    color: white;
}

.btn-free:hover {
    background-color: #562188;
    transform: translateY(-2px);
}

.btn-purchase {
    background-color: #414141;
    color: white;
}

.btn-purchase:hover {
    background-color: #0056a3;
    transform: translateY(-2px);
}

.contact-form-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    transition: opacity 0.3s ease;
}

.contact-form-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}

.contact-form-container {
    background-color: white;
    padding: 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #999;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: #333;
}

.contact-form-container h3 {
    margin-bottom: 1.5rem;
    color: #2c3e50;
    text-align: center;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #555;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e1e8ed;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007acc;
}

.btn-submit {
    width: 100%;
    background-color: #007acc;
    color: white;
    margin-top: 1rem;
}

.btn-submit:hover {
    background-color: #0056a3;
}

.product-details {
    display: flex;
    gap: 1rem; /* Reduced gap to maximize column width */
    margin-top: 3rem;
    justify-content: space-between;
    width: 100%; /* This will use full width for the columns */
}

.detail-column {
    flex: 1;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    padding: 1rem; /* Reduced padding to maximize image space */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    min-width: 0; /* Prevents flex items from overflowing */
}

.detail-column:hover {
    transform: translateY(-5px);
}

.detail-image-placeholder {
    position: relative;
    width: 100%;
    height: auto; /* Changed to auto to maintain aspect ratio */
    min-height: 120px; /* Minimum height for wide images */
    background-color: #f0f0f0;
    border: 2px dashed #ccc;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    overflow: hidden;
    cursor: pointer; /* Added cursor pointer for clickable images */
}

.detail-image {
    width: 100%;
    height: auto; /* Changed to auto to maintain aspect ratio */
    object-fit: contain; /* Changed from cover to contain to show full image */
    display: block; /* Changed from 'none' to 'block' to show images */
    position: absolute;
    top: 0;
    left: 0;
    transition: transform 0.3s ease;
}

.detail-image:hover {
    transform: scale(1.05);
}

.image-placeholder-text {
    color: #999;
    font-style: italic;
    text-align: center;
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
    background-color: rgba(240, 240, 240, 0.9);
    padding: 0.5rem;
    border-radius: 4px;
}

/* Hide placeholder text when image loads successfully */
.detail-image-placeholder img[src]:not([src=""]) + .image-placeholder-text {
    display: none;
}

/* Modal styles for expanded images */
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.image-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #ccc;
}

.detail-content h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.detail-content p {
    color: #555;
    line-height: 1.6;
    font-size: 0.9rem;
}

.additional-section {
    margin-top: 4rem;
    text-align: center;
}

.section-heading {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 1rem; /* Reduced from 2rem */
    font-weight: 600;
}

.two-image-layout {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 1rem; /* Reduced from 2rem */
}

.image-container {
    position: relative;
    width: 450px; /* Adjusted for 1024x240 aspect ratio */
    height: 105px; /* Adjusted for 1024x240 aspect ratio */
    background-color: transparent;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: pointer;
}

.image-container .detail-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
}

.image-container .detail-image:hover {
    transform: scale(1.05);
}

.image-container .image-placeholder-text {
    color: #999;
    font-style: italic;
    text-align: center;
    font-size: 0.9rem;
    position: absolute;
    z-index: 1;
    background-color: rgba(240, 240, 240, 0.9);
    padding: 0.5rem;
    border-radius: 4px;
}

.section-description {
    max-width: 800px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #007acc;
}

.section-description p {
    font-size: 1rem;
    line-height: 1.6;
    color: #444;
    margin: 0;
}

@media (max-width: 1024px) {
    .product-details {
        gap: 0.75rem;
    }
    
    .detail-column {
        padding: 0.75rem;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .ptx-links {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 200px;
    }

    .product-details {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .detail-image-placeholder {
        position: relative;
        width: 100%;
        height: auto;
        min-height: 120px;
        background-color: transparent; /* Changed from #f0f0f0 */
        /* Removed: border: 2px dashed #ccc; */
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 1.5rem;
        overflow: hidden;
        cursor: pointer;
    }

    .container {
        padding: 0 0.5rem;
    }

    .detail-column {
        padding: 1rem;
    }
    
    .detail-content h3 {
        font-size: 1.1rem;
    }
    
    .detail-content p {
        font-size: 0.85rem;
    }

    .two-image-layout {
        flex-direction: column;
        align-items: center;
        gap: 1rem; /* Reduced gap for mobile */
    }

    .image-container {
        width: 350px; /* Maintain aspect ratio on mobile */
        height: 82px; /* Maintain aspect ratio on mobile */
    }
        
    .section-description {
        padding: 1rem;
    }
}