/* ===== GENERAL STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 65%;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: #244574;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== HEADER & NAVIGATION ===== */
.primary-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    width: 100%;
    background-color: #cbe4f9;
    transition: background-color 0.5s;
}

.container {
    max-width: 120rem;
    margin-inline: auto;
    padding-inline: 1.5rem;
}

.navbar {
    height: 7.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    transition: height 0.25s;
}

/* Logo & Company Info */
#logo {
    display: flex;
    align-items: center;
}

#logo img {
    height: 80px;
    width: auto;
    padding: 0;
}

#companyName {
    display: flex;
    align-items: center;
}

#companyName h1 {
    font-family: 'Roboto', sans-serif;
    font-size: 1.8em;
    text-transform: uppercase;
    text-align: left;
    padding: 0;
    margin: 0;
    color: #244574;
    font-weight: 700;
}

#companyReg {
    display: flex;
    align-items: center;
}

#companyReg h3 {
    font-family: 'Roboto', sans-serif;
    font-size: 1.1em;
    text-transform: uppercase;
    padding: 0;
    margin: 0;
    color: #244574;
    font-weight: 600;
}

/* Navigation List */
#primary-nav {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

#primary-nav li {
    display: inline-block;
}

#primary-nav a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    transition: all 0.25s;
    color: #244574;
    font-weight: 600;
}

/* Navigation Icons */
#aboutUs {
    background-image: url(../images/about_us.png);
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 16px 16px;
    padding-left: 30px;
}

#products {
    background-image: url(../images/services.png);
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 16px 16px;
    padding-left: 30px;
}

#trucks {
    background-image: url(../images/trucks.png);
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 16px 16px;
    padding-left: 22px;
}

#contactUs {
    background-image: url(../images/contact_us.png);
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 16px 16px;
    padding-left: 30px;
}

/* Active Navigation Highlight */
#primary-nav a.active {
    background-color: #1f4675;
    color: white;
    border-radius: 5px;
}

/* Navigation Hover Effects */
#primary-nav a:hover {
    background-color: rgba(31, 70, 117, 0.2);
    border-radius: 5px;
}

/* Header Active State (on scroll) */
header.active {
    background-color: white;
    box-shadow: 0 3px 1rem rgba(0, 0, 0, 0.1);
}

header.active .navbar {
    height: 7.5rem;
}

header.active #companyName h1,
header.active #companyReg h3,
header.active #primary-nav a {
    color: #244574;
}

header.active #primary-nav a:hover {
    background-color: rgba(31, 70, 117, 0.1);
}

header.active #primary-nav a.active {
    background-color: #1f4675;
    color: white;
}

/* ===== UNIVERSAL CONTENT STYLES ===== */
/* These styles apply to ALL pages for consistency */

h2 {
    font-family: 'Roboto', sans-serif;
    font-size: 2em;
    font-weight: 700;
    color: #224574;
    margin-bottom: 1em;
    line-height: 1.4;
}

h3 {
    font-family: 'Roboto', sans-serif;
    font-size: 1.6em;
    font-weight: 600;
    color: #224574;
    margin-bottom: 0.8em;
    line-height: 1.4;
}

p {
    font-family: 'Kurale', serif;
    font-size: 1.2em;
    line-height: 1.8;
    color: #244574;
    margin-bottom: 1.5em;
}

ul {
    font-family: 'Kurale', serif;
    font-size: 1.2em;
    line-height: 1.8;
    color: #244574;
}

li {
    margin-bottom: 1em;
}

strong {
    font-weight: 700;
    color: #1f4675;
}

em {
    font-style: italic;
}

/* ===== CONTENT SECTION ===== */
#content {
    max-width: 1200px;
    margin: 100px auto 40px;
    padding: 20px;
}

#subContent {
    width: 100%;
}

#subContent article {
    width: 99%;
    margin: 0 auto;
}

.belowHeader {
    margin-top: 0.5em;
}

/* ===== INDEX PAGE STYLES ===== */
body.index-page #content {
    margin-top: 100px;
    margin-bottom: 0;
    padding: 0;
}

#index-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4%;
    height: calc(100vh - 200px);
    padding: 20px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

#index-text {
    flex: 1;
    max-width: 48%;
}

#index-image {
    flex: 1;
    max-width: 48%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#index-image img {
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
}

#index-text h2 {
    font-family: 'Kurale', serif;
    font-size: 1.2em;
    line-height: 1.8;
    color: #244574;
    text-align: justify;
    margin: 0;
    font-weight: 400;
}

#index-text strong {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    color: #1f4675;
    font-size: 1.1em;
}

/* ===== ABOUT US PAGE STYLES ===== */
body.about-page #content {
    margin-top: 100px;
    margin-bottom: 0;
    padding: 20px 5%;
    height: calc(100vh - 200px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#about-container {
    max-width: 1400px;
    margin: 0 auto;
}

#about-header {
    text-align: center;
    margin-bottom: 10px;
}

#ownership-section {
    margin-bottom: 10px;
}

