body {
    font-family: Arial, sans-serif;
    margin: 0;
    background-color: #f0f2f5;
}

header {
    background-color: #0056a6;
    color: white;
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    background-color: #0056a6;
}

.logo-area .logo {
    height: 140px;
    width: 450px;
}

.registration-text img {
    height: 80px; /* Adjust as needed */
    width: auto;
}

.main-nav {
    background-color: #004a8c;
    padding: 0 50px;
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.main-nav ul li {
    position: relative;
}

.main-nav ul li a {
    display: block;
    padding: 15px 20px;
    color: white;
    text-decoration: none;
    font-size: 16px;
}

.main-nav ul li a:hover {
    background-color: #003d73;
}

.arrow {
    border: solid white;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 3px;
    margin-left: 5px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}

.dropdown-menu {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 250px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-top: 3px solid #0056a6;
}

.dropdown-menu li a {
    color: #333;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 14px;
}

.dropdown-menu li a:hover {
    background-color: #f1f1f1;
}

.dropdown:hover .dropdown-menu {
    display: block;
}
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    transition: background-color 0.3s, color 0.3s;
}

.btn:hover {
    background-color: #e3f0ff;
    color: #0d47a1;
}

/* ===== SERVICES ===== */
.services {
    padding: 80px 20px;
    background-color: #fff;
    text-align: center;
}

.services h2 {
    font-size: 2rem;
    margin-bottom: 48px;
    color: #1a73e8;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
}

.service-card {
    background-color: #f4f8ff;
    border-radius: 12px;
    padding: 36px 24px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(26, 115, 232, 0.15);
}

.service-card img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    margin-bottom: 16px;
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #1a73e8;
}

.service-card p {
    font-size: 0.95rem;
    color: #555;
}

/* ===== SITEMAP ===== */
.sitemap-heading {
    font-size: 1.8rem;
    font-weight: bold;
    color: #222;
    margin-bottom: 24px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
}

.sitemap-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.sitemap-col {
    display: flex;
    flex-direction: column;
}

.sitemap-letter {
    font-weight: bold;
    font-size: 1rem;
    color: #444;
    margin-top: 18px;
    margin-bottom: 4px;
    padding-bottom: 2px;
}

.sitemap-list {
    list-style: none;
    padding: 0;
    margin: 0 0 8px 0;
}

.sitemap-list li {
    background-color: #e8e8e8;
    margin-bottom: 3px;
    padding: 5px 10px;
    font-size: 0.88rem;
}

.sitemap-list li a {
    color: #1a73e8;
    text-decoration: none;
}

.sitemap-list li a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .sitemap-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== FOOTER ===== */
.appFooterContainer {
    min-height: 80px;
    position: relative;
    background-color: #2e5a87;
}

.appFooter {
    background-color: #2e5a87;
    color: #cde;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 30px;
    font-size: 0.85rem;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-divider {
    color: #aac;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 5px;
}

.footer-links li::before {
    content: '';
}

.footer-links li + li::before {
    content: ' · ';
    color: #aac;
    margin-right: 5px;
}

.footer-links a {
    color: #cde;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

.poweredBy {
    position: absolute;
    right: 0;
    bottom: 0;
    background: white;
    padding: 6px 10px;
    border-radius: 4px 0 0 0;
}

.poweredBy img {
    height: 55px;
    width: auto;
    opacity: 1;
}

.site-info {
    width: 100%;
    text-align: left;
    font-size: 0.8rem;
    color: #aac;
    padding-top: 6px;
    border-top: 1px solid rgba(255,255,255,0.15);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 1.6rem;
    }

    nav ul {
        gap: 14px;
    }

    .logo span {
        display: none;
    }



    .logo-area .logo {
        height: 100px; /* Adjust for mobile */
        width: auto;
        margin-bottom: 10px;
    }

    .registration-text img {
        height: 60px; /* Adjust for mobile */
    }
}

@media (max-width: 576px) {
    .logo-area .logo {
        height: 80px; /* Further adjust for smaller screens */
    }
    .header-top {
        flex-direction: column;
        padding: 15px;
    }

    .registration-text img {
        display: none;
    }
}

/* ===== MULTI-LEVEL DROPDOWN ===== */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
    display: none;
}

.dropdown-submenu:hover > .dropdown-menu {
    display: block;
}

