/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-light);
}

/* Navigation Styles */
.navbar {
    background-color: var(--card-bg);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.logo img {
    height: 50px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

    .nav-links a {
        text-decoration: none;
        color: var(--text-color);
        font-weight: 500;
        transition: color 0.3s ease;
    }

        .nav-links a:hover {
            color: var(--primary-color);
        }

        .nav-links a.active {
            color: var(--primary-color);
        }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

    .hamburger span {
        width: 25px;
        height: 3px;
        background-color: var(--text-color);
        transition: all 0.3s ease;
    }

/* Hero Section */
.hero {
    padding: 8rem 5% 4rem;
    background: var(--bg-gradient);
    text-align: center;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

    .cta-button:hover {
        background-color: var(--primary-dark);
    }

/* Featured Products Section */
.featured-products {
    padding: 4rem 5%;
}

    .featured-products h2 {
        text-align: center;
        margin-bottom: 3rem;
        font-size: 2rem;
    }

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
}

.product-card {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

    .product-card:hover {
        transform: translateY(-5px);
    }

    .product-card img {
       
        width: 100%;
        height: 200px;
        object-fit: contain;
        border-radius: 5px;
        margin-bottom: 1rem;
        padding: 0rem;
    }

    .product-card h3 {
        margin-bottom: 0.5rem;
    }

    .product-card p {
        color: var(--text-light);
        margin-bottom: 1rem;
    }

.product-button {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

    .product-button:hover {
        background-color: var(--primary-dark);
    }

/* Footer Styles */
footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 3rem 5% 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

    .social-links a {
        color: var(--footer-text);
        text-decoration: none;
        transition: color 0.3s ease;
    }

        .social-links a:hover {
            color: var(--primary-color);
        }

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 1rem;
        text-align: center;
    }

        .nav-links.active {
            display: flex;
        }

    .hamburger {
        display: flex;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* Products Page Styles */
.products-hero {
    padding: 8rem 5% 4rem;
    background: var(--bg-gradient);
    text-align: center;
    margin-bottom: 2rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 5%;
}

    .products-grid .product-card {
        display: flex;
        flex-direction: column;
        height: 100%;
        padding: 1.5rem;
    }

/* Product Gallery Styles */
.product-gallery {
    margin-bottom: 1.5rem;
    width: 100%;
}

.main-image {
    width: 100%;
    padding-top: 75%; /* 4:3 aspect ratio */
    position: relative;
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
}

    .main-image img {
        position: absolute;
        top: 0;
        left: 0;
        width: 70%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

        .main-image img:hover {
            transform: scale(1.05);
        }

.thumbnail-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    width: 100%;
}

.thumbnail {
    width: 100%;
    padding-top: 75%; /* 4:3 aspect ratio */
    position: relative;
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    overflow: hidden;
}

    .thumbnail img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .thumbnail:hover {
        transform: translateY(-2px);
    }

    .thumbnail.active {
        border-color: var(--primary-color);
    }

/* Responsive Gallery Adjustments */
@media (max-width: 768px) {
    .main-image {
        padding-top: 66.67%; /* 3:2 aspect ratio for medium screens */
    }

    .thumbnail-container {
        gap: 0.25rem;
    }
}

@media (max-width: 480px) {
    .main-image {
        padding-top: 100%; /* 1:1 aspect ratio for mobile */
    }

    .thumbnail {
        padding-top: 100%; /* 1:1 aspect ratio for mobile */
    }
}

.price {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: bold;
    margin: 0.5rem 0;
}

.description {
    flex-grow: 1;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
}

    .description.collapsed {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

.learn-more-btn {
    display: inline-block;
    color: var(--primary-color);
    cursor: pointer;
    font-weight: 500;
    margin-top: 0.5rem;
    text-decoration: underline;
}

    .learn-more-btn:hover {
        color: var(--primary-dark);
    }

.product-features {
    margin: 1rem 0;
}

    .product-features ul {
        list-style-position: inside;
        padding-left: 1rem;
        margin-bottom: 0.5rem;
    }

        .product-features ul.collapsed {
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

    .product-features li {
        color: var(--text-light);
        margin-bottom: 0.5rem;
    }

.features-learn-more-btn {
    display: inline-block;
    color: var(--primary-color);
    cursor: pointer;
    font-weight: 500;
    margin-top: 0.5rem;
    text-decoration: underline;
}

    .features-learn-more-btn:hover {
        color: var(--primary-dark);
    }

/* Services Page Styles */
.services-hero {
    padding: 8rem 5% 4rem;
    background: var(--bg-gradient);
    text-align: center;
    margin-bottom: 2rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 5%;
}

.service-card {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

    .service-card:hover {
        transform: translateY(-5px);
    }

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
}

    .service-icon img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

    .service-features li {
        margin-bottom: 0.5rem;
        color: var(--text-light);
    }

.service-button {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

    .service-button:hover {
        background-color: var(--primary-dark);
    }

.why-choose-us {
    padding: 4rem 5%;
    background-color: var(--bg-light);
    text-align: center;
}

    .why-choose-us h2 {
        margin-bottom: 3rem;
        color: var(--text-color);
    }

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature {
    padding: 1.5rem;
    background: var(--card-bg);
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

    .feature h4 {
        color: var(--primary-color);
        margin-bottom: 1rem;
    }

    .feature p {
        color: var(--text-light);
    }

/* About Page Styles */
.about-hero {
    padding: 8rem 5% 4rem;
    background: var(--bg-gradient);
    text-align: center;
    margin-bottom: 2rem;
}

.company-story {
    padding: 4rem 5%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.story-content h2 {
    margin-bottom: 2rem;
    color: var(--text-color);
}

.story-content p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    line-height: 1.8;
}

.story-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.mission-values {
    padding: 4rem 5%;
    background-color: var(--bg-light);
    text-align: center;
}

    .mission-values h2 {
        margin-bottom: 3rem;
        color: var(--text-color);
    }

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

    .value-card:hover {
        transform: translateY(-5px);
    }

    .value-card h3 {
        color: var(--primary-color);
        margin-bottom: 1rem;
    }

    .value-card p {
        color: var(--text-light);
    }

.team-section {
    padding: 4rem 5%;
    text-align: center;
}

    .team-section h2 {
        margin-bottom: 3rem;
        color: var(--text-color);
    }

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

.team-member {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

    .team-member:hover {
        transform: translateY(-5px);
    }

    .team-member img {
        width: 200px;
        height: 200px;
        border-radius: 50%;
        margin-bottom: 1.5rem;
        object-fit: cover;
    }

    .team-member h3 {
        margin-bottom: 0.5rem;
        color: var(--text-color);
    }

    .team-member .position {
        color: var(--primary-color);
        font-weight: 500;
        margin-bottom: 1rem;
    }

    .team-member .bio {
        color: var(--text-light);
    }

@media (max-width: 768px) {
    .company-story {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .story-image {
        order: -1;
    }

    .team-member img {
        width: 150px;
        height: 150px;
    }
}

/* Contact Page Styles */
.contact-hero {
    padding: 8rem 5% 4rem;
    background: var(--bg-gradient);
    text-align: center;
    margin-bottom: 2rem;
}

.contact-section {
    padding: 4rem 5%;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
}

.contact-info h2,
.contact-form h2 {
    margin-bottom: 2rem;
    color: var(--text-color);
}

.info-item {
    margin-bottom: 2rem;
}

    .info-item h3 {
        color: var(--primary-color);
        margin-bottom: 0.5rem;
    }

    .info-item p {
        color: var(--text-light);
        line-height: 1.6;
    }

.contact-form form {
    display: grid;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

    .form-group label {
        margin-bottom: 0.5rem;
        color: var(--text-color);
    }

    .form-group input,
    .form-group textarea {
        padding: 0.8rem;
        border: 1px solid #ddd;
        border-radius: 5px;
        font-size: 1rem;
    }

    .form-group textarea {
        resize: vertical;
    }

.submit-button {
    padding: 1rem 2rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

    .submit-button:hover {
        background-color: var(--primary-dark);
    }

.map-section {
    padding: 4rem 5%;
    text-align: center;
}

    .map-section h2 {
        margin-bottom: 2rem;
        color: var(--text-color);
    }

.map-container {
    width: 100%;
    height: 400px;
    background-color: var(--bg-light);
    border-radius: 10px;
    overflow: hidden;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-light);
    color: var(--text-light);
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-info {
        text-align: center;
    }
}

/* Time Attendance Software Section */
.time-attendance {
    padding: 6rem 5%;
    background-color: var(--bg-light);
}

.software-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.software-info h2 {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.software-info .subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.features-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.feature-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.feature-item p {
    color: var(--text-light);
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
}

.primary-button,
.secondary-button {
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.primary-button {
    background-color: var(--primary-color);
    color: white;
}

    .primary-button:hover {
        background-color: var(--primary-dark);
    }

.secondary-button {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

    .secondary-button:hover {
        background-color: var(--primary-color);
        color: white;
    }

.software-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Software Benefits Section */
.software-benefits {
    padding: 6rem 5%;
    text-align: center;
}

    .software-benefits h2 {
        font-size: 2rem;
        color: var(--text-color);
        margin-bottom: 3rem;
    }

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

    .benefit-card:hover {
        transform: translateY(-5px);
    }

    .benefit-card h3 {
        color: var(--primary-color);
        margin-bottom: 1rem;
    }

    .benefit-card p {
        color: var(--text-light);
        line-height: 1.6;
    }

/* Responsive Design for Time Attendance Sections */
@media (max-width: 992px) {
    .software-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .software-info {
        text-align: center;
    }

    .features-list {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto 2.5rem;
    }

    .cta-buttons {
        justify-content: center;
    }

    .software-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .software-info h2 {
        font-size: 2rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
}

/* Theme Variables */
:root {
    /* Default Theme (Blue) */
    --primary-color: #007bff;
    --primary-dark: #0056b3;
    --text-color: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --bg-gradient: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    --card-bg: white;
    --footer-bg: #1a1a1a;
    --footer-text: white;
}

/* Dark Theme */
[data-theme="dark"] {
    --primary-color: #00a8ff;
    --primary-dark: #0097e6;
    --text-color: #ffffff;
    --text-light: #cccccc;
    --bg-light: #2c3e50;
    --bg-gradient: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    --card-bg: #34495e;
    --footer-bg: #2c3e50;
    --footer-text: #ffffff;
}

/* Green Theme */
[data-theme="green"] {
    --primary-color: #2ecc71;
    --primary-dark: #27ae60;
    --text-color: #333;
    --text-light: #666;
    --bg-light: #f0f9f4;
    --bg-gradient: linear-gradient(135deg, #f0f9f4 0%, #e0f2e9 100%);
    --card-bg: white;
    --footer-bg: #1a1a1a;
    --footer-text: white;
}

/* Purple Theme */
[data-theme="purple"] {
    --primary-color: #9b59b6;
    --primary-dark: #8e44ad;
    --text-color: #333;
    --text-light: #666;
    --bg-light: #f5f0f7;
    --bg-gradient: linear-gradient(135deg, #f5f0f7 0%, #ede4f1 100%);
    --card-bg: white;
    --footer-bg: #1a1a1a;
    --footer-text: white;
}

/* Orange Theme */
[data-theme="orange"] {
    --primary-color: #e67e22;
    --primary-dark: #d35400;
    --text-color: #333;
    --text-light: #666;
    --bg-light: #fdf3ea;
    --bg-gradient: linear-gradient(135deg, #fdf3ea 0%, #fae5d3 100%);
    --card-bg: white;
    --footer-bg: #1a1a1a;
    --footer-text: white;
}

/* Theme Switcher Styles */
.theme-switcher {
    position: relative;
    margin-left: 2rem;
}

.theme-btn {
    background: none;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

    .theme-btn:hover {
        background-color: var(--primary-color);
        color: white;
    }

.theme-options {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--card-bg);
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    padding: 0.5rem;
    display: none;
    z-index: 1000;
}

    .theme-options.active {
        display: block;
    }

.theme-option {
    padding: 0.5rem 1rem;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.3s ease;
}

    .theme-option:hover {
        background-color: var(--bg-light);
    }

/*#main-image-1 {
    width: 350px;
    height: auto;
    position:absolute;
}*/

