/* Global Styles */
:root {
    --primary-color: #003366; /* Navy Blue */
    --secondary-color: #00A3E0; /* Cyan/Blue */
    --accent-color: #D32F2F; /* Red */
    --text-color: #333333;
    --light-bg: #F5F5F5;
    --white: #FFFFFF;
    --font-main: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--secondary-color);
    color: var(--white);
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #008BB8;
}

.btn-primary {
    background-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #002244;
}

/* 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;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-color);
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--secondary-color);
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 80vh;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    /* Default fallback if inline style fails */
    background-image: linear-gradient(rgba(0, 51, 102, 0.7), rgba(0, 51, 102, 0.5)); 
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Page Header */
.page-header {
    height: 40vh;
    background-color: #003366;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

/* Tracking Bar */
.tracking-bar {
    background-color: var(--primary-color);
    padding: 30px 0;
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.tracking-form {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.tracking-input {
    padding: 15px;
    width: 400px;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
}

/* Services Section */
.services {
    padding: 80px 0;
    background-color: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--light-bg);
    padding: 40px;
    border-radius: 8px;
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.service-card p {
    flex: 1;
    margin-bottom: 20px;
}

/* Service Details Page */
.service-detail-row {
    display: flex;
    gap: 50px;
    margin-bottom: 80px;
    align-items: center;
}

.service-detail-row.reverse {
    flex-direction: row-reverse;
}

.service-detail-img {
    flex: 1;
}

.service-detail-img img {
    width: 100%;
    height: 400px; /* Fixed height for service images */
    object-fit: cover; /* Ensure image covers the area without distortion */
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.service-detail-text {
    flex: 1;
}

.service-detail-text h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 2rem;
}

.service-detail-text ul {
    margin: 20px 0 30px;
}

.service-detail-text ul li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-detail-text ul li i {
    color: var(--secondary-color);
}

/* Features / Why Choose Us */
.features {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.feature-item {
    text-align: center;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--secondary-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.feature-item h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* Stats Section */
.stats {
    padding: 60px 0;
    background-color: var(--primary-color);
    color: #fff;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.stat-item p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    text-align: center;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    position: relative;
    color: #fff;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 51, 102, 0.85);
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: var(--white);
}

.about-content {
    display: flex;
    gap: 50px;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    height: 400px; /* Fixed height for about image */
    object-fit: cover; /* Ensure image covers the area without distortion */
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #ccc;
}

.footer-col ul li a:hover {
    color: var(--white);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    color: #ccc;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hamburger {
        display: block;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .tracking-form {
        flex-direction: column;
        align-items: center;
    }
    
    .tracking-input {
        width: 100%;
    }
    
    .about-content, .service-detail-row, .service-detail-row.reverse {
        flex-direction: column;
    }
    
    .service-detail-img {
        margin-bottom: 20px;
    }
    
    /* Reset heights on mobile if needed, or keep them fixed for consistency */
    .about-image img, .service-detail-img img {
        height: auto;
        min-height: 250px;
    }
}
