/* --- GLOBAL STYLES & RESET --- */
:root {
    --color-primary: #ffcd1c;
    --color-dark-grey: #262329;
    --color-medium-grey: #54595f;
    --color-light-grey: #f5f5f5;
    --color-text: #555;
    --color-text-light: #7a7a7a;
    --color-blue-grey: #98aec0;
    --color-white: #ffffff;
    --font-body: 'Work Sans', sans-serif;
}

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

body {
    font-family: 'Work Sans', sans-serif;
    color: var(--color-text);
    background-color: #fff;
    font-size: 16px;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 600;
}



/* --- MAIN CONTENT --- */


.hero {
    position: relative;
    height: 484px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    text-align: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
}

/* --- TABS SECTION --- */
.solutions-tabs {
    border-bottom: 1px solid #e0e0e0;
}

.tabs-nav {
    display: flex;
    justify-content: center;
    background-color: #f7f7f7;
}

.tab-link {
    flex: 1;
    padding: 25px 15px;
    border: none;
    background-color: transparent;
    cursor: pointer;
    font-size: 16px;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-text);
    text-align: center;
    transition: background-color 0.3s, color 0.3s;
    border-bottom: 3px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.tab-link i {
    font-size: 20px;
    display: none;
}

.tab-link .tab-title {
    display: inline;
}

.tab-link:hover {
    background-color: var(--color-medium-grey);
    color: var(--color-white);
    border-bottom: 3px solid var(--color-primary);
}

.tab-link.active {
    background-color: var(--color-medium-grey);
    color: var(--color-white);
    border-bottom: 3px solid var(--color-primary);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.placeholder-content {
    padding: 40px;
    text-align: center;
    font-size: 20px;
    color: #999;
}

/* --- MANAGED PRINT TAB CONTENT --- */
.intro-block {
    background-color: var(--color-blue-grey);
    color: var(--color-white);
    padding: 60px 0;
    text-align: center;
}

.intro-block .container {
    max-width: 800px;
}

.intro-block h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-block {
    padding: 60px 0;
}

.feature-block .container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.feature-block .image-content,
.feature-block .text-content {
    flex: 1;
}

.feature-block h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.feature-block p {
    color: var(--color-text-light);
    margin-bottom: 20px;
    line-height: 1.7;
}

.feature-block .image-content img {
    max-width: 100%;
    height: auto;
}

.infinity-package {
    background: linear-gradient(to right, #f2e9f7, #e9eef7);
}


.features-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 30px;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 500;
}

.features-list li i {
    font-size: 24px;
    color: var(--color-medium-grey);
}

.epson-copiers {
    background-color: #f0f7ff;
}

.epson-copiers .container {
    flex-direction: row-reverse;
}

/* --- Image Accordion Section --- */
.image-accordion-section {
    padding: 60px 0;
}

.accordion-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.accordion-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 400px;
}

.accordion-item a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.accordion-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.accordion-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    color: white;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    transition: opacity 0.3s;
}

.accordion-item:hover .overlay {
    opacity: 1;
}

.accordion-item .overlay h3 {
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 600;
    color: #fff;
    transform: translateY(-20px);
    opacity: 0;
    transition: transform 0.3s, opacity 0.3s;
}

.accordion-item:hover .overlay h3 {
    transform: translateY(0);
    opacity: 1;
}

.accordion-item .overlay ul {
    list-style: none;
    padding: 0;
    margin: 0;
    transform: translateY(-20px);
    opacity: 0;
    transition: transform 0.3s 0.1s, opacity 0.3s 0.1s;
}

.accordion-item:hover .overlay ul {
    transform: translateY(0);
    opacity: 1;
}

.accordion-item .overlay ul li {
    margin-bottom: 8px;
    font-size: 14px;
}

/* --- Feature Highlight Box --- */
.feature-highlight-box {
    padding: 60px 0;
}

.highlight-content {
    background: white;
    border-radius: 20px;
    padding: 40px 60px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border-left: 5px solid var(--color-primary);
    border-right: 5px solid var(--color-primary);
}

.highlight-content h3 {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    font-weight: 400;
    margin: 0;
    text-align: center;
}

/* --- Service Features Section --- */
.service-features-section {
    padding: 60px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.feature-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.feature-benefits {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.benefit-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--color-primary);
}

.benefit-content h3 {
    font-size: 18px;
    margin-bottom: 8px;
    font-weight: 600;
}

