:root {
    --primary-blue: #1e3a5f;
    --text-primary: #2c3e50;
    --surface-light: #ffffff;
    --grey-text: #6c757d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--surface-light);
    padding: 15px 60px;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo { height: 50px; }

.nav-links { display: flex; align-items: center; }

.nav-item {
    text-decoration: none;
    margin: 0 18px;
    font-size: 15px;
    font-weight: 500;
    color: rgba(44, 62, 80, 0.7);
}

.nav-item.active {
    color: var(--primary-blue);
    font-weight: bold;
}

.btn-contact {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 15px 25px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    margin-left: 12px;
}

/* Hero Section */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding-left: 60px;
    padding-bottom: 120px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    transition: background-image 1.5s ease-in-out;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(30, 58, 95, 0.3); /* Matches Flutter Opacity */
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
}

.hero-content h4 {
    font-size: 16px;
    letter-spacing: 2.5px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 15px;
}

.hero-content h1 {
    font-size: 55px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 35px;
}

.hero-actions { display: flex; gap: 25px; }

.btn-primary, .btn-secondary {
    padding: 16px 32px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--primary-blue);
    border: 1.5px solid var(--primary-blue);
    color: white;
}

.btn-secondary {
    background: transparent;
    border: 1.5px solid white;
    color: white;
}

/* Indicators */
.indicators {
    position: absolute;
    right: 60px;
    bottom: 120px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dot {
    width: 3px;
    height: 30px;
    background: rgba(255,255,255,0.24);
    transition: 0.3s;
}

.stat-value {
    font-size: 40px;
    font-weight: bold;
    color: var(--primary-blue);
    display: inline-block;
    min-width: 80px; /* Adjust based on your largest number */
}

.dot.active { background: white; }

/* Stats Section */
.stats {
    display: flex;
    justify-content: space-around;
    padding: 70px 60px;
    background: #f9fbff;
}


.stat-item { text-align: center; }

.stat-item h2 {
    font-size: 40px;
    color: var(--primary-blue);
    margin-bottom: 5px;
}

.stat-item p { color: var(--grey-text); font-size: 16px; }

/* Simple Animation */
.animate-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Expertise Section Styling */
.expertise {
    padding: 80px 60px;
    background: var(--surface-light);
    text-align: center;
}

.expertise-header h4 {
    color: var(--primary-blue);
    letter-spacing: 3px;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 15px;
}

.expertise-header h2 {
    font-size: 42px;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 20px;
}

.title-line {
    height: 4px;
    width: 80px;
    background: var(--primary-blue);
    margin: 0 auto 60px;
}

/* Grid Layout (Responsive like Flutter Wrap) */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Service Card Styling */
.service-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    text-align: left;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.card-image {
    position: relative;
    height: 250px;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(30, 58, 95, 0.4));
}

.card-content {
    padding: 30px;
}

.card-content h3 {
    font-size: 20px;
    color: var(--primary-blue);
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.card-content p {
    font-size: 16px;
    color: rgba(44, 62, 80, 0.7);
    line-height: 1.6;
    margin-bottom: 25px;
}

.read-more {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 800;
    font-size: 13px;
}

/* Animation Classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered Delay for Grid Items */
.service-card:nth-child(1) { transition-delay: 0.1s; }
.service-card:nth-child(2) { transition-delay: 0.3s; }
.service-card:nth-child(3) { transition-delay: 0.5s; }

/* Fleet Section Styling */
.fleet {
    background: #121212;
    padding: 100px 0;
    color: white;
    overflow: hidden;
}

.fleet-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 0 60px;
    margin-bottom: 60px;
}

.header-left h4 {
    color: rgba(196, 203, 211, 0.6);
    letter-spacing: 3px;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 15px;
}

.header-left h2 {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.1;
}

.header-right p {
    text-align: right;
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    line-height: 1.6;
}

/* Horizontal Scroll Layout */
.fleet-scroll-container {
    padding-left: 60px;
    overflow-x: auto;
    scrollbar-width: none; /* Hides scrollbar for Firefox */
}

.fleet-scroll-container::-webkit-scrollbar {
    display: none; /* Hides scrollbar for Chrome/Safari */
}

.fleet-track {
    display: flex;
    gap: 30px;
    padding-right: 60px;
}

/* Fleet Card */
.fleet-card {
    min-width: 400px;
    height: 450px;
    display: flex;
    flex-direction: column;
}

.fleet-image-box {
    flex: 1;
    background-size: cover;
    background-position: center;
    border-radius: 4px;
    position: relative;
}

.unit-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-blue);
    color: white;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 2px;
}

.fleet-info {
    padding-top: 20px;
}

.fleet-info h3 {
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.fleet-info p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 15px;
    line-height: 1.5;
}

/* Animation refinement for the scrolling track */
.fleet-scroll-container.reveal.active {
    animation: slideInRight 1s ease-out forwards;
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Responsive adjustment for Mobile */
@media (max-width: 768px) {
    .fleet-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .header-right p { text-align: left; }
    .fleet-card { min-width: 300px; }
}

/* --- Standard Section --- */
.standard {
    padding: 100px 60px;
    background: white;
}

.standard-container {
    display: flex;
    gap: 80px;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
}

.standard-image-side { flex: 1; position: relative; }
.standard-content-side { flex: 1; }

.main-image-wrapper img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 8px;
}

