@charset "UTF-8";

/* Global Variables */
:root {
    --primary-green: #3ab54a;
    --primary-hover: #2e9e3e;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --border-color: #eee;
}

/* =========================================
   Global Reset & Utilities
   ========================================= */
body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
}

a {
    color: var(--primary-green);
    text-decoration: none;
}

a:hover {
    color: var(--primary-hover);
}

/* =========================================
   Home Page Styles
   ========================================= */
.hero-section {
    padding: 60px 0;
    background-color: #fff;
    display: flex;
    align-items: center;
}

.hero-text {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-right: 30px;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #333;
    line-height: 1.2;
}

.hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-green);
}

/* Categories Section */
.categories-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.category-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.category-card img {
    max-width: 100%;
    height: 150px;
    object-fit: contain;
    margin-bottom: 15px;
}

.category-card h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

/* Services Section */
.services-section {
    padding: 60px 0;
    background-color: #fff;
}

.service-card {
    background: white;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.service-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-color: var(--primary-green);
    transform: translateY(-5px);
}

.service-icon {
    margin-bottom: 20px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card h5 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
}

.service-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* =========================================
   Product Grid Styles (Category Page)
   ========================================= */
.products-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.product-card {
    background: white;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px;
    width: 270px; /* Fits 4 in 1200px container */
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.product-image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    overflow: hidden;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
    flex-grow: 1;
}

.product-actions {
    margin-top: auto;
}

.view-btn {
    display: inline-block;
    padding: 8px 20px;
    background-color: var(--primary-green);
    color: white;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background-color 0.3s;
}

.view-btn:hover {
    background-color: var(--primary-hover);
    color: white;
    text-decoration: none;
}

/* =========================================
   Contact Us Page Styles
   ========================================= */
.contact-us-body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
}

.contact-us-body .header-section {
    background-color: #f0f0f0;
    padding: 60px 20px;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
}

.contact-us-body .header-section h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.contact-us-body .breadcrumb-nav {
    font-size: 1rem;
    color: #666;
}

.contact-us-body .breadcrumb-nav a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
}

.contact-us-body .main-content {
    padding: 60px 20px;
}

.contact-us-body .container-custom {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-us-body .content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

@media (max-width: 768px) {
    .contact-us-body .content-wrapper {
        grid-template-columns: 1fr;
    }
}

.contact-form-section h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-control:focus {
    border-color: var(--primary-green);
    outline: none;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background-color: var(--primary-green);
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: var(--primary-hover);
}

.contact-info-section {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.info-icon {
    font-size: 1.5rem;
    color: var(--primary-green);
    margin-right: 20px;
    width: 30px;
    text-align: center;
}

.info-text h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: #333;
}

.info-text p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.map-container {
    margin-top: 30px;
    border-radius: 10px;
    overflow: hidden;
}

/* =========================================
   Software Page Styles
   ========================================= */
.software-body {
    background-color: #f8f9fa;
    min-height: 100vh;
}

.software-body .header-section {
    background-color: #f0f0f0;
    padding: 60px 20px;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
}

.software-body .header-section h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.software-body .breadcrumb-nav {
    font-size: 1rem;
    color: #666;
}

.software-body .breadcrumb-nav a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
}

.software-body .container-custom {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.software-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 30px;
    text-align: center;
}

.software-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.software-logo img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

.software-list-container {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.software-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

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

.software-item-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.download-btn {
    display: inline-block;
    min-width: 150px;
    padding: 12px 25px;
    background-color: var(--primary-green);
    color: white;
    text-align: center;
    border-radius: 5px;
    font-weight: 500;
    transition: background-color 0.3s;
    text-decoration: none;
}

.download-btn:hover {
    background-color: #218838;
    color: white;
    text-decoration: none;
}

/* =========================================
   Calculator Page Styles
   ========================================= */
.calculator-body {
    background-color: #f8f9fa;
    min-height: 100vh;
}

.calculator-body .header-section {
    background-color: #f0f0f0;
    padding: 60px 20px;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
}

.calculator-body .header-section h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.calculator-body .breadcrumb-nav {
    font-size: 1rem;
    color: #666;
}

.calculator-body .breadcrumb-nav a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
}

.calculator-body .container-custom {
    max-width: 800px;
    margin: 60px auto;
    padding: 0 20px;
}

.calculator-card {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.calculator-title-wrapper {
    text-align: center;
    margin-bottom: 30px;
}

.calculator-title-wrapper h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
}

.calc-btn {
    width: 100%;
    padding: 15px;
    background-color: var(--primary-green);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 10px;
}

.calc-btn:hover {
    background-color: #218838;
}

