body {
    margin:0;
    font-family: 'Segoe UI', sans-serif;
    background:#f9fafb;
}

/* RESET */
ul {
    list-style:none;
    margin:0;
    padding:0;
}

.container {
    width:92%;
    margin:auto;
}

/* TOPBAR */
.topbar {
    background:#1a0033;
    color:#fff;
    padding:8px 0;
    font-size:14px;
}

.topbar-flex {
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.social a {
    color:#fff;
    margin-left:12px;
}

/* HEADER */
.main-header {
    background:#fff;
    border-bottom:1px solid #ddd;
}

.header-grid {
    display:grid;
    grid-template-columns: 120px 1fr 220px;
    align-items:center;
    gap:10px;
    padding:8px 0;
}

.logo img { height:50px; }

.header-banner {
    height:50px;
    display:flex;
    align-items:center;
    justify-content:center;
}

.header-banner img { height:100%; }

.header-right {
    display:flex;
    justify-content:flex-end;
    align-items:center;
    gap:20px;
}

/* CART */
.cart {
    position:relative;
    font-size:20px;
}

.cart-count {
    position:absolute;
    top:-6px;
    right:-10px;
    background:red;
    color:#fff;
    font-size:12px;
    padding:4px 7px;
    border-radius:50%;
}

/* NAVBAR */
.navbar {
    background:#e5e5e5;
    border-top:1px solid #ddd;
}

.nav-menu {
    display:flex;
    justify-content:center;
    gap:10px;
}

.nav-menu li a {
    padding:14px 20px;
    text-decoration:none;
    color:#000;
    font-weight:600;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    background:#007bff;
    color:#fff;
    border-radius:4px;
}

/* ================= HOME ================= */

.home-section {
    display:grid;
    grid-template-columns: 2fr 1fr;
    gap:20px;
    margin-top:20px;
}

/* 🔥 FIX HEIGHT MATCH */
.home-section > div {
    height:100%;
}

/* SLIDER */
.slider {
    position:relative;
    height:100%;
    min-height:420px; /* 🔥 FIX */
    overflow:hidden;
    border-radius:12px;
}

.slider img {
    position:absolute;
    width:100%;
    height:100%;
    object-fit:cover;
    opacity:0;
    transition:0.5s;
}

.slider img.active {
    opacity:1;
}

/* RIGHT PRODUCTS GRID */
.home-products {
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap:15px;
}

/* PRODUCT CARD */
.product-card {
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    background:#fff;
    border-radius:12px;
    overflow:hidden;
    border:1px solid #eee;
    transition:0.3s;
    height:100%; /* 🔥 KEY FIX */
}

.product-card img {
    width:100%;
    height:120px;
    object-fit:cover;
}

/* TITLE */
.product-card h4 {
    font-size:13px;
    padding:8px;
    margin:0;
}

/* PRICE */
.price {
    font-weight:bold;
    color:#0d6efd;
    padding:0 8px;
}

/* STOCK */
.stock {
    font-size:12px;
    padding:0 8px 8px;
}

.product-card:hover {
    transform:translateY(-4px);
    box-shadow:0 10px 25px rgba(0,0,0,0.1);
}

/* ================= PRODUCTS ================= */

.products-section {
    margin-top:40px;
}

.section-title {
    text-align:center;
    margin-bottom:25px;
    font-size:22px;
}

/* GRID */
.products-grid {
    display:grid;
    grid-template-columns: repeat(4,1fr);
    gap:20px;
}

/* PRODUCT ITEM */
.product-item {
    display:block;
    background:#fff;
    border-radius:12px;
    overflow:hidden;
    border:1px solid #e5e7eb;
    text-decoration:none;
    transition:0.3s;
}

.product-item img {
    width:100%;
    height:180px;
    object-fit:cover;
}

.product-item h4 {
    padding:12px;
    font-size:14px;
    text-align:center;
}

.product-item:hover {
    transform:translateY(-5px);
    box-shadow:0 10px 25px rgba(0,0,0,0.1);
}

/* ================= HIGHLIGHTS ================= */

.highlights-grid {
    display:grid;
    grid-template-columns: repeat(3,1fr);
    gap:20px;
}

.highlight-box {
    display:flex;
    gap:15px;
    background:#fff;
    padding:20px;
    border-radius:12px;
    border:1px solid #eee;
}

/* ================= RESPONSIVE ================= */

@media(max-width: 992px){

    .home-section {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: repeat(3,1fr);
    }

    .home-products {
        grid-template-columns: 1fr 1fr;
    }
}

@media(max-width: 600px){

    .header-grid {
        grid-template-columns: 1fr;
        text-align:center;
    }

    .nav-menu {
        flex-direction:column;
    }

    .products-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .home-products {
        grid-template-columns: 1fr;
    }
}

/* BUTTON HOVER FIX */
.btn-outline-dark:hover {
    background:#0d6efd;
    color:#fff;
    border-color:#0d6efd;
}
/* NAVBAR */
.custom-navbar {
    background: linear-gradient(90deg, #0f172a, #1e293b);
    padding: 16px 0;
    border-bottom: none;
}

/* NAV LINKS */
.navbar .nav-link {
    color: #ffffff !important;
    font-weight: 600;
    margin: 0 15px;
    font-size: 15px;
}

/* HOVER */
.navbar .nav-link:hover {
    color: #38bdf8 !important;
}

/* UNDERLINE ANIMATION */
.navbar .nav-link::after {
    content: "";
    width: 0%;
    height: 2px;
    background: #0d6efd;
    position: absolute;
    bottom: -5px;
    left: 0;
    transition: 0.3s;
}

.navbar .nav-link:hover::after {
    width: 100%;
}

/* DROPDOWN */
.dropdown-menu {
    border-radius: 10px;
    border: none;
}

.dropdown-item:hover {
    background: #f1f5ff;
    color: #0d6efd;
}
.main-header {
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}
/* HOVER DROPDOWN */
.navbar .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
}
/* DROPDOWN BOX */
.dropdown-menu {
    border: none;
    border-radius: 12px;
    padding: 10px 0;
    min-width: 200px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    animation: dropdownFade 0.3s ease;
}

/* ITEM STYLE */
.dropdown-item {
    padding: 10px 18px;
    font-weight: 500;
    transition: 0.3s;
}

/* HOVER EFFECT */
.dropdown-item:hover {
    background: linear-gradient(45deg,#0d6efd,#2563eb);
    color: #fff;
    border-radius: 6px;
}

/* ANIMATION */
@keyframes dropdownFade {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.navbar .nav-link.active {
    color: #0d6efd !important;
    font-weight: 700;
}
.navbar {
    min-height: 70px;
    display: flex;
    align-items: center;
}
.navbar .dropdown-toggle i {
    color: #ffffff;
}
.custom-navbar {
    background: #0d1b2a; /* dark blue */
    padding: 12px 0;
}

.custom-navbar .nav-link {
    color: #fff !important;
    font-weight: 500;
    transition: 0.3s;
}

.custom-navbar .nav-link:hover {
    color: #00b4d8 !important;
}

.custom-navbar .dropdown-menu {
    background: #fff;
    border-radius: 10px;
}

.custom-navbar .dropdown-item:hover {
    background: #0d1b2a;
    color: #fff;
}
/* FORM WRAPPER */
.form-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
    min-height: 70vh;
}

/* CARD */
.form-card {
    width: 100%;
    max-width: 400px;
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* TITLE */
.form-card h2 {
    text-align: center;
    margin-bottom: 10px;
}

.subtitle {
    text-align: center;
    color: #777;
    margin-bottom: 25px;
}

/* INPUT GROUP */
.input-group {
    position: relative;
    margin-bottom: 20px;
}

.input-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    outline: none;
}

.input-group label {
    position: absolute;
    top: -8px;
    left: 10px;
    background: #fff;
    padding: 0 5px;
    font-size: 12px;
    color: #555;
}

/* BUTTON */
.btn {
    width: 100%;
    padding: 12px;
    border: none;
    background: #0d1b2a;
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
}

.btn:hover {
    background: #1b263b;
}

/* BOTTOM TEXT */
.bottom-text {
    text-align: center;
    margin-top: 15px;
}
/* ================= ABOUT SECTION ================= */

.about-section {
    background: #fff;
    padding: 30px;
    border-radius: 14px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.about-img {
    max-width: 100%;
    max-height: 280px;
    object-fit: contain;
    border-radius: 10px;
}

.about-title {
    font-weight: 700;
    margin-bottom: 15px;
    color: #1e293b;
}

.about-content {
    color: #475569;
    line-height: 1.7;
}
/* ================= ABOUT PAGE ================= */

.about-page {
    background: #fff;
    padding: 40px;
    border-radius: 14px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.about-img {
    max-width: 100%;
    max-height: 320px;
    object-fit: contain;
    border-radius: 10px;
}

.about-title {
    font-weight: 700;
    margin-bottom: 20px;
    color: #1e293b;
}

.about-content {
    color: #475569;
    line-height: 1.8;
    font-size: 15px;
}
/* ================= MISSION VISION STRATEGY ================= */

.mvs-card {
    background: #fff;
    padding: 25px;
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.mvs-card h5 {
    font-weight: 700;
    margin-bottom: 10px;
}

.mvs-card p {
    font-size: 14px;
    color: #64748b;
}

/* COLORS */
.mvs-card.mission {
    border-top: 4px solid #0d6efd;
}

.mvs-card.vision {
    border-top: 4px solid #16a34a;
}

.mvs-card.strategy {
    border-top: 4px solid #f59e0b;
}

/* HOVER EFFECT */
.mvs-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
/* ================= MVS ICON ================= */

.mvs-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    object-fit: contain;
}

/* CARD IMPROVEMENT */
.mvs-card {
    background: #fff;
    padding: 25px;
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.mvs-card h5 {
    font-weight: 700;
    margin-bottom: 10px;
}

.mvs-card p {
    font-size: 14px;
    color: #64748b;
}

/* COLORS */
.mvs-card.mission {
    border-top: 4px solid #0d6efd;
}

.mvs-card.vision {
    border-top: 4px solid #16a34a;
}

.mvs-card.strategy {
    border-top: 4px solid #f59e0b;
}

/* HOVER */
.mvs-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
/* ================= MANAGEMENT SECTION ================= */

.management-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.management-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

/* IMAGE */
.management-img {
    padding: 15px;
}

.management-img img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border: 2px solid #ddd;
}

/* BODY */
.management-body {
    background: #0f172a;
    color: #fff;
    padding: 12px;
    border-top: 4px solid #facc15; /* yellow line */
}

.management-body h6 {
    margin-bottom: 3px;
    font-weight: 600;
}

.management-body small {
    font-size: 13px;
    color: #cbd5e1;
}
/* ================= NEWS SECTION ================= */

.news-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: 0.3s;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

/* IMAGE */
.news-img img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

/* BODY */
.news-body {
    padding: 15px;
}

.news-body h6 {
    font-weight: 600;
    margin-bottom: 8px;
}

.news-body p {
    font-size: 14px;
    color: #64748b;
}

/* READ MORE */
.read-more {
    display: inline-block;
    margin-top: 8px;
    font-size: 13px;
    color: #0d6efd;
    text-decoration: none;
    font-weight: 500;
}

.read-more:hover {
    text-decoration: underline;
}
/* ================= FOOTER ================= */

.footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: 40px 0;
}

.footer h5 {
    color: #fff;
    margin-bottom: 15px;
}

.footer p {
    font-size: 14px;
    color: #94a3b8;
}

/* LINKS */
.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 14px;
}

.footer-links a:hover {
    color: #fff;
}

/* BOTTOM */
.footer-bottom {
    font-size: 13px;
    color: #94a3b8;
    margin-top: 10px;
}
/* ================= FOOTER ================= */

.footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: 50px 0;
}

.footer h5 {
    color: #fff;
    margin-bottom: 15px;
}

.footer p {
    font-size: 14px;
    color: #94a3b8;
}

/* LINKS */
.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 14px;
}

