/* ================= GLOBAL STYLES ================= */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: #1e2a38;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
}

h1, h2, h3 {
    margin-bottom: 10px;
}

/* ================= NAVBAR ================= */
.navbar {
  /*  background: white;
    padding: 15px 0;
    border-bottom: 1px solid #eee;*/
	
	background: #0f2a44;
    color: white;
   
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    width: 40px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

nav a {
    text-decoration: none;
    /*color: #1e2a38;*/
	color: white;
}

/* ================= HERO ================= */
.hero {
    background: url('images/hero1.png') center/cover no-repeat;
	/*background: url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e') center/cover no-repeat;*/
    height: 500px;
    position: relative;
}

.hero-overlay {
    background: rgba(0,0,0,0.4);
    height: 100%;
}

.hero-content {
    color: white;
    padding-top: 150px;
    max-width: 600px;
}

/* ================= BUTTONS ================= */
.btn {
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
}

.primary {
    background: #177e8c;
    color: white;
}

.secondary {
    background: white;
    color: #177e8c;
    border: 2px solid #177e8c;
}

/* ================= FEATURES ================= */
.features {
    background: #f5f7f9;
    padding: 30px 0;
    text-align: center;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}


/* ================= VALUE PROPS ================= */
.features {
    background: #f5f7f9;
    padding: 2px 0;
    text-align: center;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}


/* IMAGE CONTROL (KEY PART) */
.feature img {
    width: 150px;          /* force consistent size */
    height: 150px;
    object-fit: contain;  /* prevents distortion */
}

/* OPTIONAL: subtle polish */
.feature h4 {
    font-size: 0.95rem;
    max-width: 180px;
}

/* GRID */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.feature img {
    transition: transform 0.2s ease;
}

.feature:hover img {
    transform: scale(1.1);
}

/* MOBILE */
@media (max-width: 768px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ================= CARE SECTION ================= */
.care {
    padding: 10px 0;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.card {
    background: #f5f7f9;
    padding: 20px;
    border-radius: 10px;
}

/* ================= COMMUNITY ================= */
.community {
    padding: 50px 0;
}

.community-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.community img {
    width: 100%;
    border-radius: 10px;
}

/* ================= CARE + COMMUNITY COMBINED ================= */
/* ================= ISSUE CARDS WITH IMAGES ================= */
.issue-card {
    text-align: center;
    padding: 20px;
}

/* IMAGE CONTROL (IMPORTANT) */
.issue-card img {
    width: 80px;          /* slightly smaller than value props */
    height: 80px;
    object-fit: contain;
    margin-bottom: 2px;
}

/* KEEP TEXT TIGHT */
.issue-card h3 {
    font-size: 1.05rem;
    margin-bottom: 5px;
}

.issue-card p {
    font-size: 0.9rem;
    color: #555;
}

/* OPTIONAL: subtle hover for engagement */
.issue-card:hover img {
    transform: scale(1.08);
    transition: transform 0.2s ease;
}
/* ================= CONVERSION SECTION ================= */
.care-community {
    padding: 20px 0;
}

.care-community-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start; /* KEY FIX */
}

/* RIGHT SIDE = SHOULD POP */
.highlight-box {
    background: #ffffff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
}

.highlight-box img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}

/* CTA IMPROVEMENTS */
.full-width {
    display: block;
    width: 90%;
    margin: 10px 0;
    text-align: center;
}

.micro-copy {
    font-size: 0.85rem;
    color: #666;
    margin-top: 5px;
}

/* HOVER EFFECTS (SUBTLE BUT IMPORTANT) */
.btn.primary:hover {
    background: #f5f7f9;
	color: #0f2a44;
}

.btn.secondary:hover {
    background: #0f2a44;
    color: white;
}

/* MOBILE */
@media (max-width: 768px) {
    .care-community-grid {
        grid-template-columns: 1fr;
    }
}
/* ================= QUOTE BOX ================= */
.quote-box {
    margin-top: 30px;
    padding: 20px;
    background: #f5f7f9;
    border-left: 4px solid #1a7f6e;
    border-radius: 8px;
}

.quote {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 10px;
}

.quote-author {
    font-size: 0.9rem;
    color: #555;
}



/* ================= TESTIMONIAL SLIDER ================= */
.testimonial-slider {
    margin-top: 30px;
    padding: 25px;
    background: #f5f7f9;
    border-left: 4px solid #0f2a44;
    border-radius: 10px;
    position: relative;
}

.slides {
    position: relative;
}

.slide {
    display: none;
    text-align: left;
}

.slide.active {
    display: block;
}

.quote {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 10px;
}

.quote-author {
    font-size: 0.9rem;
    color: #555;
}

/* CONTROLS */
.slider-controls {
    margin-top: 10px;
}

.slider-controls button {
    background: #0f2a44;
    color: white;
    border: none;
    padding: 5px 10px;
    margin-right: 5px;
    cursor: pointer;
    border-radius: 4px;
}

/* ================= EVENTS ================= */
.events {
    background: #f5f7f9;
    padding: 50px 0;
}

.event-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
}

/* ================= SIGNUP ================= */


.signup {
    padding: 50px 0;
    text-align: center;
	position: relative;
    color: #0f2a44;
    padding: 60px 0;

    /* BACKGROUND IMAGE */
    background: url('images/subscribe-bottom-bk.png') center/cover no-repeat;
}
.signup::before {
    content: "";
    position: absolute;
    inset: 0;
    background: white; /* white overlay */
	opacity: 0.7;
    z-index: 0;
}

.signup .container {
    position: relative;
    z-index: 1;
}
.signup form {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.signup input {
    padding: 10px;
    width: 200px;
}

/* ================= FOOTER (WITH BACKGROUND IMAGE) ================= */
.footer {
    position: relative;
    color: white;
    padding: 60px 0;

    /* BACKGROUND IMAGE 
    background: url('images/subscribe-bottom-bk.png') center/cover no-repeat;*/
}

/* DARK OVERLAY FOR READABILITY */
.footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(15, 42, 68, 1); /* dark blue overlay */
    z-index: 0;
}

/* ENSURE CONTENT SITS ABOVE OVERLAY */
.footer .container {
    position: relative;
    z-index: 1;
}

/* OPTIONAL: IMPROVE TEXT CONTRAST */
.footer h3,
.footer h4 {
    color: #ffffff;
}

.footer p,
.footer li {
    color: #dbe4ee;
}