/* ===== Base & Typography ===== */
body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
    margin-top: 70px; /* To avoid navbar overlap */
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: #0d2b5b; /* Dark Blue for headings */
}

p {
    color: #555;
}

/* ===== Navbar ===== */
.navbar-dark .navbar-brand {
    font-weight: 700;
    font-size: 1.6rem;
}

.navbar-dark .navbar-nav .nav-link {
    color: #fff;
    margin-left: 1rem;
    font-weight: 500;
    transition: color 0.3s;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: #ffc107; /* Highlight active link */
}

/* ===== Banner / Hero Section ===== */
.banner-area {
    height: 80vh;
    background: url('assets/banner.jpg') center center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.banner-area h1 {
    font-size: 3rem;
    font-weight: 700;
}

.banner-area p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.banner-area .btn-primary {
    background-color: #0d2b5b;
    border: none;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s;
}

.banner-area .btn-primary:hover {
    background-color: #ffc107;
    color: #0d2b5b;
}

/* ===== Sections ===== */
section {
    padding: 60px 0;
}

section.bg-primary {
    background-color: #0d2b5b;
    color: #fff;
}

/* ===== Cards ===== */
.card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.card .card-title {
    color: #0d2b5b;
    font-weight: 600;
}

.card .card-text {
    color: #555;
}

/* ===== Buttons ===== */
.btn-primary {
    background-color: #0d2b5b;
    border-color: #0d2b5b;
    font-weight: 600;
}

.btn-primary:hover {
    background-color: #ffc107;
    border-color: #ffc107;
    color: #0d2b5b;
}

.btn-outline-primary {
    color: #0d2b5b;
    border-color: #0d2b5b;
}

.btn-outline-primary:hover {
    background-color: #0d2b5b;
    color: #fff;
    border-color: #0d2b5b;
}

/* ===== Forms ===== */
form input,
form textarea {
    border-radius: 5px;
    border: 1px solid #ccc;
    padding: 0.75rem;
    width: 100%;
    margin-bottom: 1rem;
    font-size: 1rem;
}

form input:focus,
form textarea:focus {
    outline: none;
    border-color: #0d2b5b;
    box-shadow: 0 0 5px rgba(13,43,91,0.3);
}

/* ===== Footer ===== */
footer {
    background-color: #0d2b5b;
    color: #fff;
    padding: 40px 0;
}

footer a {
    color: #ffc107;
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: #fff;
}

/* ===== Map ===== */
.map iframe {
    width: 100%;
    border: none;
    border-radius: 10px;
}

/* ===== Responsive Adjustments ===== */
@media (max-width: 768px) {
    .banner-area h1 {
        font-size: 2rem;
    }

    .banner-area p {
        font-size: 1rem;
    }

    .navbar-dark .navbar-nav {
        text-align: center;
    }

    .navbar-dark .navbar-nav .nav-link {
        margin: 0.5rem 0;
    }
}

@media (max-width: 576px) {
    section {
        padding: 40px 0;
    }
}

/* Project Cards */
.project-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-img-container {
    height: 200px;           /* fixed height for all images */
    overflow: hidden;
    border-radius: 10px 10px 0 0;
}

.project-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;       /* fills the container without stretching */
}

/* Make card body take remaining space so text aligns */
.project-card .card-body {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Optional: uniform button/footer if you add one */
.project-card .card-footer {
    margin-top: auto;
}
