/* ===============================
   Reset and Base Styling
================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    line-height: 1.6;
    background-color: #f9f9f9;
    color: #333;
}

/* ===============================
   Header + Navigation
================================ */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    background-color: #0d47a1;
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
   /* font-size: 1.8rem;
    font-weight: bold;*/
	font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
	/*
	font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
	*/
}


/* Navigation container */
nav {
    display: flex;
    align-items: center;
}

/* Links (desktop default) */
.nav-links {
    display: flex;
}

.nav-links ul {
    display: flex;
    gap: 25px;
    list-style: none;
}

.nav-links ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
}

.nav-links ul li a:hover {
    color: #ffca28;
}

/* CTA Button - always styled the same */
.cta-btn {
    background-color: #ffca28;  /* yellow background */
    color: #0d47a1;             /* dark text */
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.3s;
	position: relative;
    top: 10px;  /* pushes the button down 10px */
}

.cta-btn:hover {
    background-color: #ffc107;  /* slightly darker yellow on hover */
}

/* Hamburger */
.menu-toggle {
    display: none;
    font-size: 2rem;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
}

/* ===============================
   Hero / Page Banner (FULL WIDTH)
================================ */
.hero,
.page-banner {
    position: relative;
    text-align: center;
}

.hero img,
.page-banner img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    background: rgba(0,0,0,0.4);
    padding: 20px 40px;
    border-radius: 8px;
}

.hero-text h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.hero-text p {
    font-size: 1.2rem;
}

/* ===============================
   Standard Sections (CONSTRAINED)
================================ */
section:not(.hero):not(.page-banner):not(.contact-cta) {
    padding: 50px 20px;
    max-width: 1200px;
    margin: auto;
}

/* ===============================
   Cards & Grids
================================ */
.grid {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
}

.card {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    flex: 1 1 250px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-align: center;
}

/*.card img {
    max-width: 100%;
    border-radius: 5px;
    margin-bottom: 15px;
}
*/
.card img {
    max-width: 100%;        /* full width of the card */
    height: 300px;      /* fixed height for all cards */
    object-fit: cover;  /* crop and scale image without distortion */
    border-radius: 5px; /* optional, same as your current style */
	margin-bottom: 15px;
}


.card h3 {
    margin-bottom: 10px;
    color: #0d47a1;
}

/* ===============================
   CTA Section (FULL WIDTH)
================================ */
.contact-cta {
    background-color: #0d47a1;
    color: #fff;
    text-align: center;
    padding: 15px 20px;
}

.contact-cta h2 {
    margin-bottom: 15px;
    font-size: 2rem;
}

/* ===============================
   Forms (Unified)
================================ */
form label {
    display: block;
    margin-top: 15px;
    font-weight: 600;
}

form input,
form textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

form textarea {
    resize: vertical;
}

/* ==============================
   Unified Button Styling
================================= */
form button,
.btn, .btn-secondary {
    display: inline-flex;          /* allows vertical/horizontal centering */
    align-items: center;
    justify-content: center;
    height: 50px;                  /* fixed height */
    padding: 0 25px;               /* horizontal padding */
    font-size: 1rem;               /* consistent font size */
    line-height: 1;                /* prevents extra height from line spacing */
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;         /* remove underline from links */
    transition: background 0.3s;
    margin-top: 20px;  /* adjust value as needed */

}

/* Submit Button (Primary) */
.btn {
    background-color: #ffca28;
    color: #0d47a1;
    border: none;
}

.btn:hover {
    background-color: #ffc107;
}

/* Return to Home (Secondary) */
.btn-secondary {
    background-color: #0d47a1;
    color: #fff;
    border: none;
    margin-left: 10px; /* optional spacing between buttons */
}

.btn-secondary:hover {
    background-color: #003f7f;
}


/* ===============================
   About Page Images
================================ */
.about-main-img {
    width: 100%;
    /*max-width: 100%;*/
    max-width: 500px;
	height: auto;
    display: block;
}

/* ===============================
   Contact Page Layout
================================ */
.contact-container {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-details div {
    margin-bottom: 8px;
}

/* ===============================
   Thank You Page
================================ */
.thank-you {
    max-width: 700px;
    margin: 80px auto;
    text-align: center;
}

/* ===============================
   Footer
================================ */
footer {
    background-color: #0d47a1;
    color: #fff;
    padding: 10px 20px;
    text-align: center;
}

footer .footer-contact {
    margin-top: 5px; /* reduce spacing between text lines */
}

footer .footer-links a {
    color: #ffca28;
    font-weight: 600; 
    margin: 0 10px;
    cursor: pointer;
}

footer .footer-links a:hover {
    color: #fff;
	text-decoration: underline;
}

footer .cta-btn {
    margin-top: 10px;  /* space above the button so it doesn’t touch text */
}

footer .footer-links {
    margin-top: 10px; /* Reduce space above the links */
}

/* ===============================
   Responsive
================================ */
@media (max-width: 900px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {

    header {
        flex-wrap: wrap;
        padding: 15px 20px;
    }

    .menu-toggle {
        display: block;
    }

	.hero-text {
        position: relative;        /* instead of absolute */
        //position: absolute;
		top: auto;
        left: auto;
        transform: none;           /* remove translation */
        margin-top: 20px;          /* space from image above */
        padding: 10px 15px;        /* smaller padding */
        text-align: center;
        background: rgba(0,0,0,0.5); /* optional darker overlay */
    }

    .hero img {
        height: auto;              /* scale image naturally */
    }
	
    nav {
        width: 100%;
    }

    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        background-color: #0d47a1;
        margin-top: 15px;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links ul {
        flex-direction: column;
        gap: 10px;
        padding: 10px 0;
        align-items: center;
    }
	
	.about-main-img 
		margin-bottom: 15px; /* adds spacing below the image */
    } 	
}
