/* --- BRAND CORE IDENTITIES & STYLING TOKENS --- */
:root {
    --navy-primary: #0B2545;     /* Deep Maritime Navy Blue */
    --steel-blue: #134074;       /* Slate/Steel Blue Accent */
    --mist-blue: #8DA9C4;        /* Soft Blue Highlight */
    --light-bg: #EEF4F8;         /* Light Gray Background */
    --dark-charcoal: #051622;    /* Elegant Dark Text Color */
    --pure-white: #FFFFFF;
    --whatsapp-green: #25D366;   /* WhatsApp Brand Color */
    
    /* Premium Visual Depth Profiles */
    --tab-shadow: 0 4px 15px rgba(11, 37, 69, 0.08);
    --image-shadow: 0 12px 30px rgba(5, 22, 34, 0.12);
}

/* --- ELEMENT LOGICAL BASES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    font-family: 'Inter', sans-serif;
    background-color: var(--light-bg);
    color: var(--dark-charcoal);
}

/* --- SMOOTH LIQUID VIEWPAGE SWITCHER TRANSITIONS --- */
.page-view {
    display: none;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    min-height: 75vh;
}
.page-view.active-view {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* --- NAVIGATION HEADER BAR --- */
header {
    background: var(--pure-white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--tab-shadow);
    border-bottom: 1px solid rgba(141, 169, 196, 0.2);
}
.navbar {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
}
.logo-area h1 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 600;
    color: var(--navy-primary);
    letter-spacing: 0.5px;
}
.logo-area span {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--mist-blue);
    display: block;
}
.nav-links {
    display: flex;
    list-style: none;
    gap: 35px;
}
.nav-links a {
    text-decoration: none;
    color: var(--steel-blue);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 0;
    position: relative;
    transition: 0.3s ease;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--navy-primary);
    transition: 0.3s ease;
}
.nav-links a:hover::after, 
.nav-links a.active::after {
    width: 100%;
}

/* --- AUTOMATED HERO SLIDER --- */
.slider-container {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}
.slider-wrapper {
    display: flex;
    width: 300%;
    height: 100%;
    animation: smoothSliderMotion 24s infinite cubic-bezier(0.4, 0, 0.2, 1);
}
.slide {
    width: 33.333%;
    height: 100%;
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 0 10%;
}
.slide::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(5,22,34,0.85) 0%, rgba(5,22,34,0.4) 100%);
    z-index: 1;
}
@keyframes smoothSliderMotion {
    0%, 28% { transform: translateX(0); }
    33%, 61% { transform: translateX(-33.333%); }
    66%, 95% { transform: translateX(-66.666%); }
    100% { transform: translateX(0); }
}
.hero-text {
    position: relative;
    z-index: 2;
    max-width: 700px;
    color: var(--pure-white);
}
.hero-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 50px;
    line-height: 1.2;
    margin-bottom: 20px;
}
.hero-text p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.9;
    font-weight: 300;
}
.cta-btn {
    display: inline-block;
    padding: 15px 35px;
    background: var(--pure-white);
    color: var(--navy-primary);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    box-shadow: var(--tab-shadow);
    transition: 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    border: 1px solid transparent;
}
.cta-btn:hover {
    background: transparent;
    color: var(--pure-white);
    border: 1px solid var(--pure-white);
    transform: translateY(-3px);
}

/* --- INTERIOR CORE SECTIONS --- */
.section-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 40px;
}
.welcome-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    margin-bottom: 50px;
}
.welcome-container h4 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    color: var(--navy-primary);
    margin-bottom: 20px;
}
.welcome-container p {
    font-size: 16px;
    line-height: 1.8;
    color: #556270;
    font-weight: 300;
}

/* --- MISSION / VISION GRID --- */
.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}
.mv-card {
    background: var(--pure-white);
    padding: 40px;
    border-radius: 4px;
    box-shadow: var(--tab-shadow);
    border-left: 4px solid var(--steel-blue);
}
.mv-card h5 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    color: var(--navy-primary);
    margin-bottom: 15px;
}
.mv-card p {
    font-size: 15px;
    line-height: 1.6;
    color: #556270;
}

.grey-section {
    background: rgba(141, 169, 196, 0.1);
    border-radius: 4px;
    margin-top: 20px;
    margin-bottom: 20px;
}

/* --- SUPPLY CHAIN COMPONENT --- */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}
.section-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    color: var(--navy-primary);
}
.section-header p {
    color: var(--mist-blue);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 10px;
}
.services-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
    font-size: 16px;
    color: #556270;
    line-height: 1.6;
}
.logistics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.logistics-card {
    background: var(--pure-white);
    padding: 30px;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(5, 22, 34, 0.04);
    border-top: 3px solid var(--steel-blue);
    transition: transform 0.3s ease;
}
.logistics-card:hover {
    transform: translateY(-5px);
}
.logistics-card h5 {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    color: var(--navy-primary);
    margin-bottom: 12px;
}
.logistics-card p {
    font-size: 14px;
    line-height: 1.6;
    color: #556270;
    font-weight: 300;
}

