/* GLOBAL */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    color: #333;
    line-height: 1.6;
}

/* NAVBAR - WHITE THEME */
#header {
    width: 100%;
    background: white;
    position: fixed;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    padding: 2px 40px;
    align-items: center;
    max-width: 1000px;
    width: 90%;
    margin: 0 auto;
}

.logo-link {
    display: flex;
    align-items: center;
}

.logo {
    height: 155px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: #0d2340;
    font-weight: 600;
    transition: color 0.3s;
    padding: 5px 10px;
    border-radius: 4px;
}

.nav-links a:hover, .nav-links a.active {
    color: #003a7a;
    background-color: rgba(0, 58, 122, 0.05);
}

.menu-btn {
    display: none;
    cursor: pointer;
    font-size: 28px;
}

/* HERO SECTION - HOME PAGE */
.hero {
    height: 100vh;
    background: url('images/logistics.png') no-repeat center/cover;
    display: flex;
    align-items: center;
    padding: 0 60px;
    text-shadow: 0 2px 6px rgba(0,0,0,0.4);
    color: white;
    margin-top: 0;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.hero-content h1 {
    font-size: 50px;
    font-weight: 700;
    margin-bottom: 10px;
}

.hero-content p {
    font-size: 22px;
    margin-top: 0;
}

.explore-btn {
    margin-top: 50px; 
}

/* PAGE HERO (for other pages) - FIXED */
.page-hero {
    height: 100vh; /* Changed from 60vh to 100vh */
    background: url('images/logistics.png') no-repeat center/cover !important; /* Added !important */
    display: flex;
    align-items: center;
    padding: 0 60px;
    text-shadow: 0 2px 6px rgba(0,0,0,0.4);
    color: white;
    margin-top: 0; /* Changed from 100px to 0 */
}

/* BUTTON */
.btn {
    display: inline-block;
    padding: 14px 32px;
    background: #003366;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: #004b9b;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.btn-full {
    width: 100%;
}

/* SECTION BASE */
.section {
    padding: 80px 60px;
    max-width: 1200px;
    margin: 0 auto;
}

/* TEXT CENTER */
.text-center {
    text-align: center;
    margin-top: 40px;
}

/* ABOUT PREVIEW */
.about-preview {
    background-color: #f8f9fa;
    text-align: center;
}

.about-preview-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-preview-content h2 {
    font-size: 35px;
    color: #003366;
    margin-bottom: 25px;
}

.about-text {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 30px;
    text-align: left;
}

/* ABOUT PAGE */
.about-container {
    max-width: 1000px;
    margin: 0 auto;
}

.about-content h2 {
    color: #003366;
    margin-top: 40px;
    margin-bottom: 20px;
}

.about-content p {
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 40px 0;
}

.mission, .vision {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid #003366;
}

.mission h2, .vision h2 {
    color: #003366;
    margin-top: 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.value-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #003366;
}

.value-item h3 {
    color: #003366;
    margin-top: 0;
}

/* SERVICES */
#services-preview h2, .section h2 {
    font-size: 35px;
    text-align: center;
    color: #003366;
    margin-bottom: 15px;
}

.subtext {
    text-align: center;
    font-size: 18px;
    margin-bottom: 40px;
    color: #666;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.service-card h3 {
    color: #003366;
    margin-top: 0;
    font-size: 22px;
}

.service-card p {
    margin-bottom: 15px;
}

.service-card ul {
    padding-left: 20px;
    margin-top: 15px;
}

.service-card li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 10px;
}

.service-card li:before {
    content: "•";
    color: #003366;
    font-weight: bold;
    position: absolute;
    left: -10px;
}

/* CTA SECTION */
.cta-section {
    background-color: #003366;
    color: white;
    text-align: center;
    border-radius: 10px;
}

.cta-section h2 {
    color: white;
}

.cta-section .btn {
    background: white;
    color: #003366;
}

.cta-section .btn:hover {
    background: #f0f0f0;
}

/* CONTACT PAGE */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-details {
    margin: 30px 0;
}

.contact-item {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item h3 {
    color: #003366;
    margin-bottom: 5px;
}

.social-links {
    margin-top: 40px;
}

.social-icons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-icon {
    display: inline-block;
    padding: 12px 24px;
    background: #003366;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s;
    font-weight: 600;
    text-align: center;
}

.social-icon:hover {
    background: #004b9b;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* FORM STYLES */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #003366;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    border-color: #003366;
    outline: none;
}

.form-group textarea {
    resize: vertical;
}

/* FOOTER - IMPROVED WITH BETTER SPACING */
footer {
    background: #003366;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.footer-section {
    padding: 0 15px;
}

.footer-section h3 {
    font-size: 22px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: rgba(255, 255, 255, 0.5);
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: rgba(255, 255, 255, 0.5);
}

.footer-section p {
    margin-bottom: 10px;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
    display: inline-block;
    padding: 2px 0;
}

.footer-section a:hover {
    color: white;
    transform: translateX(5px);
}

/* Footer Social Links */
.footer-social-links {
    margin-top: 20px;
}

.footer-social-links .social-icon {
    background: rgba(255, 255, 255, 0.2);
    margin-right: 10px;
    margin-bottom: 10px;
    padding: 10px 20px;
    font-size: 14px;
}

.footer-social-links .social-icon:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

/* RESPONSIVE DESIGN */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-content {
        gap: 40px;
    }
    
    .mission-vision {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .menu-btn {
        display: block;
    }
    
    .hero, .page-hero {
        padding: 0 20px;
        height: 80vh;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .hero-content p {
        font-size: 18px;
    }
    
    .section {
        padding: 60px 20px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .footer-section h3::after,
    .footer-section h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-section a:hover {
        transform: none;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .footer-social-links {
        text-align: center;
    }
    
    .footer-social-links .social-icon {
        margin: 5px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 28px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .btn {
        padding: 12px 24px;
    }
    
    .footer-content {
        padding: 0 20px;
    }
    
    .service-card {
        padding: 20px;
    }
    
    .social-icon {
        padding: 10px 20px;
        font-size: 14px;
    }
}