.dropdown-submenu > a:after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-left-color: #ccc;
    margin-top: 5px;
    margin-right: -10px;
}

.dropdown-submenu:hover > a:after {
    border-left-color: #fff;
}

.dropdown-submenu.pull-left {
    float: none;
}

.dropdown-submenu.pull-left > .dropdown-menu {
    left: -100%;
    margin-left: 10px;
}

.document-section {
    background-color: white;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.document-title {
    color: #0056a6;
    font-weight: bold;
    margin-bottom: 20px;
}

.hotline {
    color: #d9534f;
    font-size: 1.1em;
}

.document-section ul {
    list-style-type: disc;
    padding-left: 20px;
    margin-bottom: 30px;
}

.document-images img {
    max-width: 100%;
    height: auto;
    border: 1px solid #ddd;
    margin-bottom: 15px;
}

/* ===== SIDEBAR ===== */
.sidebar {
    position: static;
}

.date-display {
    color: #555;
    font-size: 0.85rem;
    font-style: italic;
}

.date-display i {
    color: #0056a6;
    margin-right: 4px;
}

.sidebar-title {
    background-color: #f0f2f5;
    color: #0056a6;
    text-align: center;
    padding: 12px;
    font-weight: bold;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-bottom: none;
    letter-spacing: 1px;
    margin-bottom: 0;
}

.sidebar-widget {
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-top: none;
    padding: 16px;
    margin-bottom: 0;
}

.sidebar-widget + .sidebar-widget {
    border-top: 1px solid #ddd;
}

.sidebar-widget h6 {
    font-weight: bold;
    color: #222;
    font-size: 1rem;
    margin-bottom: 8px;
}

.sidebar-widget p {
    font-size: 0.85rem;
    color: #555;
    margin-bottom: 5px;
    line-height: 1.5;
}

.sidebar-widget .btn-primary {
    background-color: #0056a6;
    border-color: #0056a6;
    font-size: 0.83rem;
    padding: 4px 14px;
    margin-top: 8px;
    border-radius: 3px;
}

/* Video Guides Page */
.video-guides-container .date-display {
    font-family: 'Arial', sans-serif;
    font-size: 0.9rem;
    color: #555;
}

.video-title-bar {
    background-color: #004a8c;
    padding: 10px 20px;
    margin-bottom: 20px;
}

.video-title-bar .entry-title {
    color: white;
    font-size: 1.5rem;
    margin: 0;
    font-weight: bold;
}

.video-guide-content p {
    font-size: 1rem;
    line-height: 1.8;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.video-guide-content a {
    color: #0056a6;
    font-weight: bold;
    text-decoration: none;
}

.video-guide-content a:hover {
    text-decoration: underline;
}

/* Company Details Page */
.company-details-container {
    background-color: #fff;
    padding: 25px 30px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border: 1px solid #e0e0e0;
}

.details-title {
    color: #004a8c;
    font-size: 1.7rem;
    font-weight: bold;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #004a8c;
}

.company-id-text, .company-id-text-en {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 5px;
}
.company-id-text-en {
    font-size: 1rem;
    color: #555;
}

.login-prompt {
    background-color: #e7f3fe;
    border-left: 4px solid #2196F3;
    padding: 12px 15px;
    margin: 20px 0;
    font-size: 0.95rem;
}

.details-tabs {
    border-bottom: 1px solid #ccc;
    margin-bottom: 20px;
}

.details-tabs .tab {
    display: inline-block;
    padding: 10px 20px;
    font-weight: bold;
    color: #555;
    cursor: pointer;
    border-bottom: 3px solid transparent;
}

.details-tabs .tab.active {
    color: #004a8c;
    border-bottom-color: #004a8c;
}

.details-content {
    padding: 10px 0;
}

.detail-row {
    display: flex;
    padding: 12px 8px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.95rem;
}

.detail-row:nth-child(odd) {
    background-color: #f9f9f9;
}

.detail-label {
    flex: 0 0 30%;
    font-weight: bold;
    color: #444;
}

.detail-value {
    flex: 1;
    color: #222;
}

.section-title {
    font-size: 1.3rem;
    color: #004a8c;
    margin-top: 30px;
    margin-bottom: 15px;
    padding-bottom: 5px;
    border-bottom: 1px solid #e0e0e0;
}

.details-actions {
    text-align: right;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}
