/* General Reset and Font */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    background-color: #181622;
    color: white;
    line-height: 1.6;
}

/* Header Styling */
header {
    background-color: black;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 0.4rem 1rem; /* Add padding to header for compactness */
}

header nav ul {
    display: flex;
    list-style: none;
    justify-content: flex-end;
    padding: 0; /* Remove padding for tighter layout */
    margin: 0; /* Remove default margin */
}

.navbar-brand {
    margin-right: auto;
    color: white;
    text-decoration: none;
    padding: 0.3rem 0.5rem; /* Reduce padding */
    font-size: 1.2rem; /* Adjust text size */
}

header nav ul li {
    padding: 0 0.5rem; /* Reduce side padding for compactness */
}

header nav ul li a {
    text-decoration: none;
    color: white; 
    padding: 0.3rem 0.6rem; /* Compact link padding */
    font-size: 0.95rem; /* Slightly smaller font */
    transition: background-color 0.3s;
}

.navbar-nav .nav-link {
    color: white !important;
}
.navbar-nav .nav-link:hover {
    color: #E0E1DD !important; /* Optional: off-white on hover */
    background-color: transparent; /* Optional: remove bg */
}

a:visited {
    text-decoration: none;
}

a:hover {
    background-color: #415A77;
    color: white;
}

/* Hero Section */
#hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

#hero h1 {
    font-size: 3rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

#hero video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

/* Services Section */
#services-section {
    background-color: #0D1B2A;
    padding: 60px 20px;
}

.card {
    background-color: #1B2D60;
    color: white;
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

/* About Section */
#about-section {
    display: flex;
    flex-direction: column;
    padding: 60px 20px;
    background-color: #143A52;
}

.about-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.about-section {
    max-width: 800px;
    margin: auto;
}

.about-section h2 {
    text-align: center;
    margin-bottom: 20px;
}

.about-section p {
    margin-bottom: 15px;
}

.about-section ul {
    margin-bottom: 15px;
    padding-left: 20px;
}

.about-section ul li {
    margin-bottom: 10px;
}

/* Buttons */
.cta-button, button {
    background-color: #415A77;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.cta-button:hover, button:hover {
    background-color: #294592;
}

/* Container Spacing for Bootstrap */
.container {
    padding-top: 20px;
    padding-bottom: 20px;
}

/* Responsive Layouts */
@media (max-width: 768px) {
    header nav ul {
        flex-direction: column;
        align-items: center;
    }

    #hero h1 {
        font-size: 2rem;
    }

    .about-row {
        flex-direction: column;
    }
}