.footer-links a:hover {
    color: #fff;
}

/* NEWS */
.footer-news {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    align-items: center;
}

.footer-news img {
    width: 60px;
    height: 50px;
    object-fit: cover;
    border-radius: 6px;
}

.footer-news a {
    font-size: 13px;
    color: #cbd5e1;
    text-decoration: none;
}

.footer-news a:hover {
    color: #fff;
}

/* SOCIAL */
.footer-social a {
    display: inline-block;
    margin-right: 10px;
    color: #cbd5e1;
    font-size: 16px;
}

.footer-social a:hover {
    color: #fff;
}

/* BOTTOM */
.footer-bottom {
    font-size: 13px;
    color: #94a3b8;
    margin-top: 10px;
}
/* ================= FOOTER SPACING FIX ================= */

.footer .row > div {
    padding-left: 25px;
    padding-right: 25px;
}

/* MORE GAP BETWEEN COLUMNS */
@media (min-width: 768px) {
    .footer .row {
        column-gap: 30px;
    }
}

/* MOBILE SPACING */
@media (max-width: 768px) {
    .footer .row > div {
        margin-bottom: 25px;
    }
}
.footer p {
    line-height: 1.7;
    margin-bottom: 10px;
}

.footer h5 {
    margin-bottom: 18px;
}
.footer .container {
    max-width: 1200px;
}
/* ================= FOOTER ================= */

