/*
POLARIS TRADE - Modern CSS Stylesheet
Color Palette:
- Primary Dark (Modern, Trustworthy): #1E272E (Dark Slate)
- Accent Blue (Nordic/Tech): #0077B6
- Secondary Green (Sleek Contrast): #4CAF50
- Text Light: #F0F4F8 (Off-White)
*/

/* --- Base Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    margin:0;
    padding:0;
    scroll-behavior:smooth;
    scroll-padding-top:50px;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #1E272E;
    line-height: 1.6;
    background-color: #FFFFFF;
}

.container {
    max-width: 1280px; /* Wider container for modern look */
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    color: #1E272E;
    font-weight: 700;
}
section {overflow:hidden;max-width:100%;}
.flex {display:flex;}
.flex-reverse {flex-direction: row-reverse;}
.flex-wrap {flex-wrap:wrap;}
.flex-column {flex-direction: column;}
.justify-left {justify-content:flex-start;}
.justify-right {justify-content:flex-end;}
.column {flex-direction: column;}
.gap {gap:15px;}
.mt-15 {margin-top:15px;}
.product-label {
  position: absolute;
  right: 10px;
  top: 10px;
  background: rgb(246, 236, 130);
  border: 8px;
  border-radius: 20px;
  padding: 5px 10px;
  font-weight: 700;
  font-size:0.8rem;
  text-transform:uppercase;
}
.badges {
    margin-top:20px;
    display:flex;
    gap:10px;
    justify-content: center;
    flex-wrap: wrap;
}
.badges .badge {
 background: #f1f1f1;
  padding: 5px;
  border-radius: 8px;
  font-size: 0.8rem;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
    padding-top: 40px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: #0077B6;
    margin: 10px auto 0;
}

.section-title-dark {
    font-size: 2.5rem;
    color: #F0F4F8;
    margin-bottom: 20px;
}

/* --- Buttons --- */
.btn-primary, .btn-secondary, .btn-cta {
    display: inline-block;
    padding: 15px 35px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: #0077B6; /* Accent Blue */
    color: #FFFFFF;
    border: 2px solid #0077B6;
}

.btn-primary:hover {
    background-color: #005A99;
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: transparent;
    color: #0077B6;
    border: 2px solid #0077B6;
    padding: 12px 30px;
}

.btn-secondary:hover {
    background-color: #0077B6;
    color: #FFFFFF;
}

.btn-cta {
    background-color: #0077B6; /* Green CTA */
    color: #1E272E;
    padding: 10px 25px;
    font-weight: 700;
}

.btn-cta:hover {
    background-color: #1E9BDD;
}

/* --- Header & Navigation --- */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    background-color: #FFFFFF;
    border-bottom: 1px solid #EAEAEA;
    position: sticky;
    top: 0;
    z-index: 10;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-icon {
    font-size: 1.5rem;
    color: #0077B6;
    margin-right: 10px;
}

.logo h1 {
    font-size: 1.5rem;
    margin-bottom: 0;
    font-weight: 700;
}


.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav ul li {
    display: flex;
    list-style: none;
}

.main-nav ul li a {
    text-decoration: none;
    color: #1E272E;
    padding: 10px 18px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.main-nav ul li a.btn-cta {
  color: #fff;
}

.main-nav ul li a:hover:not(.btn-cta) {
    color: #0077B6;
}

/* --- Hero Section --- */
.hero-section {
    /* Use a dark, high-contrast, professional image/abstract background */
    background: linear-gradient(rgba(30, 39, 46, 0.85), rgba(30, 39, 46, 0.85)), url('img/snowman.png') no-repeat center center/cover;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #F0F4F8;
    border-bottom: 5px solid #0077B6; /* Strong brand line */
    overflow: hidden;
}

.hero-content {
    max-width: 900px;
    padding: 20px;
}

.hero-tagline {
    font-size: 1rem;
    color: #D2D2D2;
    letter-spacing: 3px;
    margin-bottom: 10px;
    font-weight: 500;
    text-transform: uppercase;
}

.hero-title {
    font-size: 3.8rem;
    margin-bottom: 30px;
    color: #FFFFFF;
    line-height: 1.1;
    font-weight: 700;
}

/* --- Brand Pillars Section (Points) --- */
.pillars-section {
    padding: 60px 0;
    background-color: #FFFFFF;
}

.pillar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.pillar-card {
    padding: 40px 20px;
    border: 1px solid #EAEAEA;
    border-radius: 20px;
    text-align: center;
    transition: box-shadow 0.3s ease, background-color 0.3s ease;
    position:relative;
    overflow:hidden;
    transition: all 200ms ease-in-out;
}

.pillar-card:hover {
    box-shadow: 0 10px 20px rgba(0, 119, 182, 0.1);
    background-color: #F8FCFF;
    scale: 103%;
}

.pillar-card i {
    margin-right:5px;
}
.pillar-card img {
    width: 240px;
    height: auto;
    margin-bottom: 15px;
    max-width: 100%;
}

.pillar-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 700;
}