.benefit-content p {
    color: var(--color-text-light);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

/* --- Consumables Grid Section --- */
.consumables-grid-section {
    padding: 60px 0;
}

.consumables-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.consumable-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 400px;
}

.consumable-card a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.card-image {
    position: relative;
    width: 100%;
    height: 100%;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    color: white;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    transition: opacity 0.3s;
}

.consumable-card:hover .card-overlay {
    opacity: 1;
}

.card-overlay h3 {
    font-size: 22px;
    margin-bottom: 10px;
    font-weight: 600;
    transform: translateY(-20px);
    opacity: 0;
    transition: transform 0.3s, opacity 0.3s;
    color: #fff;
}

.consumable-card:hover .card-overlay h3 {
    transform: translateY(0);
    opacity: 1;
}

.card-overlay p {
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    transform: translateY(-20px);
    opacity: 0;
    transition: transform 0.3s 0.1s, opacity 0.3s 0.1s;
}

.consumable-card:hover .card-overlay p {
    transform: translateY(0);
    opacity: 1;
}

/* Mobile: always show overlay and text */
@media (max-width: 768px) {
    .card-overlay,
    .accordion-item .overlay,
    .equipment-card .card-overlay {
        opacity: 1;
    }
    
    .card-overlay h3,
    .card-overlay p,
    .accordion-item .overlay h3,
    .accordion-item .overlay ul,
    .equipment-card .card-overlay h3,
    .equipment-card .card-overlay p {
        transform: translateY(0);
        opacity: 1;
    }
}

/* --- Equipment Grid Section --- */
.equipment-grid-section {
    padding: 60px 0;
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.equipment-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 350px;
}

.equipment-card a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.equipment-card .card-image {
    position: relative;
    width: 100%;
    height: 100%;
}

.equipment-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.equipment-card .card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    color: white;
    padding: 25px 15px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    transition: opacity 0.3s;
}

.equipment-card:hover .card-overlay {
    opacity: 1;
}

.equipment-card .card-overlay h3 {
    font-size: 20px;
    margin-bottom: 8px;
    font-weight: 600;
    color: #fff;
    transform: translateY(-20px);
    opacity: 0;
    transition: transform 0.3s, opacity 0.3s;
}

.equipment-card:hover .card-overlay h3 {
    transform: translateY(0);
    opacity: 1;
}

.equipment-card .card-overlay p {
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
    transform: translateY(-20px);
    opacity: 0;
    transition: transform 0.3s 0.1s, opacity 0.3s 0.1s;
}

.equipment-card:hover .card-overlay p {
    transform: translateY(0);
    opacity: 1;
}

/* --- Green Office Section --- */
.green-office-section {
    padding: 60px 0;
    background-image: url('https://cwcyprus.com/wp-content/uploads/2024/04/env_bg-1-scaled.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.green-office-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(219, 252, 224, 0.65);
    border-radius: 50%;
    transform: scale(1.2);
}

.green-office-section .container {
    position: relative;
    z-index: 1;
}

.green-office-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
    box-shadow: 0 0 20px rgba(0,0,0,0.15);
}

.green-office-card h3 {
    font-size: 50px;
    font-weight: 500;
    margin-bottom: 30px;
    color: #000;
}

.green-office-card img {
    width: 62%;
    max-width: 200px;
    margin: 20px auto;
    display: block;
}

.green-office-card p {
    font-size: 16px;
    line-height: 1.8;
    margin-top: 20px;
    color: #000;
}

/* --- Printing Policy Section --- */
.printing-policy-section {
    padding: 60px 0;
    background-color: #B4CCC6;
}

.policy-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.policy-left {
    text-align: center;
    color: white;
}

.policy-left h2 {
    font-size: 42px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 30px;
    color: #000;
}

.policy-left h2 .light-text {
    font-weight: 400;
    color: var(--color-primary);
    display: block;
    font-size: 40px;
}

.policy-icon {
    margin: 30px 0;
}

.policy-icon i {
    font-size: 169px;
    color: white;
}

.btn-policy {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-color: #3FB498;
    color: white;
    padding: 15px 40px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 20px;
    font-weight: 500;
    transition: background-color 0.3s;
    border: 2px solid white;
}

.btn-policy:hover {
    background-color: #22A787;
    color: white;
}

.policy-right {
    color: white;
}