.footer {
    background: #0b1b34;
    color: #cbd5e1;
    padding: 60px 0 25px;
}

.footer-title {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-text {
    font-size: 14px;
    line-height: 1.7;
}

/* LINKS */
.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #38bdf8;
    padding-left: 5px;
}

/* NEWS */
.footer-news {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    align-items: center;
}

.footer-news img {
    width: 55px;
    height: 55px;
    border-radius: 6px;
    object-fit: cover;
}

.news-text a {
    font-size: 13px;
    color: #cbd5e1;
    text-decoration: none;
}

.news-text a:hover {
    color: #38bdf8;
}

/* CONTACT */
.footer-contact p {
    font-size: 14px;
    margin-bottom: 8px;
}

.footer-contact i {
    margin-right: 8px;
    color: #38bdf8;
}

/* SOCIAL */
.footer-social a {
    display: inline-block;
    margin-right: 10px;
    color: #fff;
    background: #1e293b;
    padding: 8px 10px;
    border-radius: 6px;
    transition: 0.3s;
}

.footer-social a:hover {
    background: #38bdf8;
}

/* LINE */
.footer-line {
    border-color: rgba(255,255,255,0.1);
    margin: 30px 0 15px;
}

/* BOTTOM */
.footer-bottom {
    font-size: 13px;
    color: #94a3b8;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .footer {
        text-align: center;
    }

    .footer-news {
        justify-content: center;
    }

    .footer-social {
        margin-top: 10px;
    }
}
.footer-row {
    display: flex;
    flex-wrap: nowrap;   /* FORCE SAME ROW */
    gap: 30px;
}

.footer-row .col {
    flex: 1;
    min-width: 0;
}