:root {
    --primary: #0b2d4e;
    --primary-dark: #061e35;
    --primary-light: #134a7a;
    --gold: #c8960c;
    --gold-hover: #a67a08;
    --gold-light: #f5e6b8;
    --text: #333333;
    --text-muted: #666666;
    --bg-light: #f4f7fb;
    --white: #ffffff;
    --shadow: 0 4px 24px rgba(11, 45, 78, 0.08);
    --radius: 8px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    line-height: 1.7;
    margin: 0;
}

h1, h2, h3, h4, .section-title {
    font-family: 'Playfair Display', serif;
    color: var(--primary);
}

a { text-decoration: none; transition: color 0.2s, background 0.2s; }

/* Top Bar */
.top-bar {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.85);
    padding: 8px 0;
    font-size: 0.875rem;
}

.top-bar a { color: rgba(255,255,255,0.85); }
.top-bar a:hover { color: var(--gold); }
.top-bar i { color: var(--gold); margin-right: 6px; }

/* Buttons */
.btn-gold {
    background: var(--gold);
    color: var(--white);
    border: none;
    font-weight: 600;
    border-radius: var(--radius);
    padding: 8px 20px;
}

.btn-gold:hover {
    background: var(--gold-hover);
    color: var(--white);
}

.btn-outline-gold {
    border: 2px solid var(--gold);
    color: var(--gold);
    font-weight: 600;
    border-radius: var(--radius);
    padding: 10px 28px;
}

.btn-outline-gold:hover {
    background: var(--gold);
    color: var(--white);
}

/* Navbar */
.main-navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    padding: 12px 0;
    z-index: 1030;
}

.navbar-collapse {
    overflow: visible;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1.4rem;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    color: var(--primary);
}

.brand-text strong { font-size: 1.1rem; }
.brand-text small { font-size: 0.75rem; color: var(--text-muted); }

.main-navbar .nav-link {
    color: var(--primary);
    font-weight: 500;
    padding: 8px 14px !important;
}

.main-navbar .mega-toggle {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    width: 100%;
    text-align: left;
    font-family: inherit;
    font-size: inherit;
}

.main-navbar .mega-chevron {
    font-size: 0.75rem;
    transition: transform 0.2s;
}

.mega-dropdown.mega-open .mega-chevron {
    transform: rotate(180deg);
}

.main-navbar .nav-link:hover,
.main-navbar .nav-link.active,
.main-navbar .mega-toggle:hover {
    color: var(--gold);
}

.main-navbar .navbar-toggler {
    border: 2px solid var(--primary);
    padding: 0.35rem 0.55rem;
}

.main-navbar .navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(11, 45, 78, 0.2);
}

.main-navbar .navbar-toggler-icon {
    width: 1.5em;
    height: 1.5em;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%230b2d4e' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Mega Menu */
.mega-dropdown {
    position: static;
}

.mega-menu {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    width: 100%;
    background: var(--white);
    border: none;
    border-top: 3px solid var(--gold);
    border-radius: 0;
    box-shadow: 0 8px 24px rgba(11, 45, 78, 0.12);
    padding: 24px 0;
    margin: 0;
    z-index: 1050;
}

@media (min-width: 992px) {
    .mega-dropdown:hover > .mega-menu,
    .mega-dropdown.mega-open > .mega-menu {
        display: block;
    }

    .mega-chevron {
        display: none;
    }
}

.mega-title {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--gold-light);
}

.mega-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-links li { margin-bottom: 6px; }

.mega-links a {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.mega-links a:hover { color: var(--gold); padding-left: 4px; }

/* Hero */
.hero-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    color: var(--white);
    padding: 100px 0 120px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: rgba(200, 150, 12, 0.08);
    border-radius: 50%;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
}

.hero-content { position: relative; z-index: 1; }

.hero-section h1 {
    color: var(--white);
    font-size: clamp(2rem, 5vw, 3.2rem);
    margin-bottom: 16px;
}

.hero-section .tagline {
    color: var(--gold);
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 32px;
}

.hero-section p.lead {
    color: rgba(255,255,255,0.8);
    max-width: 600px;
}

/* Sections */
.section-padding { padding: 80px 0; }

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    margin-bottom: 12px;
}

.section-header .divider {
    width: 60px;
    height: 3px;
    background: var(--gold);
    margin: 0 auto 16px;
}

.section-header p {
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

.bg-light-section { background: var(--bg-light); }

/* Service Cards */
.service-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px 24px;
    height: 100%;
    box-shadow: var(--shadow);
    border: 1px solid rgba(11, 45, 78, 0.06);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(11, 45, 78, 0.12);
}

.service-card .icon-wrap {
    width: 56px;
    height: 56px;
    background: var(--gold-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: var(--gold);
    font-size: 1.4rem;
}

.service-card h5 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 16px;
}

