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

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1020px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.mini-container {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.flex { display: flex; }
.align-center { align-items: center; }
.space-between { justify-content: space-between; }
.flex40 { flex: 0 1 40%; min-width: 0; 
    @media (max-width: 768px) {
        flex: 0 1 68%;
    }
}

/* Header - shared layout, color varies by variant below */
.header {
    padding: 1.2rem 0;
    position: relative;
    z-index: 5;
}

.header nav {
    min-width: 0;
}

.header-img1 {
    width: 3rem;
    display: block;
    flex-shrink: 0;
}

.header-img2 {
    width: 17rem;
    margin-left: 0.8rem;
    display: block;
    min-width: 0;
}

.header ul {
    display: flex;
    gap: 2rem;
}

.header ul li a {
    font-weight: 500;
    font-size: 0.95rem;
}
.menu-bar {
    display: none;
}
.header-home ul li a {
    color: #fff;
}
.header:not(.header-home) ul li a {
    color: var(--color-primary, #00afef);
}
.header:not(.header-home) .header-logo-fallback {
    filter: brightness(0) saturate(100%);
}
.page-hero {
    background: url('../images/body-bg.jpg') no-repeat center center;
    background-size: cover;
    min-height: 100vh;
    position: relative;
    padding: 0px 15px;
    @media (max-width: 767px) {
        padding: 0px 0px;
    }
}
.hero-sec {
    width: 100%;
    max-width: 1020px;
    margin: 0 auto;
    background: url('../images/Vector.png') no-repeat top center;
    background-size: contain;
    height: 75vh;
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
}

.hero-sec .image-top {
    background: url('../images/hero-img.png') no-repeat center;
    background-size: contain;
    height: 10rem;
    width: 30%;
    margin: 2rem auto;
    @media (max-width: 767px) {
        width: 100%;
        margin: 0px 0px 0px;
        height: 100px;
    }
}

.hero-sec .heading {
    font-size: clamp(1.1rem, 4vw, 1.5rem);
    width: clamp(280px, 80%, 520px);
    margin: 0 auto;
    text-align: center;
    line-height: 1.5;
    color: var(--color-primary, #00afef);
    letter-spacing: 0.05rem;
    font-weight: 500;
    overflow-wrap: break-word;
    @media (max-width: 768px) {
        width: 95%;
    }
}

.hero-sec .heading span {
    font-weight: 700;
}
.hero-sec a {
    display: block;
    width: 30%;
    margin: 0 auto;
    @media (max-width: 767px) {
        width: 76%;
    }
}

.hero-sec .image-bottom {
    background: url('../images/btnImg.png') no-repeat center;
    background-size: contain;
    height: 10rem;
    width: 100%;
    margin-bottom: 4rem;
    cursor: pointer;
    @media (max-width: 768px) {
        margin-bottom: 0rem;
    }
}
@media (max-width: 750px) {
    .hero-sec {  background-size: cover;  padding: 5rem 0px 0px; }
    .header-img1 { width: 2.5rem; }
    .header-img2 { width: 15rem; }
}
@media (max-width: 480px) {
    .header-img1 { width: 2rem; }
    .header-img2 { width: 14rem; margin-left: 0.6rem; }
}
@media (max-width: 395px) {
    .header-img1 { width: 1.8rem; }
    .header-img2 { width: 12rem; margin-left: 0.6rem; }
}

/* Solid footer bar - used on every page, including home/contact (confirmed
   against the live site's actual HTML: footer sits outside the full-bleed
   hero wrapper unconditionally, always class="footer-other"). */
.footer-bar {
    background: var(--color-secondary, #427ca2);
    padding: 0.9rem 0;
}

.footer-bar ul {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.footer-bar ul a {
    color: #fff;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Small banner header used above About Us (matches .other-pages-bg) */
.page-banner {
    background: url('../images/other-pages-bg.png') no-repeat center;
    background-size: cover;
    min-height: 32vh;
    display: flex;
    align-items: flex-end;
    padding: 2rem 0;
}

.page-banner h2 {
    color: #fff;
    font-size: 2.2rem;
    font-weight: 500;
}

/* Article-style body content (about/privacy/cookies) */
.body-content {
    padding: 2.5rem 0 4rem;
}

.body-content article {
    margin-top: 1.8rem;
}

.body-content article h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
    color: var(--color-primary, #00afef);
}

.body-content article p {
    color: #333;
    margin-bottom: 20px;
}

.body-content article a {
    text-decoration: underline;
    color: var(--color-primary, #00afef);
}

/* Contact page - its own dedicated classes in the real site (not a reuse
   of .hero-sec), with its own height/padding, ported directly from the
   live other.css. */
.contactus-heading {
    font-size: 3rem;
    width: 60%;
    margin: 0 auto 2rem;
    font-weight: 500;
    color: #fff;
    text-align: center;
    padding-top: 2rem;
}

.contactus-hero-sec {
    background: url('../images/Vector.png') no-repeat top center;
    background-size: contain;
    width: 90%;
    margin: 0 auto;
    height: 65vh;
    padding: 1rem 8rem;
}
.contactus .container{
    padding: 0 20px;
    @media (max-width: 767px) {
        padding: 0px;
    }
}
.contactus-hero-sec > div {
    margin-top: 6rem;
    text-align: left;
    color: var(--color-primary, #00afef);
}

.contactus-hero-sec p {
    margin-bottom: 0.8rem;
    line-height: 1.6;
    color: #333;
}

.contactus-hero-sec h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-primary, #00afef);
}

.contactus-hero-sec a {
    text-decoration: underline;
    color: var(--color-primary, #00afef);
}

@media (max-width: 970px) {
    .contactus-hero-sec {
        height: 60vh !important;
        background-size: cover;
        width: 100%;
        padding: 1rem 2rem;
    }
}

@media (max-width: 445px) {
    .contactus-hero-sec { height: 100vh !important; }
    .contactus-heading { font-size: 2.5rem; width: 80%; }
}

/* Mobile menu overlay */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: #fff;
    padding: 2rem;
    z-index: 999;
    display: none;
}

.mobile-menu.is-open {
    display: block;
}

.mobile-menu .close-btn {
    width: 1.4rem;
    margin-bottom: 2rem;
    cursor: pointer;
}

.mobile-menu ul li {
    margin-bottom: 1.5rem;
    text-align: center;
}

.mobile-menu ul li a {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-primary, #00afef);
}

@media (max-width: 700px) {
    .menu-bar {
        display: block;
        width: 1.4rem;
        cursor: pointer;
    }
    .header ul {
        display: none;
    }
    /* font-size for .heading at this width is set by the 750px block below
       in the cascade - not repeated here to avoid two same-specificity
       rules (in different media blocks, both matching) fighting over the
       same property, where whichever appears later in the file silently
       wins regardless of which condition is "more specific". */
}