.certified-box {
    position: absolute;
    bottom: 30px;
    right: -20px;
    background: var(--primary-blue);
    padding: 30px;
    color: white;
    box-shadow: 10px 10px 30px rgba(0,0,0,0.1);
}

.certified-box .tag { font-size: 12px; letter-spacing: 2px; color: rgba(255,255,255,0.7); }
.certified-box h3 { font-size: 24px; margin-top: 10px; line-height: 1.2; }

.sub-label { color: var(--primary-blue); letter-spacing: 3px; font-weight: bold; font-size: 14px; margin-bottom: 20px; }
.standard-content-side h2 { font-size: 42px; font-weight: 800; color: var(--text-primary); margin-bottom: 30px; }
.description { font-size: 17px; line-height: 1.6; color: rgba(44, 62, 80, 0.7); margin-bottom: 50px; }

.feature-item { display: flex; gap: 20px; margin-bottom: 30px; }
.feature-icon { 
    background: rgba(30, 58, 95, 0.05); 
    padding: 15px; 
    border-radius: 8px; 
    font-size: 24px;
    height: fit-content;
}

.feature-text h4 { font-size: 18px; color: var(--text-primary); margin-bottom: 8px; }
.feature-text p { font-size: 15px; color: rgba(44, 62, 80, 0.6); line-height: 1.5; }

/* --- Milestone Section --- */
.milestone {
    padding: 100px 60px;
    background: #F4F7FA;
    text-align: center;
}

.milestone-header { margin-bottom: 80px; }
.milestone-header h2 { font-size: 42px; font-weight: 800; color: var(--text-primary); margin-top: 15px; }

.project-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 120px;
    text-align: left;
}

.project-row.reversed { flex-direction: row-reverse; }

.project-image { flex: 6; position: relative; }
.project-content { flex: 5; }

.image-shadow {
    position: absolute;
    top: 20px;
    width: 90%;
    height: 100%;
    background: rgba(30, 58, 95, 0.1);
    z-index: 0;
}
.shadow-left { left: -20px; }
.shadow-right { right: -20px; }

.project-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    position: relative;
    z-index: 1;
    border-radius: 4px;
}

.category { color: var(--primary-blue); font-weight: 800; font-size: 12px; letter-spacing: 1.5px; }
.project-content h3 { font-size: 32px; color: var(--text-primary); margin: 15px 0 10px; }
.location { color: rgba(44, 62, 80, 0.6); font-weight: 500; margin-bottom: 25px; }
.project-content p { font-size: 16px; color: rgba(44, 62, 80, 0.7); line-height: 1.7; margin-bottom: 30px; }

.btn-text { background: none; border: none; color: var(--primary-blue); font-weight: bold; cursor: pointer; display: flex; align-items: center; gap: 10px; }

.milestone-footer { margin-top: 80px; }
.btn-outline {
    background: none;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    padding: 20px 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}
.btn-outline:hover { background: var(--primary-blue); color: white; }

/* --- Why Partner Section --- */
.why-partner {
    padding: 120px 60px;
    background: white;
}

.partner-container {
    display: flex;
    align-items: center;
    gap: 100px;
    max-width: 1300px;
    margin: 0 auto;
}

.partner-image-side {
    flex: 5;
    position: relative;
}

.main-partner-img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    border-radius: 12px;
}

/* Glassmorphism Effect */
.glass-card {
    position: absolute;
    top: 40px;
    left: 40px;
    background: rgba(30, 58, 95, 0.85); /* primaryBlue with opacity */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    text-align: center;
}

.exp-number { font-size: 32px; font-weight: bold; display: block; }
.exp-label { font-size: 10px; font-weight: bold; letter-spacing: 1px; color: rgba(255,255,255,0.7); }

.partner-content-side { flex: 6; }
.partner-content-side h1 { font-size: 45px; font-weight: 900; line-height: 1.1; margin-bottom: 40px; color: var(--text-primary); }

.value-item { display: flex; gap: 15px; margin-bottom: 35px; }
.check-icon { color: var(--primary-blue); font-size: 22px; font-weight: bold; }
.value-text h3 { font-size: 22px; color: var(--text-primary); margin-bottom: 12px; }
.value-text p { color: rgba(44, 62, 80, 0.65); line-height: 1.6; }

.btn-start {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 25px 45px;
    font-weight: bold;
    letter-spacing: 1px;
    border-radius: 4px;
    cursor: pointer;
}

/* --- Footer Section --- */
.footer {
    background: var(--primary-blue);
    padding: 80px 60px 20px;
    color: white;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    padding-bottom: 60px;
}

.footer-col h4 {
    font-size: 16px;
    letter-spacing: 1.5px;
    margin-bottom: 25px;
}

.brand-col { flex: 3; }
.footer-logo { height: 60px; margin-bottom: 25px; filter: brightness(0) invert(1); } /* Makes logo white */
.brand-col p { color: rgba(255,255,255,0.7); line-height: 1.6; font-size: 15px; }

.links-col { flex: 2; }
.links-col ul { list-style: none; }
.links-col li { margin-bottom: 12px; }
.links-col a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 14px; }

.contact-col { flex: 3; }
.contact-item { display: flex; gap: 15px; margin-bottom: 15px; align-items: flex-start; }
.contact-item .icon { color: rgba(255,255,255,0.5); }
.contact-item p { color: rgba(255,255,255,0.7); font-size: 14px; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    color: rgba(255,255,255,0.5);
    font-size: 13px;
}

.social-icons a { margin-left: 20px; color: rgba(255,255,255,0.5); text-decoration: none; }