#ownership-section h3 {
    font-family: 'Roboto', sans-serif;
    font-size: 1.6em;
    font-weight: 600;
    color: #224574;
    margin-bottom: 15px;
}

#ownership-section p {
    font-family: 'Kurale', serif;
    font-size: 1.2em;
    line-height: 1.8;
    color: #244574;
    text-align: justify;
}

#mission-vision-container {
    display: flex;
    gap: 4%;
    justify-content: space-between;
}

.mission-vision-box {
    flex: 1;
    background-color: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
}

.mission-vision-box h3 {
    font-family: 'Roboto', sans-serif;
    font-size: 1.8em;
    font-weight: 600;
    color: #224574;
    margin-bottom: 15px;
    text-align: center;
}

.mission-vision-box p {
    font-family: 'Kurale', serif;
    font-size: 1.2em;
    line-height: 1.8;
    color: #244574;
    text-align: justify;
}

/* ===== PRODUCTS PAGE STYLES (TABBED DESIGN) ===== */
body.products-page #content {
    margin-top: 100px;
    padding: 20px 5%;
    max-width: 1400px;
}

#products-header {
    text-align: center;
    margin-bottom: 30px;
}

#products-header h2 {
    font-family: 'Roboto', sans-serif;
    font-size: 2.5em;
    font-weight: 700;
    color: #224574;
}

/* Product Tabs */
.product-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tab-button {
    font-family: 'Roboto', sans-serif;
    font-size: 1.1em;
    font-weight: 600;
    padding: 12px 25px;
    background-color: #f0f0f0;
    color: #244574;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.tab-button:hover {
    background-color: #e0e0e0;
    border-color: #1f4675;
}

.tab-button.active {
    background-color: #1f4675;
    color: white;
    border-color: #1f4675;
}

/* Product Content */
.product-content {
    display: none;
    animation: fadeIn 0.5s;
}

.product-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Product Image Display */
.product-image-display {
    margin-bottom: 20px;
}

.main-product-image {
    width: 100%;
    height: 450px;
    background-color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #e0e0e0;
    margin-bottom: 10px;
    overflow: hidden;
}

.main-product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}

/* Product Thumbnails with Labels */
.product-thumbnails {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.thumbnail-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.product-thumb {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border: 3px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 8px;
}

.product-thumb:hover {
    border-color: #1f4675;
    transform: scale(1.05);
}

.product-thumb.active {
    border-color: #1f4675;
    box-shadow: 0 0 10px rgba(31, 70, 117, 0.5);
}

.thumb-label {
    font-family: 'Roboto', sans-serif;
    font-size: 0.9em;
    font-weight: 600;
    color: #244574;
    text-align: center;
    padding: 5px 10px;
    background-color: transparent;
    border-radius: 5px;
    transition: all 0.3s;
}

/* Highlight label when thumbnail is active */
.product-thumb.active + .thumb-label {
    background-color: #1f4675;
    color: white;
}

.thumbnail-item:hover .thumb-label {
    background-color: rgba(31, 70, 117, 0.1);
}

/* Responsive Thumbnails */
@media (max-width: 768px) {
    .product-thumb {
        width: 70px;
        height: 70px;
    }
    
    .thumb-label {
        font-size: 0.8em;
    }
    
    .product-thumbnails {
        gap: 10px;
    }
}

/* 2-Column Grid for Description and Specs */
.product-details-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 12px;
    border: 2px solid #e0e0e0;
}

.product-description-col h3 {
    font-family: 'Roboto', sans-serif;
    font-size: 2em;
    font-weight: 600;
    color: #224574;
    margin-bottom: 15px;
    border-bottom: 3px solid #1f4675;
    padding-bottom: 10px;
}

.product-description-col p {
    font-family: 'Kurale', serif;
    font-size: 1.2em;
    line-height: 1.8;
    color: #244574;
    margin-bottom: 15px;
    text-align: justify;
}

.product-specs-col {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    border: 2px solid #e0e0e0;
}

.product-specs-col h4 {
    font-family: 'Roboto', sans-serif;
    font-size: 1.5em;
    font-weight: 600;
    color: #224574;
    margin-bottom: 20px;
    text-align: center;
    border-bottom: 2px solid #1f4675;
    padding-bottom: 10px;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.spec-row:last-child {
    border-bottom: none;
}

.spec-label {
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    color: #224574;
    font-size: 1.1em;
}

.spec-value {
    font-family: 'Kurale', serif;
    color: #244574;
    font-size: 1.1em;
    text-align: right;
}

/* Responsive Design */
@media (max-width: 968px) {
    .product-details-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .main-product-image {
        height: 350px;
    }
    
    .product-tabs {
        gap: 8px;
    }
    
    .tab-button {
        font-size: 1em;
        padding: 10px 18px;
    }
}

@media (max-width: 768px) {
    .main-product-image {
        height: 280px;
    }
    
    .product-thumb {
        width: 70px;
        height: 70px;
    }
    
    .tab-button {
        font-size: 0.9em;
        padding: 8px 15px;
    }
}/* ===== TRANSPORTATION PAGE STYLES ===== */
body.transportation-page #content {
    margin-top: 100px;
    padding: 20px 5%;
    max-width: 1200px;
}

