/* --- Global Styles & Variables --- */
:root {
    --primary: #F37021; /* XGMA Orange */
    --dark: #1a1a1a;
    --light-grey: #f4f4f4;
    --text-grey: #666;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* --- Navbar --- */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

header.scrolled {
    background: var(--dark);
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 24px;
    font-weight: 800;
    color: var(--white);
}

.logo .accent { color: var(--primary); }

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
}

.nav-links a:hover { color: var(--primary); }

.lang-toggle button {
    background: rgba(255,255,255,0.2);
    border: 1px solid var(--white);
    color: var(--white);
    padding: 5px 12px;
    cursor: pointer;
    border-radius: 4px;
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    background: url('https://images.unsplash.com/photo-1504917595217-d4dc5ebe6122?auto=format&fit=crop&q=80&w=1400') no-repeat center center/cover;
    display: flex;
    align-items: center;
    position: relative;
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.7) 30%, transparent);
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
}

.hero-text { max-width: 600px; }
.hero-text .label { font-size: 14px; color: var(--primary); font-weight: bold; }
.hero-text h1 { font-size: 80px; line-height: 1; margin: 10px 0; }

.product-center-card {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    padding: 20px;
    border-left: 4px solid var(--primary);
    max-width: 350px;
    margin-bottom: 50px;
}

/* --- Product Strip --- */
.product-strip {
    background: var(--light-grey);
    padding: 40px 0;
}

/* Container to force items into a horizontal row */
.product-flex-row {
    display: flex;
    justify-content: center; /* Centers the group of items */
    align-items: stretch;    /* Ensures all cards have the same height */
    gap: 20px;               /* Space between cards */
    padding: 60px 0;
}

/* Individual Card Styling */
.strip-item {
    background: #ffffff;    /* White card background from screenshot */
    flex: 1;                 /* Allows cards to share width equally */
    max-width: 300px;        /* Prevents them from getting too wide */
    padding: 30px 20px;
    text-decoration: none;
    text-align: left;        /* Aligns text to the left as per screenshot */
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.strip-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.1);
    border-bottom: 4px solid #F37021; /* XGMA Orange accent */
}

/* Bold Stacked Typography */
.strip-content h3 {
    color: #000000;
    font-size: 1.3rem;
    font-weight: 800;       /* Extra bold as seen in screenshot */
    line-height: 1.1;       /* Tight line height for the stacked look */
    margin-bottom: 25px;    /* Space before the image */
    text-transform: none;
}

/* Image Positioning */
.strip-item img {
    width: 100%;
    max-width: 180px;       /* Scale icon size */
    height: auto;
    margin-top: auto;       /* Pushes image to the bottom of the card */
    margin-left: auto;
    margin-right: auto;
    display: block;
}

/* Responsive adjustment for Mobile */
@media (max-width: 768px) {
    .product-flex-row {
        flex-direction: column;
        align-items: center;
    }
    .strip-item {
        width: 100%;
        max-width: 400px;
    }
}

/* --- News Feature Section --- */
.news-feature {
    display: flex;
    background: var(--dark);
    color: var(--white);
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
}

.feature-text-block {
    padding: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-text-block h2 { font-size: 32px; margin-bottom: 20px; line-height: 1.3; }
.feature-image-block img { width: 100%; height: 100%; object-fit: cover; }

/* --- News Grid --- */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.news-card {
    height: 350px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.card-overlay {
    position: absolute;
    bottom: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    color: var(--white);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: var(--transition);
}

.news-card:hover .card-overlay {
    background: rgba(243, 112, 33, 0.85); /* XGMA Orange hover */
}

/* --- Footer --- */
footer {
    background: #000;
    color: #999;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
    border-bottom: 1px solid #333;
    padding-bottom: 40px;
}

.footer-col h4 { color: var(--white); margin-bottom: 20px; }
.footer-col ul li { margin-bottom: 10px; font-size: 14px; }
.footer-col a:hover { color: var(--primary); }

/* --- Responsive --- */
@media (max-width: 992px) {
    .nav-links { display: none; }
    .grid-7 { grid-template-columns: repeat(4, 1fr); }
    .feature-grid { grid-template-columns: 1fr; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .grid-7 { grid-template-columns: repeat(2, 1fr); }
    .hero-text h1 { font-size: 50px; }
    .grid-4 { grid-template-columns: 1fr; }
}

/* Animations */
.fade-in {
    animation: fadeIn 1.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}