/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Noto+Sans+Sinhala:wght@100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Yaldevi:wght@200..700&display=swap');

* {
    font-family: "Noto Sans Sinhala", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/* ---------- ** START ** ---------- */
/* ---------- Main Content Area ---------- */
* {
    font-family: "Noto Sans Sinhala", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

h1 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.5rem;
    letter-spacing: 5px;
}

.main-content {
    padding-top: 100px;
    min-height: 100vh;
}

.page-header {
    background: linear-gradient(135deg, var(--bg-mid) 0%, var(--bg-dark) 100%);
    padding: 60px 20px;
    text-align: center;
    border-bottom: 3px solid var(--primary-color);
}

    .page-header h1 {
        font-size: 2.5rem;
        color: var(--primary-color);
        margin-bottom: 10px;
    }

    .page-header p {
        color: var(--text-light);
        font-size: 1.1rem;
    }

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
    font-size: 0.9rem;
}

    .breadcrumb a {
        color: var(--text-light);
        transition: color 0.3s;
    }

        .breadcrumb a:hover {
            color: var(--primary-color);
        }

    .breadcrumb span {
        color: var(--text-light);
    }

.content-section {
    padding: 60px 20px;
}

.section-title {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
}

.content-box {
    background: var(--bg-mid);
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

    .content-box h3 {
        color: var(--primary-color);
        margin-bottom: 15px;
    }

    .content-box p {
        color: var(--text-light);
        line-height: 1.8;
        margin-bottom: 15px;
    }

.section {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    /* background: #ffffff; */
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

/* Only apply these body styles to pages that don't have custom KMC styling */
body:not(.kmc-body) {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
    padding: 0 !important;
    margin: 0 !important;
    overflow-x: hidden;
}



/* Ensure full width content */
body > div {
    width: 100% !important;
    max-width: 100% !important;
}

/* Fix for overlapping fixed elements */
.main-content {
    position: relative;
    z-index: 1;
    width: 100%;
}


/* ---------- Footer ---------- */
.footer {
    background: linear-gradient(to bottom,#10182f, #0a0f1c96); /* your image path */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 40px 20px;
    text-align: center;
    color: white; /* optional - for contrast */
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 30px;
    text-align: left;
}

.footer-col {
    flex: 1;
    min-width: 250px;
}

    .footer-col h3 {
        color: var(--primary-color);
        margin-bottom: 15px;
        font-size: 1.2rem;
        border-bottom: 2px solid rgba(245, 180, 0, 0.3);
        padding-bottom: 5px;
    }

.footer-info p {
    color: var(--text-light);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.footer-info i {
    margin-right: 8px;
    color: var(--primary-color);
}

/* Quick Links / Other Websites */
.footer-links ul {
    list-style: none;
}

    .footer-links ul li a {
        display: block;
        padding: 5px 0;
        color: var(--text-light);
        font-size: 0.95rem;
        transition: color 0.3s;
    }

        .footer-links ul li a:hover {
            color: var(--primary-color);
            padding-left: 5px;
        }

.footer-social {
    margin-top: 20px;
}

    .footer-social a {
        color: white;
        margin: 0 10px;
        font-size: 1.5rem;
        transition: color 0.3s;
    }

        .footer-social a:hover {
            color: var(--primary-color);
        }

.footer-bottom {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #888;
    font-size: 0.9rem;
    text-align: center;
}

/* ---------- Mobile Menu and Responsiveness ---------- */
.menu-toggle {
    display: none;
    color: white;
    font-size: 1.8rem; /* Increased size */
    cursor: pointer;
}

@media (max-width: 1024px) {
    .footer-container {
        justify-content: center;
        text-align: center;
    }

    .footer-col {
        min-width: 100%;
    }

        .footer-col h3 {
            text-align: center;
        }

    .footer-links ul {
        padding: 0;
    }

        .footer-links ul li a {
            padding: 5px 0;
        }
}

/* ---------- Mobile Menu and Responsiveness ---------- */
.menu-toggle {
    display: none;
    color: white;
    font-size: 1.8rem; /* Increased size */
    cursor: pointer;
}



@media (max-width: 768px) {
    .logo-area h2 {
        font-size: 1rem;
    }

        .logo-area h2 span {
            font-size: 0.75rem;
        }

    .logo-area img {
        width: 60px;
    }

    /* Mobile Nav */
    .nav-menu {
        display: none;
        flex-direction: column;
        background: rgba(16, 24, 47, 0.98);
        position: absolute;
        right: 0;
        top: 70px;
        width: 250px;
        padding: 20px;
        text-align: left;
        border-radius: 0 0 5px 5px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    }

        .nav-menu.active {
            display: flex;
        }

        .nav-menu li {
            width: 100%;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

            .nav-menu li:last-child {
                border-bottom: none;
            }

            .nav-menu li a {
                padding: 10px 0;
                display: block;
            }

    /* Mobile dropdown */
    .dropdown-menu {
        position: static;
        background: rgba(20, 25, 40, 0.9);
        border: none;
        box-shadow: none;
        padding-left: 15px;
        min-width: unset;
        border-top: none;
    }

    .dropdown.active > .dropdown-menu {
        display: block;
    }

    .menu-toggle {
        display: block;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    .page-header p {
        font-size: 0.95rem;
    }
}