.result-box {
    margin-top: 30px;
    padding: 20px;
    background-color: #e8f5e9;
    border: 1px solid #c8e6c9;
    border-radius: 5px;
    text-align: center;
}

.result-box p {
    font-size: 1.25rem;
    color: #2e7d32;
    font-weight: 700;
    margin: 0;
}

.disclaimer {
    margin-top: 20px;
    font-size: 0.85rem;
    color: #888;
    text-align: center;
}

/* =========================================
   About Us Page Styles
   ========================================= */
.about-us-body {
    background-color: #ffffff;
}

.about-us-body .header-section {
    background-color: #f0f0f0;
    padding: 60px 20px;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
}

.about-us-body .header-section h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.about-us-body .breadcrumb-nav {
    font-size: 1rem;
    color: #666;
}

.about-us-body .breadcrumb-nav a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
}

.divider-line {
    height: 1px;
    background-color: #e0e0e0;
    margin: 0;
}

.timeline-section {
    padding: 60px 20px;
    background-color: #fff;
}

.timeline-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.timeline-item {
    text-align: center;
    flex: 1;
    min-width: 250px;
}

.timeline-logo {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.timeline-logo img {
    max-height: 100%;
    max-width: 100%;
}

.timeline-year {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 10px;
}

.timeline-event {
    font-size: 1.1rem;
    color: #555;
    font-weight: 500;
}

.profile-section {
    padding: 60px 20px 150px 20px;
    background-color: #f9f9f9;
    margin-bottom: 40vh;
}

.profile-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.profile-logo {
    flex: 0 0 40%;
    max-width: 40%;
    text-align: left;
}

.profile-logo img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.profile-content {
    flex: 0 0 55%;
    max-width: 55%;
    text-align: left;
}

.profile-title {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.profile-text {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
}

@media (max-width: 768px) {
    .profile-container {
        flex-direction: column;
    }
    
    .timeline-container {
        flex-direction: column;
        gap: 40px;
    }
}

/* =========================================
   Product Category Page Styles
   ========================================= */
.product-category-wrapper {
    background-color: #f8f9fa;
    min-height: 100vh;
}

.product-category-wrapper .header-section {
    background-color: #f0f0f0;
    padding: 60px 20px;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
}

.product-category-wrapper .header-section h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.product-category-wrapper .breadcrumb-nav {
    font-size: 1rem;
    color: #666;
}

.product-category-wrapper .breadcrumb-nav a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
}

.product-category-wrapper .main-content {
    padding: 60px 20px;
}

.product-category-wrapper .container-custom {
    max-width: 1200px;
    margin: 0 auto;
}

/* =========================================
   Product Details Page Styles
   ========================================= */
.product-details-body {
    background-color: #fff;
    padding: 60px 0;
}

.product-image-container {
    position: relative;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    background: #fff;
    overflow: hidden; /* Ensure zoom stays within box */
}

.product-image-container img {
    max-width: 100%;
    height: auto;
    transition: transform 0.5s ease; /* Smooth zoom transition */
    cursor: pointer;
}

.product-image-container:hover img {
    transform: scale(1.2); /* Zoom effect on hover */
}

.zoom-icon {
    position: absolute;
    bottom: 15px;
    right: 15px;
    font-size: 1.2rem;
    color: #999;
    cursor: pointer;
    background: white;
    padding: 8px;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.zoom-icon:hover {
    color: var(--primary-green);
    transform: scale(1.1);
}

.product-title {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.part-number {
    font-size: 1rem;
    color: #666;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.feature-section {
    margin-bottom: 30px;
}

.feature-text {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    /* Added overflow handling for mixed content */
    overflow-wrap: break-word;
}

.feature-text ul {
    list-style: none;
    padding-left: 0;
}

.feature-text ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}

.feature-text ul li:before {
    content: '\f00c'; /* FontAwesome Check */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--primary-green);
    font-size: 0.9rem;
}

/* TABLE FIXES */
.feature-text table {
    width: 100% !important;
    max-width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    margin-bottom: 20px;
    display: block; /* Ensures scroll behavior */
    overflow-x: auto; /* Adds scroll if too wide */
}

.feature-text table th,
.feature-text table td {
    padding: 12px 15px;
    border: 1px solid #eee;
    text-align: left;
    white-space: normal; /* Allows text to wrap */
}

.feature-text table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #333;
}

.feature-text table tr:nth-child(even) {
    background-color: #fcfcfc;
}

.btn-download {
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    color: #333;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 500;
    margin-right: 10px;
    margin-bottom: 10px;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s;
}

.btn-download:hover {
    background-color: var(--primary-green);
    color: white;
    border-color: var(--primary-green);
    text-decoration: none;
}

.pressmart-navigation ul.menu > li.menu-item-has-children > a:after {
    display: none !important;
}