/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', Arial, sans-serif;
    line-height: 1.8;
    color: #fff; /* White text for contrast */
    margin: 0;
    min-height: 100vh; /* Allow scrolling if content exceeds viewport height */
    display: flex;
    flex-direction: column;
    overflow-x: hidden; /* Prevent horizontal scrolling */
    animation: fadeIn 1.5s ease-in-out;
    background: url('/assets/Company1Images/fc1f0acd-5c36-48c0-82a1-ffbf614101fc.gif') no-repeat center center fixed; 
    background-size: cover; /* Ensure the GIF covers the entire viewport */
}

/* Fade-in Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Header Section */
.header {
    text-align: center;
    background: linear-gradient(90deg, #003399, #0055cc); /* Blue gradient for the navbar */
    color: white;
    padding: 10px 0; /* Reduced padding for a smaller navbar */
    position: fixed;
    top: 0;
    width: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
    z-index: 1000; /* Ensure the header stays on top */
}

.logo {
    max-height: 40px; /* Reduced logo size */
    margin-bottom: 0; /* Removed extra margin for a tighter layout */
    max-width: 100%;
    filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.3));
}

/* Hero Section */
.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: calc(100vh - 60px); /* Ensure hero section is at least the height of the viewport minus the navbar */
    padding: 20px;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for readability */
    color: white;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero .button {
    display: inline-block;
    padding: 15px 40px;
    font-size: 1.2rem;
    text-transform: uppercase;
    font-weight: bold;
    border-radius: 30px;
    text-decoration: none;
    background: #0077ff;
    color: white;
    border: 2px solid white;
    transition: background 0.3s ease, transform 0.3s ease, color 0.3s ease;
}

.hero .button:hover {
    background: white;
    color: #0077ff;
    transform: scale(1.1);
}

/* Split Section Layout */
.container {
    display: flex;
    flex-direction: row; /* Side-by-side layout */
    width: 100%;
    padding: 140px 20px 40px; /* Add padding at the top to push sections lower */
    gap: 20px; /* Add spacing between sections */
    z-index: 1;
    flex-wrap: wrap; /* Allow sections to wrap on smaller screens */
}

.section {
    flex: 1; /* Equal width for both sections */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
    color: white;
    background: rgba(0, 85, 204, 0.7); /* Semi-transparent lighter blue for both sections */
    border-radius: 15px; /* Rounded corners for a modern look */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3); /* Add depth to sections */
    transition: transform 0.3s ease-in-out;
    min-height: 300px; /* Ensure sections have a minimum height */
}

.section:hover {
    transform: scale(1.03); /* Slight zoom on hover */
}

/* Section Titles */
.section h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.5); /* Subtle underline */
}

/* Section Paragraphs */
.section p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Buttons */
.section .button {
    display: inline-block;
    padding: 12px 30px;
    font-size: 1rem;
    text-transform: uppercase;
    font-weight: bold;
    border-radius: 30px; /* Rounded buttons for a modern look */
    text-decoration: none;
    background: #0077ff;
    color: white;
    border: 2px solid white;
    transition: background 0.3s ease, transform 0.3s ease, color 0.3s ease;
}

.section .button:hover {
    background: white;
    color: #0077ff;
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        padding: 8px 0; /* Slightly smaller padding for mobile */
    }

    .logo {
        max-height: 35px; /* Slightly smaller logo for mobile */
    }

    .container {
        flex-direction: column; /* Stack sections vertically on smaller screens */
        gap: 20px; /* Add spacing between stacked sections */
        padding: 120px 20px 20px; /* Adjust padding for smaller screens */
    }

    .hero h1 {
        font-size: 2.5rem; /* Adjust font size for smaller screens */
    }

    .hero p {
        font-size: 1.2rem; /* Adjust font size for readability */
    }

    .hero .button {
        font-size: 1rem; /* Adjust button size for smaller screens */
    }

    .section h2 {
        font-size: 1.8rem; /* Adjust font size for smaller screens */
    }

    .section p {
        font-size: 1rem; /* Adjust font size for readability */
    }

    .section .button {
        font-size: 0.9rem; /* Slightly smaller buttons for mobile */
    }
}