/* ====================== RESET ====================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f8f9fb;
    color: #333;
}

/* ====================== HEADER ====================== */
/* HEADER */
.main-header {
    width: 100%;
    background: #01579b;
    padding: 10px 0;
    box-shadow: 0 3px 6px rgba(0,0,0,0.2);
   
     position: relative; /* allows scrolling */
    z-index: 999;

}

/* MAKES LOGOS FIT FULL ROW */
.header-wrapper {
    width: 100%;                  /* FULL WIDTH */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* LOGO FIX */.header-wrapper {
    display: flex;
    width: 100%;
}

/* Equal width columns for all direct children */
.header-wrapper > * {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Images inside the wrapper or inside <a> */
.header-wrapper img.logo-img {
    max-height: 120px;
    height: 120px;
    width: 100%;           /* stretch image to fill parent width */
    object-fit: contain;   /* maintain aspect ratio */
    display: block;
}

/* Optional: center image inside <a> */
.header-wrapper a {
    display: flex;
    align-items: center;
    justify-content: center;
}



/* ====================== TOP MENU ====================== */
.main-menu {
    margin-top: 15px;
    width: 100%;
    background: #0288d1;
    border-radius: 6px;
}

.nav-menu {
    list-style: none;
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.nav-menu li {
    flex: 1;
    text-align: center;
}

.nav-menu li a {
    display: block;
    color: #fff;
    text-decoration: none;
    padding: 14px 0;
    font-size: 17px;
    font-weight: 600;
    transition: all 0.3s ease-in-out;
}

.nav-menu li a:hover {
    background: #0277bd;
}

/* ====================== PAGE LAYOUT ====================== */
.page-wrapper {
    display: flex;
    width: 90%;
    margin: 20px auto;
    gap: 20px;
}

/* LEFT MENU / SIDEBAR */
.left-sidebar {
    width: 25%;
    background: #f5f5f5;
    padding: 20px;
    border-radius: 6px;
}

.left-sidebar .nav-menu {
    flex-direction: column;
}

.left-sidebar .nav-menu li {
    text-align: left;
    margin-bottom: 10px;
}

.left-sidebar .nav-menu li a {
    padding: 8px 12px;
    display: block;
    color: #01579b;
    font-weight: 500;
    border-radius: 4px;
    position: relative;
}

.left-sidebar .nav-menu li a::after {
    content: '';
    display: block;
    height: 2px;
    width: 0;
    background: #ffeb3b;
    position: absolute;
    bottom: 0;
    left: 0;
    transition: width 0.3s;
}

.left-sidebar .nav-menu li a:hover::after {
    width: 100%;
}

.left-sidebar .nav-menu li a:hover {
    background: #0288d1;
    color: #fff;
}

/* MAIN CONTENT */
.page-content {
    width: 75%;
    background: #fff;
    padding: 25px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease-in-out;
}

.page-content1 {
    width: 90%;          /* Set width to 90% */
    margin: 0 auto;      /* Center it horizontally */
    background: #fff;    /* Optional: background color */
    padding: 20px;       /* Optional: inner spacing */
    border-radius: 6px;  /* Optional: rounded corners */
}
.container.page-layout1 {
    display: flex;           /* makes sidebar + content sit in a row */
    width: 100%;             /* full page width */
    gap: 20px;               /* space between sidebar and content */
}
/* ====================== FOOTER ====================== */
.site-footer {
    width: 100%;
    background: #00394d;
    padding: 40px 0 20px 0;
    margin-top: 40px;
    color: #fff;
    font-size: 15px;
}

.site-footer .footer-container {
    width: 90%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.site-footer .footer-section h3,
.site-footer .footer-section h4 {
    margin-bottom: 12px;
}

.site-footer .footer-section ul {
    list-style: none;
    padding-left: 0;
}

.site-footer .footer-section ul li {
    margin-bottom: 6px;
}

.site-footer .footer-section ul li a {
    color: #ffeb3b;
    text-decoration: none;
}

.site-footer .footer-section ul li a:hover {
    text-decoration: underline;
}

.site-footer .footer-bottom {
    text-align: center;
    padding: 15px 0;
    border-top: 1px solid rgba(255,255,255,0.3);
    margin-top: 20px;
}

/* ====================== RESPONSIVE ====================== */
@media(max-width: 992px) {
    .page-wrapper {
        flex-direction: column;
    }
    .page-content, .left-sidebar {
        width: 100%;
    }
}

@media(max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        width: 100%;
    }

    .nav-menu li a {
        padding: 15px;
        border-bottom: 1px solid rgba(255,255,255,0.2);
    }

    .left-sidebar .nav-menu li a {
        padding: 10px;
    }

    /* Responsive logo size */
    
}

/* === TOP MENU BAR === */
/* ====================== TOP MENU ====================== */
/* ====================== TOP MENU (CENTERED & FULL WIDTH) ====================== */

.main-nav {
    background: #0288d1;
    padding: 0;
    width: 100%;
}

/* Main UL */
.nav-menu {
    list-style: none;
    margin: 0 auto;                 /* center the menu */
    padding: 0;
    display: flex !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
    justify-content: center !important;   /* center items */
    align-items: center;
    width: 100%;
}

/* Menu Items */
.nav-menu > li {
    flex: 0 0 auto !important;
    position: relative;
}

.nav-menu > li > a {
    color: white;
    padding: 14px 22px !important;   /* adjust spacing for center design */
    text-decoration: none;
    display: block;
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
}

.nav-menu > li > a:hover {
    background: #0277bd;
}

/* ====================== SUBMENU ====================== */

.submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    background: #fff;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 230px;
    display: none;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    z-index: 999;
}

.submenu li a {
    padding: 10px 15px;
    display: block;
    color: #333;
    text-decoration: none;
    font-size: 15px;
    border-bottom: 1px solid #eee;
    white-space: nowrap;
}

.submenu li:last-child a {
    border-bottom: none;
}

.submenu li a:hover {
    background: #0288d1;
    color: white;
}

/* Show submenu on hover */
.nav-menu li:hover > .submenu {
    display: block;
}

/* Submenu → submenu (Right side) */
.submenu .submenu {
    left: 100%;
    top: 0;
}
.container.page-layout {
    width: 90%;              /* adjust width as you like */
    margin: 0 auto;          /* THIS centers the whole block */
    display: flex;
    gap: 20px;
    justify-content: center; /* centers inside items horizontally */
}
.full-width-image {
    width: 100%;
}

.full-width-image img {
    width: 100%;
    height: auto; /* maintain aspect ratio */
    display: block;
}
/* Modern AKRG Sidebar */
/* === LEFT MENU BASE === */
/* ====================== LEFT SIDEBAR ====================== */
/* ====================== LEFT SIDEBAR ====================== */
/* ====================== LEFT SIDEBAR ====================== */
/* ==========================
   LEFT SIDEBAR CONTAINER
   ========================== */
.left-sidebar.akrg-modern-menu {
    width: 250px;
    background: #000;
    padding: 20px 15px;
    border-radius: 6px;
    font-family: Arial, sans-serif;
}

/* Menu Title */
.left-sidebar .menu-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
    text-transform: uppercase;
    border-bottom: 1px solid #333;
    padding-bottom: 8px;
}

/* ==========================
   MENU LIST BASE
   ========================== */
.akrg-menu-list,
.akrg-menu-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Each item */
.akrg-menu-list li {
    position: relative;
    margin-bottom: 2px;
}

/* ==========================
   MAIN MENU LINKS
   ========================== */
.akrg-menu-list li > a {
    display: block;
    padding: 10px 14px;
    color: #fff !important;
    background: #000 !important;
    text-decoration: none;
    transition: 0.3s ease;
    border-radius: 4px;
}

/* Hover effect */
.akrg-menu-list li > a:hover {
    background: #222 !important;
    padding-left: 18px;
}

/* ==========================
   SUBMENU BASE (level 1,2,3)
   ========================== */
.akrg-menu-list li ul {
    display: none;
    padding-left: 15px;
}

/* SHOW submenu only of hovered item */
.akrg-menu-list li:hover > ul {
    display: block;
}

/* Submenu link style */
.akrg-menu-list li ul li > a {
    font-size: 14px;
    padding: 8px 12px;
    background: #000 !important;
    color: #fff !important;
    border-left: 2px solid #444;
}

/* Submenu hover */

/* Submenu hover (fixed to keep black background) */
.akrg-menu-list li ul li > a:hover {
    background: #000 !important;  /* stay black */
    color: #fff !important;
    padding-left: 18px;
}


/* ==========================
   MULTI-LEVEL ARROW (▸)
   ========================== */
.akrg-menu-list li.dropdown > a::after {
    content: "▸";
    float: right;
    font-size: 14px;
    transition: 0.2s;
}

/* Rotate arrow when hovering */
.akrg-menu-list li.dropdown:hover > a::after {
    transform: rotate(90deg);
}

/* Remove all unwanted styles from links */
.akrg-menu-list li a,
.akrg-menu-list li a:link,
.akrg-menu-list li a:visited,
.akrg-menu-list li a:active,
.akrg-menu-list li a:hover {
    box-shadow: none !important;
    outline: none !important;
    border: none !important;
}
