/* =========================================
   1. Global Resets & Variables
   ========================================= */
:root {
    /* Brand Palette */
    --dark-navy: #112240;     /* Deep professional blue */
    --accent-gold: #D4AF37;   /* Premium gold highlight */
    --primary-green: #28a745; /* Freshness and agriculture */
    --cream: #f4f7f6;         /* Soft background off-white */
    --light-text: #a8b2d1;    /* For footer text */
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--dark-navy);
    background-color: var(--white);
    overflow-x: hidden;
}

/* =========================================
   2. Typography & Utilities
   ========================================= */
h1, h2, h3, h4, h5 {
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul { list-style: none; }
img { max-width: 100%; display: block; }

/* Utility Classes */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.text-center { text-align: center; }
.bg-cream { background-color: var(--cream); }
.section-pad { padding: 80px 0; }

/* Responsive Grid Utility */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--accent-gold);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #b3932a;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px -10px rgba(212, 175, 55, 0.5);
}

/* =========================================
   3. Header & Navigation
   ========================================= */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 10px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--dark-navy);
}

.nav-links a:hover {
    color: var(--accent-gold);
}

.btn-contact {
    background-color: var(--dark-navy);
    color: var(--white) !important;
    padding: 10px 25px;
    border-radius: 4px;
}

.btn-contact:hover {
    background-color: var(--accent-gold);
}

/* =========================================
   4. Hero Section
   ========================================= */
.hero {
    height: 85vh;
    background-image: linear-gradient(rgba(17, 34, 64, 0.8), rgba(17, 34, 64, 0.8)), url('https://images.unsplash.com/photo-1494412574643-ff11b0a5c1c3?q=80&w=2070&auto=format&fit=crop'); /* Placeholder Port Image */
    background-size: cover;
    background-position: center;
    color: var(--white);
    display: flex;
    align-items: center;
    text-align: center;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    margin-bottom: 20px;
}

/* =========================================
   5. Products/Sectors Section
   ========================================= */
.section-title {
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent-gold);
}

.product-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-card img {
    height: 250px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover img {
    transform: scale(1.05);
}

.p-card-content {
    padding: 25px;
}

.p-card-content h3 {
    color: var(--dark-navy);
    margin-bottom: 15px;
}

/* =========================================
   6. Locations Section
   ========================================= */
.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 40px;
    margin-top: -30px;
}

.icon-box {
    width: 70px;
    height: 70px;
    border: 2px solid var(--dark-navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.timeline-item:hover .icon-box {
    background-color: var(--dark-navy);
    color: var(--accent-gold) !important;
    border-color: var(--accent-gold) !important;
}

.world-map {
    width: 80%;
    margin: 0 auto;
    display: block;
    filter: grayscale(100%) opacity(0.6);
}

/* =========================================
   7. Certifications Section
   ========================================= */
.cert-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 40px;
}

.cert-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-weight: 600;
    color: #555;
}

.cert-item i {
    font-size: 3rem;
    color: var(--primary-green);
    margin-bottom: 10px;
}

/* =========================================
   8. Footer
   ========================================= */
footer {
    background-color: var(--dark-navy);
    color: var(--light-text);
    padding: 80px 0 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-about h3 {
    color: var(--white);
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.footer-contact a:hover {
    color: var(--accent-gold) !important;
}

.footer-bottom {
    background-color: rgba(0,0,0,0.2);
    padding: 20px 0;
    margin-top: 40px;
    font-size: 0.9rem;
}

/* Whatsapp button hover */
.footer-contact a[href*="wa.me"]:hover {
    background-color: #1ebe57 !important;
    transform: translateY(-2px);
}

/* =========================================
   9. Responsive Media Queries
   ========================================= */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    
    .nav-container {
        flex-direction: column;
        padding: 10px;
    }

    .nav-links {
        margin-top: 20px;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .hero { height: 70vh; }
    
    .footer-contact {
        grid-column: span 1 !important; /* Stacks footer columns on mobile */
    }
}