:root {
    --white: #ffffff;
    --off-white: #f9f9f9;
    --light-gray: #f4f4f4;
    --bs-blue: #2464ac;
    --bs-orange: #ff6b00;
    --black: #000000;
    --text-main: #333333;
    --border: #dddddd;
    --input-border: #999999;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Tahoma, sans-serif; scroll-behavior: smooth; }
body { background-color: var(--white); color: var(--text-main); line-height: 1.6; }

/* Navbar */
.navbar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 15px 8%; position: fixed; width: 100%; top: 0; z-index: 1000;
    background: var(--white); border-bottom: 1px solid var(--border);
}
.logo-group { display: flex; align-items: center; text-decoration: none; }
.logo-img { width: 50px; height: 50px; margin-right: 15px; }
.logo-text { font-family: 'Georgia', serif; font-size: 1.7rem; font-weight: 700; display: flex; gap: 8px; }
.word-brilliance { color: var(--bs-blue); }
.word-solutions { color: var(--bs-orange); }
.nav-links { display: flex; list-style: none; }
.nav-links li a { color: var(--text-main); text-decoration: none; margin: 0 20px; font-weight: 400; transition: 0.3s; }
.nav-links li a:hover { color: var(--bs-blue); }

/* Hero Section */
.hero { height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; position: relative; overflow: hidden; }
.hero-video { position: absolute; top: 50%; left: 50%; min-width: 100%; min-height: 100%; z-index: -1; transform: translate(-50%, -50%); object-fit: cover; }
.hero-content { position: relative; z-index: 1; width: 100%; max-width: 1200px; padding: 0 20px; }
.hero-headline {
    font-size: 2.8rem;
    margin-bottom: 20px;
    font-weight: 800;
    color: var(--white);
    text-shadow: 0px 4px 10px rgba(0, 0, 0, 0.6);
    white-space: nowrap;
}
.hero-description {
    font-size: 1.1rem;
    padding: 15px 30px;
    margin: 20px auto;
    display: inline-block;
    color: var(--white);
    font-weight: 500;
    max-width: 800px;
    text-shadow: 0px 2px 8px rgba(0, 0, 0, 0.8);
}
.hero-btns { display: flex; justify-content: center; gap: 20px; margin-top: 30px; }
.btn-primary { background: var(--bs-orange); color: var(--white); padding: 15px 35px; border: none; border-radius: 5px; font-weight: 600; cursor: pointer; text-decoration: none; display: inline-block; transition: 0.3s; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.2); }
.btn-secondary { border: 2px solid var(--bs-blue); color: var(--bs-blue); padding: 13px 35px; text-decoration: none; border-radius: 5px; font-weight: 600; background: rgba(255,255,255,0.9); display: inline-block; transition: 0.3s; }
.btn-secondary:hover { background: var(--bs-blue); color: var(--white); transform: translateY(-3px); }

/* Sections */
section { padding: 80px 8%; }
.section-title { text-align: center; margin-bottom: 50px; font-size: 2.6rem; font-weight: 700; color: var(--bs-blue); }

/* Quality Section */
.quality { background: var(--white); text-align: center; }
.trust-icons { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; margin-top: 30px; }
.trust-item { text-align: center; flex: 1; min-width: 250px; padding: 20px; transition: transform 0.3s ease; }
.trust-item:hover { transform: translateY(-10px); }
.icon-circle { width: 100px; height: 100px; background: var(--light-gray); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; border: 2px solid var(--border); transition: 0.3s; }
.trust-item:hover .icon-circle { border-color: var(--bs-orange); }
.trust-item i { font-size: 2.5rem; color: var(--bs-orange); }
.trust-item h4 { color: var(--bs-blue); margin-bottom: 8px; font-size: 1.3rem; font-weight: 700; }

/* Origins Cards */
.origin-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; margin-bottom: 30px; }
.origin-card { background: var(--light-gray); padding: 40px; border-radius: 12px; border: 1px solid var(--border); box-shadow: 0 5px 15px rgba(0,0,0,0.05); text-align: center; }
.origin-card i { font-size: 3rem; color: var(--bs-orange); margin-bottom: 20px; }
.map-card { padding: 20px; max-width: 1000px; margin: 0 auto; background: var(--light-gray); }
.supply-map { width: 100%; border-radius: 8px; display: block; }

/* Portfolio Selections */
.products { background-color: #f0f4f8; }
.product-container { display: flex; justify-content: center; flex-wrap: wrap; gap: 30px; }
.product-box { background: var(--white); padding: 50px; border-radius: 12px; width: 45%; min-width: 320px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.product-box h3 { color: var(--bs-blue); border-bottom: 2px solid var(--bs-orange); display: inline-block; padding-bottom: 10px; margin-bottom: 20px; }
.product-box li { list-style: none; display: flex; align-items: center; margin-bottom: 10px; }
.product-box i { color: var(--bs-orange); margin-right: 12px; }

/* Contact Us Section */
.contact-section { position: relative; background: url('../images/homepage/footer-background.jpg'); background-size: cover; background-attachment: fixed; }
.contact-title { color: var(--bs-blue) !important; text-align: center; width: 100%; text-shadow: 0 0 10px rgba(255,255,255,0.9); }
.contact-container { display: flex; justify-content: center; flex-wrap: wrap; gap: 30px; }
.contact-details-box, .contact-form-box { background: var(--white); padding: 50px; border-radius: 12px; width: 45%; min-width: 320px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.contact-details-box h3 { color: var(--bs-blue); border-bottom: 2px solid var(--bs-orange); display: inline-block; padding-bottom: 10px; margin-bottom: 30px; }
.info-item { display: flex; align-items: center; gap: 20px; margin-bottom: 25px; text-align: left; }
.info-item i { font-size: 1.8rem; color: var(--bs-orange); width: 40px; text-align: center; }

input, select, textarea { width: 100%; padding: 15px; background: var(--off-white); border: 1.5px solid var(--input-border); border-radius: 5px; margin-bottom: 15px; font-size: 1rem; }
input:focus, select:focus, textarea:focus { border-color: var(--bs-blue); outline: none; }

/* AJAX Success Modal */
#success-modal { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 2000; background: var(--white); padding: 40px; border-radius: 15px; box-shadow: 0 15px 50px rgba(0,0,0,0.2); text-align: center; border-top: 5px solid var(--bs-orange); transition: 0.4s ease; }
.modal-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.modal-visible { opacity: 1; visibility: visible; pointer-events: auto; }
.modal-icon { font-size: 3rem; color: #28a745; margin-bottom: 15px; }

.compact-footer { text-align: center; padding: 25px 0; background: var(--off-white); border-top: 1px solid var(--border); }

@media (max-width: 1024px) {
    .hero-headline { white-space: normal; font-size: 2rem; }
    .hero-btns { flex-direction: column; align-items: center; }
    .product-box, .contact-details-box, .contact-form-box { width: 100%; }
}