
/* ===== 1) Base / Reset ===== */
:root {
    --brand: #154c79;
    --brand-deep: #17285d;
    --accent: #2563eb;
    --text: #1f2a37;
    --muted: #667085;
    --bg: #ffffff;
}
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Manrope', system-ui, -apple-system, Segoe UI, Roboto, 'Helvetica Neue', Arial, 'Noto Sans', 'Apple Color Emoji', 'Segoe UI Emoji', sans-serif;
    line-height: 1.7;
    color: var(--text);
    background-color: var(--bg);
    padding-top: 100px;
    /* Adjust to your actual header height */

}

/* Elegant heading font */
h1,
h2,
h3,
h4,
.section-title,
.nav-logo h2,
.service-title h3,
.footer-section h3,
.footer-section h4 {
    font-weight: 600;
    letter-spacing: 0.2px;
}

p {
    color: var(--text);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    color: #154c79;
}

/* Header Styles */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.navbar {
    padding: 0.8rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h2 {
    color: #154c79;
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-logo a {
    display: flex;
    align-items: center;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 3rem;

}

.logo-img {
    height: 80px;
    width: auto;
    transition: transform 0.3s ease;
    filter: brightness(1);
}

.logo-img:hover {
    transform: scale(1.1);
    filter: brightness(1.1);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #334155;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    opacity: 0.8;
    position: relative;
}

.nav-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: var(--brand);
    transition: width .25s ease;
}

.nav-menu a:hover {
    color: var(--brand);
}

.nav-menu a:hover::after {
    width: 100%;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 0.8rem 0;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    list-style: none;
    border: 1px solid #f0f0f0;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0.4rem 1.2rem;
}

.dropdown-menu a {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.dropdown-menu a:hover {
    color: #154c79;
    opacity: 1;
}


.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 20px 0 20px;
    background: url('../assets/images/justicebg.png') no-repeat center center;
    background-size: cover;
    color: #fff;
}

.hero-container {
    max-width: 2400px;
    margin: 0px auto;
    padding: 30px;
    padding-left: 20px;
    padding-right: 20px;
    
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 18px;
    font-weight: 300;
    margin-bottom: 1rem;
    margin-left: 10px;
    margin-right: 10px;
    opacity: 0.6; /* value between 0 (invisible) and 1 (fully visible) */

}

.hero-content h2 {
    font-size: 14px;
    font-weight: 300;
    margin-bottom: 1rem;
    opacity: 1;
}

.hero-content h3 {
    font-size: 13px;
    font-weight: 300;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary {
    padding: 0.75rem 1.5rem;
    background: #154c79;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    letter-spacing: 0.2px;
    box-shadow: 0 6px 18px rgba(21, 76, 121, 0.18);
}

.btn-primary:hover {
    background: #063970;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(21, 76, 121, 0.22);
}


.hero-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Footer */
.footer {
    background: #0f1e33;
    color: #fff;
    padding: 80px 0 28px;
}

.footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: #e2e8f0;
    letter-spacing: 0.2px;
    margin-bottom: 0.75rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #a8b3c5;
    text-decoration: none;
    transition: color 0.3s ease;
    text-align: center;
}

.footer-section ul li a:hover {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer-section i {
    margin-right: 0.5rem;
    color: #154c79;
}

.footer-section p {
    color: #a8b3c5;
    margin-bottom: 0.4rem;
}

.footer-bottom {
    border-top: 1px solid rgba(226, 232, 240, 0.12);
    padding-top: 1.5rem;
    text-align: center;
    color: #8da2b5;
    font-size: 0.92rem;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
    border-top: 1px solid rgba(226, 232, 240, 0.12);
    padding-top: 1.5rem;
    color: #8da2b5;
    font-size: 0.92rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo-img {
    display: block;
    margin: 0 auto 18px auto;
    height: 120px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

/* ===== Social Links ===== */

.social-links {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-bottom: 12px;
}

.social-link {
    width: 44px;
    height: 44px;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.7rem;
    transition: background 0.3s, color 0.3s, transform 0.2s;
    line-height: 44px;
    background: #12294a;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
    /* Ensures icon is vertically centered */
}

.social-link i {
    color: #fff;
    font-size: 1.5rem;
    width: 1em;
    height: 1em;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    line-height: 1;
}

.social-link:hover {
    background: #2563eb;
    color: #fff;
    transform: scale(1.1);
    background: var(--brand);
    transform: translateY(-1px) scale(1.05);
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        padding: 1rem 0;
        z-index: 1000;
        border: 1px solid #f0f0f0;
        border-radius: 12px;
        margin-top: 0.5rem;
        max-height: calc(100vh - 80px); /* leaves space for header */
        overflow-y: auto;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        padding: 0.5rem 2rem;
        border-bottom: 1px solid #e5e7eb;
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: #f8fafc;
        margin-left: 1rem;
        margin-top: 0.5rem;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        cursor: pointer;
        padding: 5px;
    }

    .logo-img {
        height: 65px;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 30px;
        
    }

    .hero-content h1 {
        font-size: 1.5rem;
        opacity: 0.6;
    }

    .about-content {
        grid-template-columns: 1fr;
        
    }

    .about-intro-container {
        padding: 30px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
}


/* Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus Styles for Accessibility */
button:focus,
input:focus,
a:focus {
    outline: 2px solid #154c79;
    outline-offset: 2px;
}



/* ===== Section Headings (underline) ===== */
.section-title {
    text-align: left;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.section-title,
section:not(.hero) h2 {
    position: relative;
    display: inline-block;
    color: var(--brand);
    font-size: 1.4rem;
    padding-bottom: 16px;
    margin-bottom: 14px;
}

.section-title::after,
section:not(.hero) h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 200px;
    height: 2px;
    border-radius: 2px;
    background: var(--brand);
    box-shadow: 0 2px 6px rgba(21, 76, 121, 0.25);
}