.service-card .read-more {
    color: var(--gold);
    font-weight: 600;
    font-size: 0.875rem;
}

.service-card .read-more:hover { color: var(--gold-hover); }

/* NGO Cards */
.ngo-card {
    text-align: center;
    padding: 32px 24px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    height: 100%;
    transition: transform 0.3s;
}

.ngo-card:hover { transform: translateY(-4px); }

.ngo-card .icon-circle {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--gold);
    font-size: 1.6rem;
}

.ngo-card h6 {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 10px;
}

.ngo-card p {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 16px;
}

/* Trademark numbered cards */
.tm-card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: var(--white);
    padding: 28px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    height: 100%;
}

.tm-number {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--gold);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.tm-card h6 { font-weight: 600; color: var(--primary); margin-bottom: 8px; }
.tm-card p { color: var(--text-muted); font-size: 0.875rem; margin: 0; }

/* About Section */
.about-section img,
.about-img-placeholder {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    width: 100%;
    height: 360px;
    object-fit: cover;
}

.about-img-placeholder {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 4rem;
}

/* Page Banner */
.page-banner {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.page-banner h1 {
    color: var(--white);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 8px;
}

.breadcrumb-nav {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

.breadcrumb-nav a { color: var(--gold); }

/* Content Page */
.content-section { padding: 60px 0; }

.content-box {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
}

.content-box h3 { margin-top: 28px; margin-bottom: 12px; }
.content-box p { color: var(--text-muted); }

/* Contact */
.contact-info-card {
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius);
    padding: 32px;
    height: 100%;
}

.contact-info-card h4 { color: var(--gold); margin-bottom: 24px; }

.contact-info-card .info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.contact-info-card .info-item i {
    color: var(--gold);
    font-size: 1.2rem;
    margin-top: 4px;
}

.contact-form .form-control {
    border-radius: var(--radius);
    padding: 12px 16px;
    border: 1px solid #ddd;
}

.contact-form .form-control:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 0.2rem rgba(200, 150, 12, 0.15);
}

/* Blog */
.blog-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 100%;
    transition: transform 0.3s;
}

.blog-card:hover { transform: translateY(-4px); }

.blog-card .blog-img {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 2.5rem;
}

.blog-card .blog-body { padding: 24px; }

.blog-card .blog-date {
    color: var(--gold);
    font-size: 0.8rem;
    font-weight: 600;
}

.blog-card h5 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    margin: 8px 0 12px;
    color: var(--primary);
}

.blog-card p { color: var(--text-muted); font-size: 0.875rem; }

/* Service Detail Sidebar */
.sidebar-card {
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 24px;
    position: sticky;
    top: 100px;
}

.sidebar-card h5 {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--gold);
}

.sidebar-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-card li { margin-bottom: 8px; }

.sidebar-card a {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.sidebar-card a:hover,
.sidebar-card a.active { color: var(--gold); font-weight: 600; }

.cta-box {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    border-radius: var(--radius);
    padding: 32px;
    text-align: center;
    margin-top: 24px;
}

.cta-box h5 { color: var(--gold); margin-bottom: 12px; }

/* Footer */
.site-footer { margin-top: 0; }

.footer-main {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.8);
    padding: 60px 0 40px;
}

.footer-main h5 {
    color: var(--gold);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-main ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-main li { margin-bottom: 8px; }

.footer-main a { color: rgba(255,255,255,0.7); font-size: 0.875rem; }
.footer-main a:hover { color: var(--gold); }

.contact-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 0.875rem;
}

.contact-list i { color: var(--gold); margin-top: 4px; }

.footer-bottom {
    background: #041525;
    color: rgba(255,255,255,0.6);
    padding: 16px 0;
    font-size: 0.85rem;
}

.footer-links a { color: rgba(255,255,255,0.6); }
.footer-links a:hover { color: var(--gold); }
.footer-links span { margin: 0 8px; opacity: 0.4; }

/* Responsive */
@media (max-width: 991px) {
    .navbar-collapse {
        overflow: visible;
        padding-bottom: 16px;
    }

    .mega-dropdown {
        position: relative;
        border-bottom: 1px solid rgba(11, 45, 78, 0.08);
    }

    .mega-toggle {
        justify-content: space-between;
        padding: 12px 14px !important;
    }

    .mega-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        border-top: none;
        border-left: 3px solid var(--gold);
        padding: 8px 0 16px 16px;
        margin: 0 0 8px;
        background: var(--bg-light);
    }

    .mega-dropdown.mega-open > .mega-menu {
        display: block;
    }

    .mega-menu .container {
        padding: 0;
        max-width: 100%;
    }

    .hero-section { padding: 60px 0 80px; }
    .section-padding { padding: 50px 0; }
    .content-box { padding: 24px; }
}

@media (max-width: 767px) {
    .top-bar-left { font-size: 0.8rem; }
}