/* --- BEAUTIFUL PRODUCT LAYOUTS --- */
.product-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto;
    font-size: 16px;
    line-height: 1.8;
    color: #556270;
}
.portfolio-list {
    display: flex;
    flex-direction: column;
    gap: 80px;
}
.portfolio-item {
    display: flex;
    align-items: center;
    gap: 50px;
    background: var(--pure-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--image-shadow);
}
.portfolio-item.reverse-layout {
    flex-direction: row-reverse;
}
.portfolio-image {
    flex: 1;
    height: 500px;
    overflow: hidden;
}
.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.portfolio-item:hover .portfolio-image img {
    transform: scale(1.05);
}
.portfolio-content {
    flex: 1;
    padding: 50px;
}
.portfolio-content h4 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    color: var(--navy-primary);
    margin-bottom: 25px;
}
.product-features p {
    font-size: 15px;
    line-height: 1.7;
    color: #556270;
    margin-bottom: 20px;
}
.product-features ul {
    list-style-type: none;
    margin-bottom: 40px;
}
.product-features ul li {
    font-size: 14px;
    color: #556270;
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
}
.product-features ul li::before {
    content: '■';
    color: var(--steel-blue);
    font-size: 8px;
    position: absolute;
    left: 0;
    top: 5px;
}
.portfolio-content .cta-btn {
    background: var(--navy-primary);
    color: var(--pure-white);
}

/* --- PORTAL SOURCING DESK STRUCTURES --- */
.inquiry-box {
    display: grid;
    grid-template-columns: 5fr 7fr;
    background: var(--pure-white);
    box-shadow: var(--image-shadow);
    border-radius: 4px;
    overflow: hidden;
}
.info-sidebar {
    background: var(--navy-primary);
    color: var(--pure-white);
    padding: 60px;
}
.info-sidebar h4 {
    font-family: 'Playfair Display', serif;
    font-size: 30px;
    margin-bottom: 30px;
}
.sidebar-intro {
    font-weight: 300; 
    opacity: 0.8; 
    font-size: 14px; 
    line-height: 1.6; 
    margin-bottom: 40px;
}
.info-detail {
    margin-bottom: 25px;
}
.info-detail h5 {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--mist-blue);
    margin-bottom: 8px;
}
.info-detail p {
    font-size: 14px;
    opacity: 0.9;
    font-weight: 300;
    line-height: 1.5;
}
.whatsapp-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background: var(--whatsapp-green);
    color: var(--pure-white);
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
    transition: opacity 0.3s;
}
.whatsapp-btn:hover {
    opacity: 0.85;
}
.credentials-badge {
    background: rgba(238, 244, 248, 0.1);
    padding: 8px 12px;
    margin-top: 8px;
    border-left: 2px solid var(--mist-blue);
    font-size: 13px !important;
}
.form-panel {
    padding: 60px;
}
.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 25px;
}
.input-item {
    display: flex;
    flex-direction: column;
}
.input-item label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--steel-blue);
    margin-bottom: 8px;
    font-weight: 600;
}
.input-item input, .input-item select, .input-item textarea {
    padding: 14px;
    border: 1px solid rgba(141, 169, 196, 0.4);
    background: var(--light-bg);
    font-size: 14px;
    color: var(--dark-charcoal);
    transition: 0.3s ease;
    border-radius: 2px;
}
.input-item input:focus, .input-item select:focus, .input-item textarea:focus {
    outline: none;
    border-color: var(--navy-primary);
    background: var(--pure-white);
}
.send-btn {
    background: var(--navy-primary);
    color: var(--pure-white);
    border: none;
    padding: 16px 40px;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.3s ease;
    border-radius: 2px;
}
.send-btn:hover {
    background: var(--steel-blue);
    transform: translateY(-2px);
}

/* --- FOOTER GRID --- */
footer {
    background: var(--dark-charcoal);
    color: var(--pure-white);
    padding: 60px 40px 30px 40px;
    margin-top: 60px;
}
.footer-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(238,244,248,0.1);
}
.footer-col h5 {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    margin-bottom: 20px;
}
.footer-col p {
    font-size: 14px;
    color: var(--mist-blue);
    line-height: 1.6;
    font-weight: 300;
}
.footer-col ul {
    list-style: none;
}
.footer-col ul li {
    margin-bottom: 12px;
}
.footer-col ul li a {
    color: var(--mist-blue);
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s ease;
}
.footer-col ul li a:hover {
    color: var(--pure-white);
}
.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: rgba(238,244,248,0.4);
}

/* --- RESPONSIVE SYSTEMS RE-CONFIGS --- */
@media (max-width: 992px) {
    .grid-container, .inquiry-box, .footer-grid, .form-row, .logistics-grid, .mission-vision-grid {
        grid-template-columns: 1fr;
    }
    .portfolio-item, .portfolio-item.reverse-layout {
        flex-direction: column;
    }
    .portfolio-image {
        width: 100%;
        height: 300px;
    }
    .navbar {
        flex-direction: column;
        gap: 20px;
    }
}