/* ==========================================================================
   MAZSONI GLOBAL - Complete Master Stylesheet (Responsive & Modern)
   ========================================================================== */

/* --- Reset & Design Tokens --- */
:root {
    --primary: #0b1f3a;         /* Deep Corporate Navy */
    --primary-light: #16325c;   /* Lighter Navy */
    --brand-blue: #1b4998;      /* Royal Blue from Logo */
    --brand-green: #2e7d32;     /* Eco Green from Logo */
    --brand-red: #c62828;       /* Crimson Red from Logo */
    
    --text-dark: #1e293b;       /* Dark Charcoal Text */
    --text-muted: #64748b;      /* Secondary Grey Text */
    --bg-light: #f8fafc;        /* Off-White Background */
    --white: #ffffff;
    --border: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius: 8px;
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.site-header {
    background: var(--white);
    border-bottom: 2px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.03);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 85px;
    gap: 15px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    max-width: 60%;
}

.logo-img {
    max-height: 55px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.brand-text {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--brand-blue);
    border-bottom: 2px solid var(--brand-blue);
    padding-bottom: 2px;
}

.btn-nav {
    background: var(--brand-blue);
    color: var(--white) !important;
    padding: 8px 18px;
    border-radius: var(--radius);
    border-bottom: none !important;
}

.btn-nav:hover {
    background: var(--brand-green);
}

/* Mobile Hamburger Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.mobile-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: var(--primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-toggle.open .bar:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}

.mobile-toggle.open .bar:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.open .bar:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

/* ==========================================================================
   HERO & PAGE BANNERS
   ========================================================================== */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    padding: 80px 0 70px;
    text-align: center;
    border-bottom: 4px solid var(--brand-green);
}

.page-banner {
    padding: 60px 0 50px;
}

.hero-content {
    max-width: 800px;
}

.badge {
    background: rgba(46, 125, 50, 0.25);
    color: #81c784;
    border: 1px solid var(--brand-green);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero h1 {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 18px;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.1rem;
    color: #cbd5e1;
}

/* ==========================================================================
   STATS BAR (HOMEPAGE)
   ========================================================================== */
.stats-bar {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    margin-top: -30px;
    position: relative;
    z-index: 10;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border-top: 3px solid var(--brand-blue);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 24px;
    text-align: center;
}

.stat-item h3 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--brand-blue);
}

.stat-item p {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
}

/* ==========================================================================
   SECTIONS & CARDS
   ========================================================================== */
.section {
    padding: 70px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.section-title {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 40px;
}

.section-title h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-top: 3px solid var(--brand-green);
}

.card-image {
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-body {
    padding: 20px;
}

.card-body h3 {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.card-body p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ==========================================================================
   GLOBAL REACH & CLIENTELE
   ========================================================================== */
.global-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.global-text h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 16px;
}

.global-text p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.check-list {
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    font-weight: 500;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--brand-green);
    font-weight: 800;
}

.global-image img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.partner-logos {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.logo-strip {
    background: var(--white);
    padding: 16px 30px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    max-width: 100%;
}

/* ==========================================================================
   ABOUT US PAGE SPECIFIC STYLES
   ========================================================================== */
.profile-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    align-items: start;
}

.profile-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--brand-blue);
}

.profile-img-wrapper {
    width: 170px;
    height: 170px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--bg-light);
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-title h2 {
    font-size: 1.35rem;
    color: var(--primary);
    margin-bottom: 4px;
    font-weight: 700;
}

.profile-role {
    display: block;
    font-weight: 700;
    color: var(--brand-blue);
    font-size: 0.95rem;
}

.profile-company {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.profile-bio h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 8px;
    font-weight: 800;
}

.divider {
    width: 60px;
    height: 3px;
    background: var(--brand-green);
    margin-bottom: 24px;
    border-radius: 2px;
}

.profile-bio p {
    color: var(--text-dark);
    font-size: 1.025rem;
    line-height: 1.7;
    margin-bottom: 18px;
}

.about-stats {
    margin-top: 0;
    box-shadow: none;
    background: transparent;
    border: none;
    gap: 20px;
}

