/* ========================= */
/* RESET STYLES */
/* ========================= */
html, body {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    background-color: #ffffff;
}

/* ========================= */
/* COLORS */
/* ========================= */
:root {
    --primary: #0B1F3A;
    --accent: #F9A826;
    --light: #ffffff;
}

/* ========================= */
/* NAVBAR STYLES */
/* ========================= */
.navbar {
    position: absolute;
    width: 100%;
    z-index: 1000;
    background-color:white;
    color:black;
   /*background: white !important;*/ /* Default transparent on large screens */
    transition: 0.3s ease;
}

    .navbar .nav-link,
    .navbar-brand {
        color: black !important;
        font-weight: 500;
    }

        /* Hover effect for all screens */
        .navbar .nav-link:hover {
            color: var(--accent) !important;
        }

/* Mobile navbar collapsible menu background */
@media (max-width: 991px) {
     .navbar-collapse {
        background-color: rgba(11, 31, 58, 0.7); /* lighter background */
        padding: 15px;
        border-radius: 10px;
    }

    .navbar .nav-link {
        color: #ffffff !important;   /* white text */
        font-weight: 700;             /* bold text */
        padding: 8px 15px;
        margin: 2px 0;
        border-radius: 5px;
        transition: background 0.3s;
    }

    .navbar .nav-link:hover {
        background-color: rgba(249, 168, 38, 0.2); /* highlight on hover */
        color: #ffffff !important;                  /* still white on hover */
    }
}

/* Large screens: remove background shading */
@media (min-width: 992px) {
    .navbar-collapse {
        background-color: transparent !important;
        padding: 0;
        border-radius: 0;
    }

    .navbar .nav-link {
        background: none !important;
    }
}

/* Navbar logo size */
.navbar-logo {
    height: 90px;
    width: 150px;
    display: block;
}

@media (max-width: 576px) {
    .navbar-logo {
        height: 100px;
        width: 150px;
    }
}

/* ========================= */
/* HERO SECTION */
/* ========================= */
.hero {
    background: linear-gradient(rgba(11,31,58,0.6), rgba(11,31,58,0.6)), url('../images/logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    color: white;
    padding: 160px 20px 120px;
    text-align: center;
}

    .hero h1 {
        font-weight: 700;
        font-size: 3rem;
    }

/* Hero responsiveness */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.5rem;
        padding: 140px 15px 100px;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 120px 15px 80px;
    }

        .hero h1 {
            font-size: 1.8rem;
        }
}

/* ========================= */
/* BUTTON STYLES */
/* ========================= */
.btn-accent {
    background-color: var(--accent);
    color: #000;
    font-weight: 600;
    border-radius: 30px;
    padding: 10px 25px;
    transition: 0.3s;
}

    .btn-accent:hover {
        background-color: #e69500;
    }

/* Small screens button adjustment */
@media (max-width: 576px) {
    .btn-accent {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
}

/* ========================= */
/* SECTION SPACING */
/* ========================= */
.section {
    padding: 80px 20px;
}

    .section:last-of-type {
        padding-bottom: 40px;
        margin-bottom: 0;
    }

/* ========================= */
/* SERVICE CARDS & ICONS */
/* ========================= */
.service-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.service-card {
    flex: 1 1 200px;
    background: #f9f9f9;
    padding: 30px 20px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s;
}

    .service-card:hover {
        transform: translateY(-10px);
    }

    .service-card h3 {
        margin-top: 15px;
        font-weight: 600;
    }

.icon-box {
    font-size: 40px;
    color: var(--accent);
}

    .icon-box i {
        font-size: 40px;
        color: var(--accent);
    }

/* ========================= */
/* SERVICE GRID MOBILE FIX (≤576px) */
/* ========================= */
@media (max-width: 576px) {
    /* Stack cards vertically */
    .service-grid {
        display: flex;
        flex-direction: column; /* ensures vertical stacking */
        gap: 15px; /* space between cards */
        margin-top: 15px;
    }

    /* Cards take full width with proper spacing */
    .service-card {
        flex: 1 1 100%;
        padding: 20px 15px;
        margin-bottom: 15px; /* extra spacing for clarity */
    }

    /* Reduce icon size for mobile */
    .icon-box,
    .icon-box i {
        font-size: 30px;
    }

    /* Card headings smaller */
    .service-card h3 {
        font-size: 1.2rem;
        margin-top: 10px;
    }
}

/* ========================= */
/* SMALL TABLETS (577px - 768px) */
/* ========================= */
@media (min-width: 577px) and (max-width: 768px) {
    .service-grid {
        gap: 18px;
    }

    .service-card {
        flex: 1 1 48%; /* two cards per row */
        padding: 25px 15px;
    }

    .icon-box,
    .icon-box i {
        font-size: 35px;
    }

    .service-card h3 {
        font-size: 1.3rem;
    }
}

/* ========================= */
/* MEDIUM SCREENS (769px - 992px) */
/* ========================= */
@media (min-width: 769px) and (max-width: 992px) {
    .service-card {
        flex: 1 1 32%; /* three cards per row */
        padding: 28px 18px;
    }

    .icon-box,
    .icon-box i {
        font-size: 38px;
    }

    .service-card h3 {
        font-size: 1.4rem;
    }
}

/* Team & Expertise icons */
.section ul li i {
    color: var(--accent);
    margin-right: 10px;
}

/* ========================= */
/* PROJECT IMAGES UNIFORM SIZE */
/* ========================= */
.project-img-wrapper {
    width: 100%;
    height: 250px; /* Adjust as needed */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
}

    .project-img-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* ensures image fills container without distortion */
    }

