@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 300;
    font-stretch: normal;
    font-display: swap;
    src: url('../fonts/roboto/roboto-latin.woff2') format('woff2');
}

@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-stretch: normal;
    font-display: swap;
    src: url('../fonts/roboto/roboto-latin.woff2') format('woff2');
}

@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    font-stretch: normal;
    font-display: swap;
    src: url('../fonts/roboto/roboto-latin.woff2') format('woff2');
}

body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background-color: #121212;
    color: #e0e0e0;
    line-height: 1.6;
}

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

/* Header */
header {
    background-color: #1a1a1a;
    padding: 20px 0;
    border-bottom: 1px solid #333;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 85px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    margin-right: 10px;
}

.logo h1 {
    color: #e0e0e0;
    font-size: 2em;
    margin: 0;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    margin-left: 30px;
    margin-top: 10px;
}

nav ul .libtn{
    margin-top: 4px;
}

nav ul li a {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #00bcd4;
}

.language-switch {
    margin-left: 20px;
}

.lang-btn {
    background-color: transparent;
    color: #e0e0e0;
    border: 1px solid #333;
    padding: 8px 14px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.lang-btn:hover {
    background-color: #00bcd4;
    color: #121212;
    border-color: #00bcd4;
}

/* Hero Section */
.hero {
    background-color: #1a1a1a;
    color: #e0e0e0;
    text-align: center;
    padding: 10px 20px;
    border-bottom: 1px solid #333;
    min-height: calc(100vh - 400px);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.hero h2 {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #00bcd4;
    margin-top: 10px;
}

.hero p {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.btn {
    background-color: #00bcd4;
    color: #121212;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #0097a7;
}

.contact-qr {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.qr-card {
    background-color: #1a1a1a;
    border: 1px solid #333;
    border-radius: 10px;
    padding: 15px;
    width: 200px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.qr-card img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.qr-card .qr-label {
    display: block;
    text-align: center;
    margin-top: 10px;
    font-weight: 600;
    color: #e0e0e0;
}

/* Products Page */
.products-section {
    padding: 0px 0px 60px 0px;
    text-align: center;
}

.products-section h2 {
    font-size: 2.8em;
    margin-bottom: 50px;
    color: #00bcd4;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    padding: 0 20px;
}

.product-card {
    background-color: #1a1a1a;
    border-radius: 10px;
    padding: 25px;
    text-align: left;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.card-info {
    display: flex;
    align-items: center;
}

.card-info img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    margin-right: 15px;
    flex-shrink: 0;
}

.card-info h4 {
    font-size: 1.3em;
    margin: 0;
    line-height: 1.2;
}

.division-card .card-info h4 {
    font-size: 1.3em;
    margin: 0;
    line-height: 1.2;
}

.division-card .card-description {
    font-size: 0.9em;
    color: #c0c0c0;
    margin-bottom: 25px;
    flex-grow: 1;
}

.card-info p {
    font-size: 0.9em;
    color: #a0a0a0;
    margin: 5px 0 0 0;
}

.create-btn {
    background-color: #00bcd4;
    color: #121212;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9em;
    transition: background-color 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.create-btn:hover {
    background-color: #0097a7;
}

.create-btn i {
    margin-right: 5px;
}

.card-description {
    font-size: 1.05em;
    color: #c0c0c0;
    margin-bottom: 25px;
    flex-grow: 1;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #333;
    padding-top: 20px;
}

.card-stats {
    display: flex;
    align-items: center;
    color: #a0a0a0;
    font-size: 0.9em;
}

.card-stats span {
    display: flex;
    align-items: center;
    margin-right: 20px;
}

.card-stats i {
    margin-right: 5px;
    font-size: 1.1em;
    color: #00bcd4;
}

.card-stats .date i {
    color: #a0a0a0;
    padding-left: 10px;
}

.heart-icon {
    color: #a0a0a0;
    font-size: 1.3em;
    cursor: pointer;
    transition: color 0.3s ease;
}

.heart-icon:hover {
    color: #ff6b6b;
}

/* Scenario accents for products page */
.products-section .card-info h4 {
    color: #00bcd4;
}

.products-section--recreation h2,
.products-section--recreation .card-info h4 {
    color: #ff6b6b;
}

.products-section--recreation .create-btn {
    background-color: #ff6b6b;
}

.products-section--recreation .create-btn:hover {
    background-color: #e05555;
}

.products-section--bizgrowing h2,
.products-section--bizgrowing .card-info h4 {
    color: #4caf50;
}

.products-section--bizgrowing .create-btn {
    background-color: #4caf50;
}

.products-section--bizgrowing .create-btn:hover {
    background-color: #3d8b40;
}

.products-section--medimaging h2,
.products-section--medimaging .card-info h4 {
    color: #2196f3;
}

.products-section--medimaging .create-btn {
    background-color: #2196f3;
}

.products-section--medimaging .create-btn:hover {
    background-color: #1976d2;
}

/* Only show the collection that matches the active scenario */
.products-section .product-grid {
    display: none;
}

.products-section--bizgrowing #bizgrowing,
.products-section--recreation #recreation,
.products-section--medimaging #medimaging {
    display: grid;
}

/* Business Divisions Section */
.divisions {
    padding: 10px 0;
    text-align: center;
}

.divisions h3 {
    font-size: 2.5em;
    margin-bottom: 30px;
    color: #e0e0e0;
    margin-top: 10px;
}

.division-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    height: 480px;
}

.division-card {
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.division-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    opacity: 0.85;
    border-radius: 10px;
    transition: opacity 0.3s ease;
}

.division-card:hover::before {
    opacity: 0.95;
}

.division-card > * {
    position: relative;
    z-index: 2;
}

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

.division-card h4 {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: #e0e0e0;
}

/* .division-card product-h4 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #e0e0e0;
} */

.division-card p {
    font-size: 1.1em;
    margin-bottom: 25px;
    flex-grow: 1;
    color: #f0f0f0;
}

/* Backgrounds with overlays */
.recreation {
    background-image: url('../img/1025-600x400.jpg');
}

.recreation::before {
    background: linear-gradient(135deg, rgba(247, 51, 51, 0.85) 0%, rgba(255, 165, 0, 0.85) 100%);
}

.bizgrowing {
    background-image: url('../img/1043-600x400.jpg');
}

.bizgrowing::before {
    background: linear-gradient(135deg, rgba(6, 159, 44, 0.869) 0%, rgba(139, 195, 74, 0.85) 100%);
}

.medimaging {
    background-image: url('../img/1060-600x400.jpg');
}

.medimaging::before {
    background: linear-gradient(135deg, rgba(5, 105, 187, 0.91) 0%, rgba(0, 188, 212, 0.85) 100%);
}

.division-card .card-btn {
    background-color: rgba(255, 255, 255, 0.2);
    color: #e0e0e0;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.recreation .card-btn:hover {
    background-color: #ff3b3b;
    color: white;
    border-color: #ff3b3b;
}

.bizgrowing .card-btn:hover {
    background-color: #388e3c;
    color: white;
    border-color: #388e3c;
}

.medimaging .card-btn:hover {
    background-color: #1976d2;
    color: white;
    border-color: #1976d2;
}

/* About Section */
#about {
    padding: 30px 0;
    background-color: #1a1a1a;
    text-align: center;
}

#about h3 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #e0e0e0;
}

#about p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.7em;
    font-style: italic;
    font-weight: bold;
}

/* Contact Section */
#contact {
    padding: 20px 0;
    background-color: #121212;
    text-align: center;
}

#contact h3 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #e0e0e0;
}

#contact p {
    max-width: 600px;
    margin: 0 auto 40px auto;
    font-size: 1.1em;
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: #888;
    text-align: center;
    padding: 40px 0;
    border-top: 1px solid #333;
}

footer .social-links a {
    color: #e0e0e0;
    margin: 0 15px;
    font-size: 1.5em;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer .social-links a:hover {
    color: #00bcd4;
}