/* --- Core Services Section (Visual) --- */
.core-services-section {
    background: linear-gradient(rgba(30, 39, 46, 0.9), rgba(30, 39, 46, 0.9));
    /* Use a blurred image of a modern warehouse or container port */
    padding: 80px 20px;
    text-align: center;
}

.service-content-box {
    max-width: 700px;
    margin: 0 auto;
}

.service-intro {
    color: #CCC;
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.service-list {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
}

.service-item {
    color: #F0F4F8;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    width:100%;
}

.service-item i {
    color: #4CAF50;
    margin-right: 8px;
}

/* --- Trade Focus --- */
.trade-focus {
    padding: 80px 20px;
}

.focus-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.focus-card {
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.export-card {
    background-color: #F8FCFF; /* Light Blue tint */
    border-left: 5px solid #4CAF50;
}

.import-card {
    background-color: #F8FCFF;
    border-left: 5px solid #0077B6;
}

.focus-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.focus-card ul {
    list-style: none;
    padding: 0;
}

.focus-card ul li {
    padding: 10px 0;
    border-bottom: 1px dotted #EAEAEA;
    font-weight: 500;
}

.focus-card ul li i {
    margin-right: 10px;
    /* Color handled by parent card border color in most cases */
    color: inherit; 
}

.export-card ul li i { color: #4CAF50; }
.import-card ul li i { color: #0077B6; }

/* --- Final CTA and Contact --- */
.final-cta {
    background-color: #1E272E;
    color: #F0F4F8;
    padding: 60px 20px;
    text-align: center;
}

.final-cta h3 {
    color: #FFFFFF;
    font-size: 2rem;
    margin-bottom: 15px;
}

.final-cta p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

/* --- Footer --- */
.main-footer {
    background-color: #141A20; /* Even darker */
    color: #99AAB5;
    padding: 20px 0;
    font-size: 0.9rem;
}

.open-menu {
  border-radius: 8px;
  padding: 5px 10px;
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  display:none;
}
.sidebar.menu-opened {max-width:250px;}
.toggle-menu {cursor:pointer;font-size:1.5rem;}
.menu-link {text-decoration:none;color:inherit;}
.menu-link.toggle-menu {font-size:1rem;}

.sidebar {
    max-width:250px;
    position: fixed;
    top: 0;
    z-index: 150;
    left: 0;
    bottom: 0;
    right: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
    margin: 0;
    display: flex;
    background:#f9f9f9;
    transition:max-width 0.2s ease-in-out;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.08);
    max-width:0;
}
.sidebar-menu {padding: 20px;font-weight: 500;font-size: 16px;width:100%;}
.sidebar-menu a::after {
  float: right;
  font-family: 'Material Symbols Rounded';
  margin-left: 8px;
  color:transparent;animation-name: icons;animation-duration: 50ms;animation-iteration-count: 1;animation-fill-mode: forwards;
}


.main-footer a {color:#99AAB5;}
.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    text-align: center;
}

.footer-links a {
    color: #99AAB5;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #0077B6;
}

.footer-contact-info i {
    color: #fff;
    margin-left: 15px;
}

/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
    .main-header {
        padding: 15px 20px;
    }

    .main-nav ul {
        margin-top: 10px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .focus-grid {
        grid-template-columns: 1fr;
    }

    .pillar-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 762px) {
    .hide-on-mobile {display:none;}
    .open-menu {display: block;}
    
}
@media (max-width: 600px) {
    .pillar-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 1.8rem;
    }
    .section-title-dark {font-size: 1.8rem;}
    .section-title {font-size: 1.8rem;}
    .final-cta h3 {font-size:1.8rem;}
    .service-list {
        flex-direction: column;
        gap: 15px;
    }

    .footer-grid {
        flex-direction: column;
    }

    .footer-links, .footer-contact-info {
        margin-top: 15px;
    }
}