.about-stats .stat-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 20px;
    border-top: 3px solid var(--brand-green);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
    background: var(--primary);
    color: #94a3b8;
    padding: 60px 0 30px;
    border-top: 4px solid var(--brand-blue);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 2fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo-img {
    max-height: 45px;
    background: var(--white);
    padding: 6px 12px;
    border-radius: 4px;
    margin-bottom: 14px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 16px;
    border-left: 3px solid var(--brand-red);
    padding-left: 10px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul a:hover {
    color: var(--white);
}

.company-sub {
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 8px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.8rem;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1080px) {
    .brand-text { font-size: 0.85rem; }
    .nav-links { gap: 14px; }
    .nav-links a { font-size: 0.85rem; }
}

@media (max-width: 960px) {
    .mobile-toggle { display: flex; }
    .brand-logo { max-width: 80%; }
    .brand-text { font-size: 0.9rem; }

    /* Navigation Drawer */
    .nav-links {
        position: fixed;
        top: 85px;
        right: -100%;
        width: 260px;
        height: calc(100vh - 85px);
        background-color: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 30px 24px;
        gap: 20px;
        box-shadow: -4px 0 10px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
        z-index: 1000;
    }

    .nav-links.active { right: 0; }
    .nav-links a { font-size: 1rem; width: 100%; }
    .btn-nav { text-align: center; margin-top: 10px; }

    /* Layout Responsive Adjustments */
    .hero h1 { font-size: 2.1rem; }
    .services-grid, .global-grid, .footer-grid { grid-template-columns: 1fr; }
    
    /* About Us Page Grid Adjustment */
    .profile-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .profile-card {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 550px) {
    .brand-text { display: none; }
    .hero h1 { font-size: 1.75rem; }
    .stats-grid, .about-stats {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .stats-bar { margin-top: 0; }
}

/* ==========================================================================
   CERTIFICATES PAGE STYLES
   ========================================================================== */

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.cert-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.cert-image-wrapper {
    height: 380px;
    background-color: #f1f5f9;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.cert-image-wrapper img {
    max-height: 100%;
    width: auto;
    object-fit: contain;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.cert-card:hover .cert-image-wrapper img {
    transform: scale(1.03);
}

.cert-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--brand-blue);
    background: rgba(27, 73, 152, 0.08);
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}
/* ==========================================================================
   COMMODITIES PAGE STYLES
   ========================================================================== */

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}

.product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-img-wrapper {
    height: 240px;
    background-color: var(--bg-light);
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}

.product-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-img-wrapper img {
    transform: scale(1.05);
}

.product-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--brand-green);
    background: rgba(46, 125, 50, 0.1);
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}
/* ==========================================================================
   CONTACT US PAGE STYLES
   ========================================================================== */

.contact-highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.contact-highlight-card {
    padding: 30px 24px;
    text-align: center;
    border-top: 4px solid var(--brand-blue);
}

.contact-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.contact-highlight-card h3 {
    font-size: 1.15rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.highlight-main {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--brand-blue);
    margin-bottom: 4px;
}

.highlight-main a:hover {
    color: var(--brand-green);
}

.highlight-sub {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.hours-tag {
    display: inline-block;
    margin-top: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(46, 125, 50, 0.1);
    color: var(--brand-green);
    padding: 4px 10px;
    border-radius: 50px;
}

.contact-main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.text-left {
    text-align: left;
    margin-left: 0;
    margin-bottom: 24px;
}

.office-card {
    padding: 24px;
    margin-bottom: 20px;
    border-left: 4px solid var(--brand-green);
}

.office-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--brand-green);
    background: rgba(46, 125, 50, 0.08);
    padding: 3px 8px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.office-card h3 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.office-address {
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.5;
}

.office-details p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.storage-subcard {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px dashed var(--border);
}

.storage-subcard h4 {
    font-size: 0.9rem;
    color: var(--primary);
    margin-bottom: 4px;
}

.storage-subcard p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Contact Form Styling */
.form-card {
    padding: 36px;
    border-top: 4px solid var(--brand-blue);
}

.form-card h2 {
    font-size: 1.75rem;
    color: var(--primary);
    margin-bottom: 6px;
}

.form-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    font-size: 0.95rem;
    font-family: var(--font-main);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background-color: var(--bg-light);
    color: var(--text-dark);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--brand-blue);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(27, 73, 152, 0.1);
}

.btn-submit {
    width: 100%;
    text-align: center;
    cursor: pointer;
    border: none;
}

@media (max-width: 960px) {
    .contact-main-grid {
        grid-template-columns: 1fr;
    }
}
/* ==========================================================================
   FLOATING WHATSAPP BUTTON (BOTTOM LEFT)
   ========================================================================== */

.whatsapp-float {
    position: fixed;
    bottom: 25px;
    left: 25px;
    width: 58px;
    height: 58px;
    background-color: #25d366;
    color: #ffffff;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    z-index: 10000;
    transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-float:hover {
    background-color: #20ba5a;
    transform: scale(1.1);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
}

.whatsapp-icon {
    width: 32px;
    height: 32px;
    fill: #ffffff;
}

/* Adjust size slightly on mobile screens */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        left: 20px;
    }

    .whatsapp-icon {
        width: 26px;
        height: 26px;
    }
}