.policy-right h3 {
    font-size: 33px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--color-primary);
}

.policy-right p {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #000;
}

/* --- Info Section --- */
.info-section {
    padding: 80px 0;
    text-align: center;
}

.info-section h2 {
    font-size: 32px;
    margin-bottom: 60px;
}

.info-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: left;
}

.info-column h3 {
    font-size: 20px;
    margin-bottom: 15px;
    margin-top: 15px;
}

.info-column p {
    color: var(--color-text-light);
}

/* --- Popular Products --- */
.popular-products {
    background-color: var(--color-light-grey);
    padding: 80px 0;
    text-align: center;
}

.popular-products h2 {
    font-size: 32px;
    margin-bottom: 50px;
}

.products-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.product-item {
    position: relative;
    cursor: pointer;
}

.product-item img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 5px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.product-item:hover img {
    transform: translateY(-10px);
}

/* Tooltip */
.product-item::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-dark-grey);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    margin-bottom: 15px;
}

.product-item::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: var(--color-dark-grey);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    margin-bottom: 5px;
}

.product-item:hover::after,
.product-item:hover::before {
    opacity: 1;
    visibility: visible;
}

/* --- CTA Banner & Form --- */
.cta-banner {
    background-image: url('./assets/Generated\ Image\ October\ 04\,\ 2025\ -\ 5_54PM\ \(1\).png');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    text-align: center;
    background-repeat: no-repeat;
}

.cta-banner h2 {
    color: var(--color-white);
    font-size: 48px;
    font-weight: 700;
}

.form-section {
    padding: 80px 0;
    background-color: #f7f7f7;
}

.contact-form {
    max-width: 900px;
    margin: 0 auto;
    background-color: var(--color-white);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 40px;
}

.form-header {
    margin-bottom: 30px;
}

.form-header span {
    font-size: 14px;
    color: #888;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background-color: #e0e0e0;
    border-radius: 4px;
    margin-top: 8px;
}

.progress {
    width: 50%;
    height: 100%;
    background-color: #0073e6;
    border-radius: 4px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
}

.form-group input {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}

.form-footer {
    margin-top: 30px;
    text-align: left;
}

.btn-next {
    background-color: #337ab7;
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
}


/* --- RESPONSIVE STYLES --- */
@media (max-width: 1024px) {

    .main-nav ul li a {
        padding: 15px 10px;
    }

    .info-columns {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {

    .hotline,
    .account {
        display: none;
    }


    .hero {
        height: 250px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .tabs-nav {
        flex-wrap: wrap;
    }

    .tab-link {
        flex-basis: 33.33%;
        font-size: 14px;
        padding: 15px 10px;
    }

    .tab-link i {
        display: inline;
    }

    .tab-link .tab-title {
        display: none;
    }

    .intro-block h2 {
        font-size: 36px;
    }

    .feature-block .container {
        flex-direction: column;
    }

    .epson-copiers .container {
        flex-direction: column-reverse;
    }

    .accordion-grid {
        grid-template-columns: 1fr;
    }

    .accordion-item {
        height: 300px;
    }

    .highlight-content {
        padding: 30px 20px;
    }

    .highlight-content h3 {
        font-size: 16px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .consumables-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .consumable-card {
        height: 300px;
    }

    .equipment-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .equipment-card {
        height: 280px;
    }

    .green-office-card {
        padding: 30px 20px;
    }

    .green-office-card h3 {
        font-size: 36px;
    }

    .policy-columns {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .policy-left h2 {
        font-size: 32px;
    }

    .policy-left h2 .light-text {
        font-size: 28px;
    }

    .policy-icon i {
        font-size: 120px;
    }

    .policy-right h3 {
        font-size: 26px;
    }

    .policy-right p {
        font-size: 18px;
    }

    .info-columns {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .products-grid {
        flex-wrap: wrap;
        gap: 15px;
    }

    .product-item img {
        width: 100px;
        height: 100px;
    }

    .cta-banner h2 {
        font-size: 36px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }


}

.hidden-text {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* from left */
.hidden-text.from-left {
    transform: translateX(-60px);
}

.hidden-text.from-left.show {
    opacity: 1;
    transform: translateX(0);
}

/* from right */
.hidden-text.from-right {
    transform: translateX(60px);
}

.hidden-text.from-right.show {
    opacity: 1;
    transform: translateX(0);
}