/* =========== General Styling & Variables =========== */
:root {
    --primary-blue: #2563EB;
    --dark-blue: #1E3A8A;
    --dark-text: #111827;
    --light-text: #F9FAFB;
    --body-text: #4B5563;
    --bg-light-gray: #F3F4F6;
    --font-family: 'Overpass', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    color: var(--body-text);
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
	padding: 0 20px;
}

h2, h3 {
    color: var(--dark-text);
    margin-bottom: 1rem;
    letter-spacing: -.5px;
}

h1 {
    color: var(--light-text)
    font-size: 3rem;
    line-height: 1.2;
    letter-spacing: -.5px;
}

h2 {
    font-size: 2rem;
    line-height: 1.0;
}

p {
    margin-bottom: 1rem;
}

img {
    max-width: 100%;
    border-radius: 2px;
}

/* =========== Buttons =========== */
.btn {
    display: inline-block;
    padding: 12px 32px 8px 32px;
    border-radius: 24px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--light-text);
}

.btn-primary:hover {
    background-color: var(--dark-blue);
}

.btn-secondary {
    background-color: var(--light-text);
    color: var(--primary-blue);
}

.btn-secondary:hover {
    background-color: var(--bg-light-gray);
}

/* =========== Header & Hero Section =========== */
.hero {
    background-image: linear-gradient(135deg, rgba(26,58,117,0.86) 23%, rgba(43,115,244,0.45) 94%), url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--light-text);
    padding-bottom: 100px;
}

.navbar {
    display: flex;
    align-items: center; /* Vertically aligns logo and tagline */
    padding: 20px 0;
}

.navbar .container {
    display: flex;
    justify-content: flex-start;
}

.logo {
	width: 200px;
    margin-right: 25px;
}

.tagline {
    font-size: 1.1rem;
    opacity: 0.8;
}

.hero-content {
    text-align: left;
    max-width: 600px; /* This now creates the text column effect */
    margin-top: 40px;  /* Reduced margin for better spacing */
}

.hero-content p {
    font-size: 1.1rem;
    margin-top: 1.5rem;
    margin-bottom: 2.5rem; /* Slightly reduced margin */
}

/* =========== Feature Sections =========== */
.feature {
    display: flex;
    align-items: center;
    gap: 4rem;
    padding: 80px 40px;
}

.feature-image, .feature-text {
    flex: 1;
}

.feature-text {
	max-width: 500px
}

.feature-image {
	max-width: 350px;
	height: 300px;
}

.feature-image img {
	width: 100%
	height: 100%
	object-fit: cover;
}

/* For the second feature section with image on the right */
.feature-reversed {
    flex-direction: row-reverse;
}

/* =========== "Get Capsure" Section =========== */
.get-capsure {
    text-align: center;
    padding: 80px 40px;
    background-color: var(--bg-light-gray);
}

.get-capsure > p {
    max-width: 700px;
    margin: 0 auto 3rem auto;
}

.cards-container {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    text-align: left;
}

.card {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    flex: 1;
}

.card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    margin-bottom: 1rem;
}

/* =========== Call to Action (CTA) Section =========== */
.cta {
    background-image: linear-gradient(135deg, rgba(26,58,117,0.86) 23%, rgba(43,115,244,0.45) 94%), url('images/cta-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--light-text);
    text-align: center;
    padding: 100px 0;
}

.cta h2 {
    color: var(--light-text);
}

.cta p {
    max-width: 600px;
    margin: 0 auto 2rem auto;
}

/* =========== Footer =========== */
.footer {
    background-color: var(--dark-text);
    color: #ccc;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9rem;
}

.footer a {
    color: #fff;
    text-decoration: none;
}

/* =========== Responsive Styles =========== */
@media (max-width: 768px) {

    /* --- General Layout --- */
    .feature,
    .feature-reversed {
        flex-direction: column; /* Stack the image and text vertically */
        text-align: center;     /* Center-align the text for a cleaner look */
        gap: 2rem;              /* Reduce the gap between image and text */
        padding: 40px 0;        /* Reduce top/bottom padding */
    }

    .cards-container {
        flex-direction: column; /* Stack the three cards vertically */
    }

    /* --- Typography --- */
    h1 {
        font-size: 2.25rem; /* Make the main headline smaller */
    }

    h2 {
        font-size: 1.75rem; /* Make section titles smaller */
    }

    /* --- Header & Navbar --- */
    .navbar {
        flex-direction: column; /* Stack the tagline below the logo */
        align-items: flex-start;
        gap: 10px;
    }

    .hero-content {
        text-align: left; /* Keep hero text left-aligned */
        margin-top: 20px;
    }
}