/* General Styling */
body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Prevent horizontal overflow */
}

.container {
    width: 100%;
    max-width: 800px;
    margin: 10px auto;
    padding: 20px;
    box-sizing: border-box; /* Ensure padding is included in width calculation */
}

/* App Header Section */
.app-header {
    display: flex;
    align-items: center;
    padding-bottom: 10px;
    overflow-x: auto; /* Allow horizontal scroll if needed */
}

.app-icon {
    width: 60px;
    height: 60px;
    border-radius: 9px;
    margin-right: 20px;
    flex-shrink: 0; /* Prevent icon from shrinking */
}

.app-info {
    flex: 1;
}

.app-info h1 {
    margin: 0;
    font-size: 24px;
    word-wrap: break-word; /* Ensure long text breaks onto a new line */
}

.app-info p {
    margin: 5px 0;
    color: #666666;
}

/* Button Styling */
.btn-cnt {
    margin: 20px 0;
    display: flex;
    justify-content: center;
}

/* Button Styling */
.install-btn {
    width: 90%;
    max-width: 360px; /* Limit max width for better fit */
    padding: 15px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 30px; /* Corner radius of 30px */
    cursor: pointer;
    font-size: 16px;
    text-align: center;
    font-weight: bold; /* Make text bold */
}

.install-btn:hover {
    background-color: #45a049;
}


/* App Gallery Section */
.app-gallery {
    display: flex;
    gap: 10px;
    margin: 20px 0;
    overflow-x: auto; /* Allow horizontal scroll for gallery */
    padding-bottom: 10px;
}


/* App Description Section */
.app-description {
    margin: 20px 0;
}

.app-description h2 {
    margin-bottom: 10px;
}

/* Ratings and Reviews Section */
.app-reviews {
    margin: 20px 0;
}

.app-reviews h2 {
    margin-bottom: 15px;
    font-size: 20px;
    color: #333;
}

/* Review Card Styling */
.review-card {
    background-color: #e0e0e0;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    box-sizing: border-box; /* Ensure padding is included in width calculation */
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.reviewer-img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 2px solid #ccc;
    margin-right: 10px;
}

.reviewer-info {
    display: flex;
    flex-direction: column;
}

.reviewer-name {
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.review-rating {
    color: #ff9800;
    font-size: 16px;
    display: flex;
    align-items: center;
}

.review-rating span {
    margin-left: 10px;
    color: #999;
    font-size: 14px;
}

.review-text {
    color: #333;
    line-height: 1.4;
    margin-top: 10px;
}

/* Additional Information Section */
.additional-info h2 {
    margin-bottom: 10px;
}

.additional-info p {
    margin: 5px 0;
    color: #666666;
}

/* Responsive Design */
@media (max-width: 768px) {
    .app-header {
        flex-direction: row;
        justify-content: flex-start;
    }

    .review-header {
        flex-direction: row;
        align-items: center;
    }

    .reviewer-info {
        margin-left: 10px;
    }
}
/* App Support Section */
.app-support {
    margin: 20px 0;
    border-bottom: 1px solid #e0e0e0; /* Add border line below App Support */
    padding-bottom: 20px;
}

.app-support h2 {
    margin-bottom: 15px;
    font-size: 20px;
    color: #333;
}

.support-item {
    margin-bottom: 15px;
}

.support-label {
    display: block;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.support-value {
    color: #0000FF;
    text-decoration: none;
    font-size: 16px;
}

.support-value:hover {
    text-decoration: underline;
}
/* Header Section Styling */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px 3px 20px;
    background-color: #ffffff;
    border-bottom: 1px solid #e0e0e0;
}

.logo img {
    width: 150px; /* Adjust the width of the logo */
    height: auto;
}

.profile img {
    width: 40px; /* Size of the profile icon */
    height: 40px;
    
}
/* App Info Columns Section */
.app-info-columns {
    display: flex;
    justify-content: space-between;
    align-items: flex-end; /* Align to the top of each column */
    margin: 10px 0;
    padding: 0 10px;
}

.info-column {
    flex: 1;
    text-align: center;
    padding: 3px;
    box-sizing: border-box;
    max-width: 25%; /* Ensure 4 columns take up equal space */
}

.rating {
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 3px;
    color: #000000; /* Golden color for rating stars */
}

.num-ratings {
    font-size: 11px;
    color: #555;
}

.app-size {
    font-size: 11px;
    color: #333;
}

.download-icon {
    width: 16px;
    height: 16px;
    
}

.info-image {
    width: 16px;
    height: 16px;
}

.image-text {
    font-size: 11px;
    color: #555;
}

.line-text {
    font-size: 11px;
    color: #333;
}

/* Ensure the columns stay in one row on mobile devices */
@media (max-width: 768px) {
    .app-info-columns {
        flex-wrap: nowrap; /* Prevent wrapping on mobile */
    }

    .info-column {
        flex: 1 1 25%; /* Force columns to stay in one row */
        max-width: 25%; /* Ensure each column is 25% wide */
    }
}

/* App Gallery Images */


.gallery-image {
    width: 30%; /* Adjust width as needed */
    margin-bottom: 10px;
    cursor: pointer;
    border-radius: 8px;
    transition: transform 0.2s ease;
}

.gallery-image:hover {
    transform: scale(1.05);
}

/* Pop-up Overlay */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-image {
    max-width: 85%;
    max-height: 85%;
    border-radius: 8px;
    border: 2px solid #fff; /* Add a white border around the image */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5); /* Optional: Add a shadow for depth */
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 14px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
    z-index: 1001;
}

.prev-btn, .next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px;
    color: #fff;
    cursor: pointer;
    z-index: 1001;
    user-select: none;
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

@media (max-width: 480px) {
    .app-info h1 {
        font-size: 20px;
    }

    .rating {
        font-size: 14px;
    }

    .install-btn {
        width: 100%;
        font-size: 14px;
        max-width: none; /* Remove max-width for full width button */
    }

    .review-card {
        padding: 10px;
    }

    .reviewer-img {
        width: 30px;
        height: 30px;
    }

    .review-rating {
        font-size: 14px;
    }

    .review-text {
        font-size: 14px;
    }
}