/* ========================= */
/* CTA SECTION */
/* ========================= */
.cta {
    background-color: var(--primary);
    color: white;
    padding: 60px 20px;
    text-align: center;
}

/* ========================= */
/* FOOTER STYLES */
/* ========================= */
.footer {
    background: linear-gradient(to bottom, #0B1F3A 0%, #08172b 100%);
    color: white;
    padding: 60px 20px 30px;
    margin-top: 0;
    position: relative;
}

    .footer::before {
        content: "";
        position: absolute;
        top: -60px;
        left: 0;
        width: 100%;
        height: 60px;
        background: linear-gradient(to bottom, transparent, #0B1F3A);
    }

    .footer a {
        color: var(--accent);
        text-decoration: none;
    }

        .footer a:hover {
            text-decoration: underline;
        }

/* ========================= */
/* CONTACT FORM */
/* ========================= */
#contact-form .form-control {
    border-radius: 8px;
    padding: 10px 15px;
    border: 1px solid #ccc;
    transition: border 0.3s, box-shadow 0.3s;
}

    #contact-form .form-control:focus {
        border-color: var(--accent);
        box-shadow: 0 0 5px rgba(249, 168, 38, 0.5);
    }

#contact-form .btn-accent {
    border-radius: 30px;
    padding: 10px 25px;
    font-weight: 600;
}

/* ========================= */
/* COMPANY INFO LINKS */
/* ========================= */
.company-info a {
    color: var(--accent);
    text-decoration: none;
}

    .company-info a:hover {
        text-decoration: underline;
    }

/* ========================= */
/* RESPONSIVE FOOTER & SECTIONS */
/* ========================= */
@media (max-width: 576px) {
    .section {
        padding: 60px 15px;
    }

    .cta {
        padding: 50px 15px;
    }

    .footer {
        text-align: center;
    }

    .navbar-brand {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 70px 20px;
    }
}

@media (max-width: 992px) {
    .navbar-collapse {
        margin-top: 10px;
    }
}

/* ========================= */
/* PROJECT IMAGE RESPONSIVENESS */
/* ========================= */
@media (max-width: 576px) {
    .project-img-wrapper {
        height: 180px;
    }
}

@media (min-width: 577px) and (max-width: 992px) {
    .project-img-wrapper {
        height: 220px;
    }
}

/* ========================= */
/* ICONS IN SECTIONS */
/* ========================= */
.section i {
    font-size: 20px;
    color: var(--accent);
    margin-bottom: 10px;
}
/* ========================= */
/* HERO LOGO */
/* ========================= */
.hero-logo {
    width: 300px; /* desktop size */
    max-width: 100%;
    height: auto;
}

/* Tablet */
@media (max-width: 768px) {
    .hero-logo {
        width: 140px;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .hero-logo {
        width: 200px;
        height:150px;
    }
}
/* ========================= */
/* PROJECT SHOWCASE */
/* ========================= */
.project-card {
    text-align: center;
    margin-bottom: 30px;
    transition: 0.3s;
}

    .project-card:hover {
        transform: translateY(-8px);
    }

/* Image wrapper (already partly in your CSS, improved here) */
.project-img-wrapper {
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 15px;
}

    .project-img-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: 0.4s;
    }

/* Image zoom effect */
.project-card:hover img {
    transform: scale(1.05);
}

/* ========================= */
/* MOBILE RESPONSIVENESS */
/* ========================= */
@media (max-width: 576px) {
    .project-img-wrapper {
        height: 180px;
    }

    .project-card h5 {
        font-size: 1.1rem;
    }
}
/* SERVICES */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.servicec-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    transition: 0.3s;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

    .service-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    }

.icon-box {
    font-size: 40px;
    color: #0b1f3a;
    margin-bottom: 15px;
}

/* ACCREDITATION LOGOS */
.accred-logo {
    height: 80px;
    object-fit: contain;
    margin-bottom: 10px;
    transition: 0.3s;
}

    .accred-logo:hover {
        filter: grayscale(0%);
        transform: scale(1.1);
    }

/* CTA */
.cta {
    background: #0b1f3a;
    color: white;
    padding: 60px 20px;
}

.btn-accent {
    background: #f9b233;
    color: #000;
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
}

    .btn-accent:hover {
        background: #ffcc4d;
    }

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero {
        padding: 100px 20px;
    }
}
.hero-lead {
    margin-bottom: 90px; /* adjust the value to add more/less space */
}
.plain-link {
    color: inherit;          /* same color as surrounding text */
    text-decoration: none;   /* removes underline */
    transition: color 0.3s;  /* optional: smooth hover effect */
}

.plain-link:hover {
    color: var(--accent);    /* optional: accent color on hover */
}