/* --- General Setup & Variables --- */
:root {
    --primary-color: #0A2540; /* Deep Blue */
    --secondary-color: #F6F9FC; /* Light Grey Background */
    --accent-color: #007BFF; /* Bright Blue */
    --text-color: #333;
    --light-text-color: #fff;
    --border-color: #e6ebf1;
    --header-height: 80px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Typography --- */
h1, h2, h3 {
    line-height: 1.2;
    font-weight: 600;
    color: var(--primary-color);
}

h1 {
    font-size: 2.8rem;
}

h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 40px;
}

p.subtitle {
    font-size: 1.1rem;
    color: #555;
    max-width: 700px;
    margin: 15px auto;
}

/* --- Header & Navigation --- */
.header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 20px 0;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    display: flex; /* Allow logo image and text to align */
    align-items: center;
}

.logo-img {
    height: 40px; /* Adjust as needed */
    margin-right: 10px;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-item {
    margin-left: 25px;
}

.nav-link {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 400;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-color);
}

/* --- CTA Button --- */
.cta-button {
    background-color: var(--accent-color);
    color: var(--light-text-color);
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: inline-block;
}

.cta-button:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    color: var(--light-text-color);
}

.cta-button-large {
    padding: 15px 30px;
    font-size: 1.1rem;
}

.cta-button-strong {
    font-weight: 700;
    background-color: var(--primary-color);
}
.cta-button-strong:hover {
    background-color: #1a3c5c;
}

/* --- Hero Section --- */
.hero {
    background-color: var(--primary-color); /* Fallback */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 0;
    text-align: center;
    position: relative;
    color: var(--light-text-color); /* Ensure text is readable on background image */
}
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* Dark overlay for text readability */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1, .hero-content .subtitle {
    color: var(--light-text-color);
}

.hero-content h1 {
    max-width: 800px;
    margin: 0 auto;
}

.hero-content .subtitle {
    margin-bottom: 30px;
}

/* --- Services Section --- */
.services {
    padding: 80px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, border-color 0.3s ease; /* Added background and border transition */
}

/* All service cards will now have this hover effect */
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.07);
    background-color: var(--secondary-color); /* Change background on hover */
    border-color: var(--accent-color); /* Change border color on hover */
}

/* Removed specific styling for .service-card.featured to ensure consistency */
/* .service-card.featured {
    background-color: var(--primary-color);
    color: var(--light-text-color);
    border: none;
}
.service-card.featured h3, .service-card.featured p {
    color: var(--light-text-color);
}
.service-card.featured .service-icon img {
    filter: brightness(0) invert(1) saturate(10) hue-rotate(180deg) brightness(1.5) contrast(1.5);
}
.service-card.featured:hover {
    background-color: #1a3c5c;
    border-color: #1a3c5c;
} */


.service-icon {
    margin-bottom: 20px;
}

.service-icon img {
    width: 48px; /* Fixed size for service icons */
    height: 48px; /* Fixed size for service icons */
    display: block; /* Remove extra space below img */
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.service-card ul {
    list-style: none;
    padding-left: 0;
    margin: 15px 0;
}
.service-card ul li {
    padding-left: 20px;
    position: relative;
    margin-bottom: 8px;
}
.service-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

.service-card .outcome {
    margin-top: 20px;
    padding: 10px;
    border-radius: 5px;
    background-color: var(--secondary-color);
    font-size: 0.9rem;
}
.outcome strong {
    color: var(--primary-color);
}

/* --- Pilot Packages Section --- */
.pilots {
    padding: 80px 0;
    background-color: var(--secondary-color);
}
.pilots .subtitle {
    text-align: center;
    margin-bottom: 40px;
}
.pilots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.pilot-card {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, border-color 0.3s ease; /* Added transitions */
}
.pilot-card:hover { /* Hover effect for pilot cards */
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.07);
    background-color: var(--secondary-color);
    border-color: var(--accent-color);
}

.pilot-card h3 {
    font-size: 1.5rem;
}
.pilot-card .price {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--accent-color);
    margin: 10px 0 15px;
}
.pilot-card ul {
    list-style-type: '✓  ';
    padding-left: 20px;
    margin: 15px 0;
    flex-grow: 1;
}
.pilot-card li {
    margin-bottom: 8px;
}
.pilot-card .cta-button {
    text-align: center;
    width: 100%;
}


/* --- About Section --- */
.about {
    padding: 80px 0;
    background-color: #fff;
}
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
.about-text h2 {
    margin-bottom: 20px;
}
.about-text p {
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: #444;
}


/* --- Testimonials Section --- */
.testimonials {
    padding: 80px 0;
    background-color: var(--secondary-color);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: #fff;
    padding: 30px;
    border-left: 5px solid var(--accent-color);
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease; /* Added transitions */
}
.testimonial-card:hover { /* Hover effect for testimonial cards */
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.07);
    background-color: var(--secondary-color);
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-color);
}

/* --- Resources Section --- */
.resources {
    padding: 80px 0;
}
.resources-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
.resource-card {
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, border-color 0.3s ease; /* Added transitions */
}
.resource-card:hover { /* Hover effect for resource cards */
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.07);
    background-color: var(--secondary-color);
    border-color: var(--accent-color);
}

.resource-card h3 {
    margin-bottom: 15px;
}
.resource-card p {
    margin-bottom: 25px;
}


/* --- Contact Section --- */
.contact {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: var(--light-text-color);
    text-align: center;
}
.contact h2, .contact p {
    color: var(--light-text-color);
}
.contact p {
    max-width: 600px;
    margin: 15px auto 30px;
}

/* --- Footer --- */
.footer {
    padding: 40px 0;
    background-color: #051424;
    color: #ccc;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-links {
    list-style: none;
    display: flex;
}
.footer-links li {
    margin-left: 20px;
}
.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-links a:hover {
    color: var(--light-text-color);
}

/* --- Sticky CTA --- */
.sticky-cta {
    display: none; /* Hidden by default on desktop */
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent-color);
    color: #fff;
    padding: 15px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
    z-index: 999;
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 0;
    pointer-events: none;
    display: flex; /* Align icon and text */
    align-items: center;
}

.sticky-cta.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.cta-icon {
    height: 24px; /* Fixed size for CTA icon */
    width: 24px;  /* Ensure aspect ratio */
    margin-right: 8px;
    filter: invert(1); /* Make icon white */
}


/* --- Responsive Design --- */
@media(max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }
    h2 {
        font-size: 1.8rem;
    }

    .nav-menu {
        /* Basic mobile menu toggle could be added here */
        display: none;
    }
    
    .resources-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    .footer-links {
        margin-top: 15px;
    }

    .sticky-cta {
        display: flex; /* Show on mobile, and keep flex */
    }
}