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

body {
    background-color: #001a3c; /* EXACT MATCH to your logo's dark blue */
    color: #e0e6ed; 
    line-height: 1.6;
}

/* 2. Navigation Bar (2-Column Independent Setup) */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center; 
    padding: 10px 10%;
    background-color: #001a3c; /* EXACT MATCH - makes the logo seamless */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); 
    position: sticky;
    top: 0;
    z-index: 100;
    min-height: 70px; 
}

/* Left Column: Logo Container */
.logo-container {
    display: flex;
    align-items: center;
    margin-top: 5px;
    margin-bottom: 5px;
}

.logo-container .logo-img {
    height: 128px; 
    width: auto;   
    display: block;
}

/* Right Column: Independent Nav Menu */
.navbar nav {
    display: flex;
    align-items: center;
    height: 100%; 
}

.navbar nav a {
    text-decoration: none;
    color: #b0bfc9; 
    margin-left: 25px;
    
    /* Makes all navigation text bold by default */
    font-weight: 700; 
    font-size: 16px;
    
    /* Creates an invisible border space so the links don't "jump" when the underline appears */
    border-bottom: 3px solid transparent; 
    
    /* Padds the bottom slightly so the underline sits neatly below the text */
    padding: 6px 0; 
    
    /* Smoothly transitions the underline and text color */
    transition: color 0.3s ease, border-color 0.3s ease; 
}

/* Adds the orange underline when hovered OR when the page is active */
.navbar nav a:hover, .navbar nav a.active {
    color: #f37d21;             /* Vivid Orange from your waveform */
    border-color: #f37d21;      /* Adds the matching orange underline */
}


/* 3. Hero Banner */
.hero {
    /* Transitions smoothly from the exact blue into a slightly darker variation for depth */
    background: linear-gradient(rgba(0, 26, 60, 0.4), rgba(0, 15, 35, 1));
    color: #ffffff;
    padding: 120px 10%;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: #ffffff;
}

.hero p {
    font-size: 20px;
    max-width: 650px;
    margin: 0 auto 40px auto;
    opacity: 0.9;
    color: #b0bfc9;
}

/* Button Component */
.btn {
    display: inline-block;
    background-color: #f37d21; /* Vivid Orange Accent */
    color: #ffffff;
    padding: 14px 35px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 16px;
    transition: background-color 0.3s ease, transform 0.1s ease;
    box-shadow: 0 4px 15px rgba(243, 125, 33, 0.3); 
}

.btn:hover {
    background-color: #d66a1a; 
}

.btn:active {
    transform: translateY(1px); 
}

/* 4. Services Section */
.services-section {
    padding: 100px 10%;
    text-align: center;
    background-color: #00122b; /* Slightly darker midnight blue for visual structure */
}

.services-section h2 {
    font-size: 36px;
    color: #ffffff;
    margin-bottom: 10px;
}

.services-section .section-subtitle {
    color: #b0bfc9; 
    margin-bottom: 60px;
}

/* The Grid Container */
.services-grid {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap; 
}

/* Individual Service Cards */
.service-card {
    background-color: #00224f; /* Lighter variant of your brand blue to pop out against the section */
    flex: 1;
    min-width: 280px;
    padding: 50px 30px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
    transition: transform 0.3s ease, border-color 0.3s ease;
    border: 2px solid transparent; 
}

.service-card:hover {
    transform: translateY(-8px); 
    border-color: #f37d21; /* Highlights with your logo's orange when hovered */
}

.service-card .icon {
    font-size: 48px;
    margin-bottom: 25px;
}

.service-card h3 {
    font-size: 22px;
    color: #f37d21; 
    margin-bottom: 20px;
}

.service-card p {
    color: #b0bfc9;
    font-size: 16px;
}

/* 5. Footer */
footer {
    background-color: #000f24; /* Ultra-dark blue at the base */
    color: #778899;
    text-align: center;
    padding: 40px;
    font-size: 14px;
}