/* Base Styles & Resets */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f8f9fa;
    padding-top: 70px; /* Offset for the fixed header */
    color: #333;
}

a {
    text-decoration: none;
}

/* --- 1. Top Navigation Bar (Header) --- */
header {
    background-color: #0d2a47; 
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.header-left .logo {
    color: #ffffff;
    font-size: 24px;
    font-weight: bold;
    display: flex;
    align-items: center;
    letter-spacing: 1px;
}

.header-left .logo i {
    margin-right: 10px;
    color: #4da6ff;
}

.header-middle {
    display: flex;
    gap: 30px;
}

.header-middle a {
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.header-middle a:hover {
    color: #4da6ff;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-container {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    border-radius: 20px;
    padding: 5px 15px;
}

.search-container input {
    border: none;
    outline: none;
    padding: 5px;
    width: 150px;
}

.search-container button {
    background: none;
    border: none;
    cursor: pointer;
    color: #0d2a47;
}

.email-icon {
    color: #ffffff;
    font-size: 22px;
    transition: transform 0.2s ease;
}

.email-icon:hover {
    transform: scale(1.1);
    color: #4da6ff;
}

/* --- 2. Main Visual (Image Banner/Carousel) --- */
.hero-carousel {
    position: relative;
    width: 100%;
    height: 60vh;
    min-height: 400px;
    background-color: #000;
    overflow: hidden;
}

.hero-carousel img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out; /* Smooth fade effect */
}

.hero-carousel img.active {
    opacity: 1;
}
    /* Add a subtle dark tint over the images to make text readable */
.hero-carousel::after {
    content: '';
    position: absolute;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background: rgba(13, 42, 71, 0.5); /* Semi-transparent dark blue */
    z-index: 10; /* Sits above the images */
}
    /* Center the text overlay */
.carousel-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Perfectly centers the div */
    z-index: 20; /* Sits above the dark tint */
    text-align: center;
    color: #ffffff;
    width: 90%;
    max-width: 800px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5); /* Helps text stand out */
}

.carousel-overlay h1 {
    font-size: 52px;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.carousel-overlay p {
    font-size: 22px;
    margin-bottom: 35px;
    line-height: 1.4;
}

     /* The Call-to-Action Button */
.hero-btn {
    display: inline-block;
    background-color: #4da6ff;
    color: #0d2a47;
    padding: 15px 35px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 5px;
    text-decoration: none;
    text-shadow: none; /* Remove shadow from button text */
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.hero-btn:hover {
    background-color: #ffffff;
    transform: scale(1.05); /* Slight zoom effect on hover */
}

/* --- 3. Company Description --- */
.company-description {
    text-align: center;
    padding: 60px 20px;
    max-width: 900px;
    margin: 0 auto;
}

.company-description p {
    color: #004080;
    font-size: 22px;
    line-height: 1.6;
    font-weight: 500;
}

/* --- 4. Product Slider Section --- */
.product-section {
    padding: 40px 20px 80px;
    background-color: #ffffff;
    text-align: center;
    position: relative;
}

.product-section h2 {
    color: #0d2a47;
    margin-bottom: 30px;
    font-size: 32px;
}

.slider-container {
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    padding: 20px 0 60px;
}

.slider-track {
    display: flex;
    width: 200%; /* 2 pages */
    transition: transform 0.5s ease-in-out;
}

.slide-page {
    width: 50%; /* 100% divided by 2 pages */
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 0 50px;
}

.product-card {
    background: #f4f7f6;
    border: 1px solid #ddd;
    border-radius: 8px;
    width: 250px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.product-card i {
    font-size: 50px;
    color: #0d2a47;
    margin-bottom: 15px;
}

    /* Slider Controls (Arrows) */
.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px;
    color: #0d2a47;
    cursor: pointer;
    z-index: 10;
}

.arrow:hover {
    color: #4da6ff;
}

.next-arrow {
    right: 10px;
}

.prev-arrow {
    left: 10px;
    display: none; /* Hidden by default on the first page */
}

.see-more-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 250px;
}

.see-more-link {
    font-size: 20px;
    font-weight: bold;
    color: #0d2a47;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.see-more-link:hover {
    color: #4da6ff;
}

/* --- 5. Footer --- */
footer {
    background-color: #0d2a47;
    color: #ffffff;
    text-align: center;
    padding: 40px 20px;
}

footer h3 {
    margin-bottom: 15px;
    font-size: 24px;
    letter-spacing: 1px;
}

footer p {
    margin-bottom: 8px;
    font-size: 15px;
    color: #cfd8dc;
}

footer i {
    margin-right: 8px;
    color: #4da6ff;
}
.heading-link {
    color: #0d2a47; /* Matches your original heading color */
    text-decoration: none; /* Removes the underline */
    transition: color 0.3s ease;
}

.heading-link:hover {
    color: #4da6ff; /* Changes to light blue when hovered, matching your theme */
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        height: auto;
        padding: 15px;
        gap: 15px;
    }
    body {
        padding-top: 140px;
    }
    .header-middle {
        gap: 15px;
    }
    .slide-page {
        flex-direction: column;
        align-items: center;
    }
    .product-card, .see-more-container {
        width: 100%;
        max-width: 300px;
    }
    .arrow {
        top: auto;
        bottom: 0;
    }
    .next-arrow {
        right: 40%;
        transform: translateX(50%);
    }
    .prev-arrow {
        left: 40%;
        transform: translateX(-50%);
    }
    .slider-container {
        padding-bottom: 70px;
    }
}