#transportation p {
    font-family: 'Kurale', serif;
    font-size: 1.2em;
    line-height: 1.8;
    color: #244574;
    text-align: justify;
    margin-bottom: 1.5em;
}

.transport-image {
    text-align: center;
    margin: 30px 0;
	margin-bottom: 10px;
}

.transport-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.custom-list {
    list-style-type: disc;
    margin-left: 1.6em;
    padding-left: 1em;
    margin-bottom: 1em;
	font-size: 1.0em;
}

.custom-list li {
    font-family: 'Kurale', serif;
    font-size: 1.2em;
    line-height: 1.0;
    color: #244574;
    margin-bottom: 1em;
}

.custom-list strong {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    color: #1f4675;
}

/* ===== CONTACT PAGE STYLES ===== */
body.contact-page #content {
    margin-top: 100px;
    padding: 20px 5%;
    max-width: 1200px;
}

#contact_us h2 {
    font-family: 'Roboto', sans-serif;
    font-size: 2.5em;
    font-weight: 700;
    color: #224574;
    text-align: center;
    margin-bottom: 1.5em;
}

#contact_us img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* ===== FOOTER ===== */
footer {
    background-color: #1f4675;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    box-shadow: 0px -2px 5px rgba(0, 0, 0, 0.1);
}

.footer-left {
    display: flex;
    gap: 20px;
    align-items: center;
}

.footer-left a {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: white;
    font-family: 'Roboto', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    transition: opacity 0.3s;
}

.footer-left a:hover {
    opacity: 0.8;
}

.footer-left img {
    width: 45px;
    height: 45px;
}

.footer-right {
    text-align: right;
}

.footer-right p {
    font-family: 'Roboto', sans-serif;
    font-size: 1.1rem;
    color: white;
    margin: 0;
    line-height: 1.6;
	font-size: 1.0em;
}

.footer-right a {
    color: #cbe4f9;
    text-decoration: underline;
    transition: color 0.3s;
}

.footer-right a:hover {
    color: white;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 968px) {
    #index-container {
        flex-direction: column;
        height: auto;
    }
    
    #index-text,
    #index-image {
        max-width: 100%;
    }
    
    #mission-vision-container {
        flex-direction: column;
        gap: 20px;
    }
    
    body.about-page #content {
        height: auto;
    }
    
    .product-card {
        flex-direction: column;
    }
    
    .product-image-section,
    .product-info-section {
        max-width: 100%;
    }
    
    .main-image-container {
        height: 300px;
    }
}

@media (max-width: 768px) {
    #primary-nav {
        flex-direction: column;
        gap: 1rem;
    }

    footer {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .footer-left,
    .footer-right {
        margin: 10px 0;
    }
    
    .footer-right {
        text-align: center;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 1.2rem;
    }

    .navbar {
        height: auto;
        flex-direction: column;
        padding: 10px 0;
    }
    
    h2 {
        font-size: 1.6em;
    }
    
    h3 {
        font-size: 1.4em;
    }
    
    p, ul, li {
        font-size: 1.1em;
    }
}

/* ===== HAMBURGER MENU FOR MOBILE ===== */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background-color: #244574;
    margin: 4px 0;
    transition: all 0.3s;
    border-radius: 2px;
}

/* Hamburger animation when active */
.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    #primary-nav {
        position: fixed;
        top: 7.5rem;
        left: -100%;
        width: 100%;
        height: calc(100vh - 7.5rem);
        background-color: #cbe4f9;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 30px 0;
        gap: 0;
        transition: left 0.3s ease-in-out;
        z-index: 998;
        overflow-y: auto;
    }
    
    #primary-nav.active {
        left: 0;
    }
    
    #primary-nav li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(36, 69, 116, 0.1);
    }
    
    #primary-nav a {
        display: block;
        width: 100%;
        padding: 20px;
        font-size: 1.3em;
    }
    
    /* Adjust navbar for mobile */
    .navbar {
        height: 7.5rem;
        flex-wrap: nowrap;
    }
    
    #companyName h1 {
        font-size: 1.4em;
    }
    
    #companyReg h3 {
        font-size: 0.9em;
    }
    
    #logo img {
        height: 60px;
    }
    
    /* Active state for scrolled header on mobile */
    header.active #primary-nav {
        background-color: white;
    }
    
    header.active .menu-toggle span {
        background-color: #244574;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 10px 15px;
    }
    
    #companyName h1 {
        font-size: 1.2em;
    }
    
    #companyReg h3 {
        font-size: 0.8em;
    }
    
    #logo img {
        height: 50px;
    }
}

/* ===== UTILITY CLASSES ===== */
.clear-float {
    clear: both;
}

.bold {
    font-weight: 700;
}