/* Mobile Responsive Styles for Public Pages */

/* ============================================
   MOBILE HEADER — consistent across all pages
   ============================================ */

/* Force header inner to single row, no wrapping */
@media (max-width: 992px) {
    .main-header {
        padding: 12px 0 !important;
        position: sticky !important;
        top: 0 !important;
        z-index: 1000 !important;
        background: #fff !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08) !important;
    }

    .header-inner {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 0 !important;
        padding: 0 16px !important;
    }

    /* Logo: stays left, shrinks text if needed */
    .header-inner .logo {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
    }

    .header-inner .logo .logo-badge {
        width: 38px !important;
        height: 38px !important;
        flex-shrink: 0 !important;
    }

    .header-inner .logo .logo-text h1 {
        font-size: 13px !important;
        line-height: 1.2 !important;
        white-space: normal !important;
        text-align: justify !important;
        text-align-last: justify !important;
        width: 100% !important;
    }

    .header-inner .logo .logo-text span {
        font-size: 9px !important;
        letter-spacing: 0.8px !important;
        text-align: justify !important;
        text-align-last: justify !important;
        width: 100% !important;
    }

    /* Nav list: hidden on mobile */
    .nav-menu,
    .nav-list {
        display: none !important;
    }

    /* Inquire button (all variants): hidden on mobile — available inside sidebar */
    .header-inner>.inquire,
    .header-inner>a.inquire,
    .header-inner>.btn-inquire,
    .header-inner>a.btn-inquire {
        display: none !important;
    }

    /* Header actions (login, inquire, language switcher): hidden on mobile — available inside sidebar */
    .header-inner .header-actions {
        display: none !important;
    }

    /* Legacy mobile toggle button: hidden to prevent duplicates */
    .mobile-menu-toggle {
        display: none !important;
    }
}

/* Mobile Menu Toggle Button — hidden */
.mobile-menu-toggle {
    display: none !important;
}

.mobile-nav-menu,
.mobile-nav-overlay {
    display: none !important;
}

/* Sidebar Header */
.mobile-nav-menu .mobile-nav-header {
    flex-shrink: 0;
    padding: 20px 24px;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 64px;
}

.mobile-nav-menu .mobile-nav-header-title {
    font-weight: 800;
    color: #1d4ed8;
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.mobile-nav-menu .mobile-nav-close {
    background: #f3f4f6;
    border: none;
    font-size: 20px;
    color: #6b7280;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
}

.mobile-nav-menu .mobile-nav-close:hover {
    background: #e5e7eb;
    color: #1f2937;
}

/* Scrollable nav body */
.mobile-nav-menu .mobile-nav-body {
    flex: 1;
    overflow-y: auto;
    padding: 8px 0;
}

.mobile-nav-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-menu li {
    border-bottom: 1px solid #f3f4f6;
}

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

/* Direct links */
.mobile-nav-menu a {
    display: flex;
    align-items: center;
    padding: 15px 24px;
    color: #1f2937;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-decoration: none;
    text-transform: uppercase;
    transition: background 0.2s, color 0.2s;
}

.mobile-nav-menu a:hover,
.mobile-nav-menu a.active {
    color: #1d4ed8;
    background: #eff6ff;
}

/* Dropdown toggles (ABOUT, SERVICES) */
.mobile-nav-menu .mobile-dropdown-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 24px;
    cursor: pointer;
    user-select: none;
    transition: background 0.2s, color 0.2s;
}

.mobile-nav-menu .mobile-dropdown-toggle span {
    color: #1f2937;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    transition: color 0.2s;
}

.mobile-nav-menu .mobile-dropdown-toggle i {
    font-size: 11px;
    color: #9ca3af;
    transition: transform 0.3s, color 0.2s;
    flex-shrink: 0;
}

.mobile-nav-menu .mobile-dropdown-toggle:hover span,
.mobile-nav-menu .mobile-dropdown-toggle.active span {
    color: #1d4ed8;
}

.mobile-nav-menu .mobile-dropdown-toggle:hover,
.mobile-nav-menu .mobile-dropdown-toggle.active {
    background: #eff6ff;
}

.mobile-nav-menu .mobile-dropdown-toggle.active i {
    transform: rotate(180deg);
    color: #1d4ed8;
}

/* Submenu */
.mobile-nav-menu .mobile-submenu {
    max-height: 0;
    overflow: hidden;
    background: #f8faff;
    transition: max-height 0.3s ease;
    border-top: 1px solid #e9edf7;
}

.mobile-nav-menu .mobile-submenu.active {
    max-height: 300px;
}

.mobile-nav-menu .mobile-submenu a {
    padding: 12px 24px 12px 36px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #4b5563;
    border-bottom: 1px solid #eef1f8;
    text-transform: none;
}

.mobile-nav-menu .mobile-submenu a:last-child {
    border-bottom: none;
}

.mobile-nav-menu .mobile-submenu a::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #d1d5db;
    margin-right: 10px;
    flex-shrink: 0;
    transition: background 0.2s;
}

.mobile-nav-menu .mobile-submenu a:hover::before,
.mobile-nav-menu .mobile-submenu a.active::before {
    background: #1d4ed8;
}

.mobile-nav-menu .mobile-submenu a:hover,
.mobile-nav-menu .mobile-submenu a.active {
    color: #1d4ed8;
    background: #eff6ff;
    text-transform: none;
}

/* Sidebar footer with Inquire button */
.mobile-nav-menu .mobile-nav-footer {
    flex-shrink: 0;
    padding: 16px 24px 24px;
    border-top: 1px solid #e5e7eb;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Login button in sidebar */
.mobile-nav-menu .mobile-login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 13px 20px;
    background: transparent;
    color: #1d4ed8;
    border: 2px solid #1d4ed8;
    border-radius: 10px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.8px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    text-transform: uppercase;
}

.mobile-nav-menu .mobile-login-btn:hover {
    background: #1d4ed8;
    color: #fff;
}

/* Language switcher in sidebar */
.mobile-nav-menu .mobile-lang-switcher {
    width: 100%;
    position: relative;
}

.mobile-nav-menu .mobile-lang-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 12px 16px;
    background: #f8faff;
    border: 1.5px solid #dbeafe;
    border-radius: 10px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: #1f2937;
    transition: border-color 0.2s, background 0.2s;
}

.mobile-nav-menu .mobile-lang-toggle:hover {
    border-color: #1d4ed8;
    background: #eff6ff;
}

.mobile-nav-menu .mobile-lang-dropdown {
    display: none;
    flex-direction: column;
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 4px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.mobile-nav-menu .mobile-lang-dropdown.open {
    display: flex;
}

.mobile-nav-menu .mobile-lang-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 16px;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    text-decoration: none;
    border-bottom: 1px solid #f3f4f6;
    text-transform: none;
    letter-spacing: 0;
    transition: background 0.2s, color 0.2s;
}

.mobile-nav-menu .mobile-lang-dropdown a:last-child {
    border-bottom: none;
}

.mobile-nav-menu .mobile-lang-dropdown a:hover,
.mobile-nav-menu .mobile-lang-dropdown a.mobile-lang-active {
    background: #eff6ff;
    color: #1d4ed8;
}

.mobile-nav-menu .mobile-inquire-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 20px;
    background: #1d4ed8;
    color: #fff;
    text-align: center;
    border-radius: 10px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.8px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    text-transform: uppercase;
}

.mobile-nav-menu .mobile-inquire-btn:hover {
    background: #1e40af;
    transform: translateY(-1px);
}

/* Overlay when mobile menu is open */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-nav-overlay.active {
    display: block;
    opacity: 1;
}

/* ── Logged-in Profile Section in Mobile Sidebar ── */
.mobile-nav-menu .mobile-profile-section {
    width: 100%;
    background: #f8faff;
    border: 1.5px solid #dbeafe;
    border-radius: 10px;
    padding: 0;
    overflow: hidden;
}

.mobile-nav-menu .mobile-profile-info {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #eff6ff;
    border-bottom: 1px solid #dbeafe;
}

.mobile-nav-menu .mobile-profile-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #1d4ed8;
    background: #f3f4f6;
    flex-shrink: 0;
}

.mobile-nav-menu .mobile-profile-details {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.mobile-nav-menu .mobile-profile-details strong {
    font-size: 12px;
    font-weight: 700;
    color: #111827;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mobile-nav-menu .mobile-profile-details span {
    font-size: 10px;
    color: #6b7280;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mobile-nav-menu .mobile-profile-link {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 9px 12px;
    font-size: 12px;
    font-weight: 600;
    color: #374151;
    text-decoration: none;
    text-transform: none;
    letter-spacing: 0.2px;
    border-top: 1px solid #e9edf7;
    transition: background 0.2s, color 0.2s;
}

.mobile-nav-menu .mobile-profile-link:hover {
    background: #eff6ff;
    color: #1d4ed8;
}

.mobile-nav-menu .mobile-profile-link i {
    width: 14px;
    text-align: center;
    font-size: 12px;
    color: #6b7280;
}

.mobile-nav-menu .mobile-profile-link:hover i {
    color: #1d4ed8;
}

.mobile-nav-menu .mobile-profile-link.mobile-profile-logout {
    color: #dc2626;
}

.mobile-nav-menu .mobile-profile-link.mobile-profile-logout:hover {
    background: #fef2f2;
    color: #b91c1c;
}

.mobile-nav-menu .mobile-profile-link.mobile-profile-logout i {
    color: #dc2626;
}

.mobile-nav-menu .mobile-profile-link.mobile-profile-logout:hover i {
    color: #b91c1c;
}

/* Enhanced Mobile Responsive Styles */

/* Top Bar - Hide on mobile */
@media (max-width: 700px) {

    .topbar,
    .top-bar {
        display: none !important;
    }
}

/* Header adjustments for mobile */
@media (max-width: 992px) {

    .header-content,
    .nav-inner {
        flex-wrap: nowrap;
    }

    .brand {
        flex: 1;
    }
}

/* Hero Section Mobile */
@media (max-width: 1050px) {
    .hero-copy {
        width: 55% !important;
    }

    .hero-stats {
        right: 20px;
        width: 260px;
    }

    .hero h1 {
        font-size: 50px !important;
    }
}

@media (max-width: 900px) {
    .hero-copy {
        width: 58% !important;
    }

    .hero-stats {
        width: 240px;
    }
}

@media (max-width: 700px) {
    .hero {
        height: auto !important;
        min-height: 500px;
        padding: 60px 0;
    }

    .hero-copy {
        width: 100% !important;
    }

    .hero h1 {
        font-size: 36px !important;
    }

    .hero-description {
        width: 100% !important;
        font-size: 14px !important;
    }

    .hero-stats {
        display: none !important;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 450px;
        padding: 50px 0;
    }

    .hero h1 {
        font-size: 30px !important;
    }

    .hero-description {
        font-size: 13px !important;
    }

    .hero-actions {
        width: 100%;
    }
}

/* Service Cards Mobile */
@media (max-width: 900px) {
    .service-card {
        grid-template-columns: 80px 1fr !important;
        gap: 18px !important;
        padding: 24px !important;
    }

    .service-icon {
        width: 76px !important;
        height: 76px !important;
    }
}

@media (max-width: 700px) {
    .service-wrap {
        margin-top: -30px !important;
    }

    .service-grid {
        grid-template-columns: 1fr !important;
    }

    .service-card {
        min-height: auto !important;
    }
}

/* Featured Projects Mobile */
@media (max-width: 1050px) {
    .featured-grid {
        grid-template-columns: 200px 1fr !important;
    }

    .project-list {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 900px) {
    .featured-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 700px) {
    .featured {
        padding: 50px 0 40px !important;
    }

    .featured-intro p {
        max-width: 100% !important;
    }

    .project-list {
        grid-template-columns: 1fr 1fr !important;
        gap: 15px !important;
    }

    .project-image {
        height: 180px !important;
    }
}

@media (max-width: 480px) {
    .project-list {
        grid-template-columns: 1fr !important;
    }

    .project-image {
        height: 200px !important;
    }
}

/* About Page Mobile */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr !important;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr !important;
    }

    .cta-box {
        flex-direction: column !important;
        text-align: center !important;
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 32px !important;
    }

    .about-features {
        grid-template-columns: 1fr !important;
    }

    .stats-grid {
        grid-template-columns: 1fr !important;
    }

    .footer-content {
        grid-template-columns: 1fr !important;
    }

    .contact-info {
        display: none !important;
    }

    .footer-bottom {
        flex-direction: column !important;
        gap: 10px !important;
        text-align: center !important;
    }

    .cta-box {
        padding: 30px 24px !important;
    }

    .cta-text h2 {
        font-size: 22px !important;
    }

    .about-image-badge {
        right: 10px !important;
    }
}

/* Footer Mobile */
@media (max-width: 700px) {

    .footer-grid,
    .footer-content {
        grid-template-columns: 1fr 1fr !important;
        gap: 30px !important;
    }
}

@media (max-width: 480px) {

    .footer-grid,
    .footer-content {
        grid-template-columns: 1fr !important;
    }

    .footer-bottom {
        text-align: center !important;
    }
}

/* Page Header Mobile */
@media (max-width: 768px) {
    .page-header {
        min-height: 250px !important;
        padding: 40px 0 70px !important;
    }

    .page-title {
        font-size: 32px !important;
    }

    .page-subtitle {
        font-size: 14px !important;
    }
}

@media (max-width: 480px) {
    .page-header {
        min-height: 220px !important;
        padding: 30px 0 60px !important;
    }

    .page-title {
        font-size: 26px !important;
    }
}

/* Ensure all images are responsive */
img {
    max-width: 100%;
    height: auto;
}

/* Prevent horizontal scroll */
* {
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
    width: 100%;
}

/* Container adjustments */
@media (max-width: 768px) {
    .container {
        padding: 0 20px !important;
    }
}

/* Button adjustments for mobile */
@media (max-width: 480px) {

    .hero-btn,
    .btn-primary,
    .btn-custom,
    .inquire,
    .btn-inquire {
        padding: 12px 20px !important;
        font-size: 12px !important;
    }
}

/* Form adjustments for mobile */
@media (max-width: 768px) {
    .form-control {
        font-size: 14px;
    }

    input,
    select,
    textarea {
        font-size: 14px;
    }
}

/* Modal adjustments for mobile */
@media (max-width: 768px) {
    .modal-dialog {
        max-width: 90% !important;
        margin: 20px auto !important;
    }

    .modal-body {
        padding: 20px 15px !important;
    }
}

/* WhatsApp button mobile */
@media (max-width: 767px) {
    .whatsapp_float {
        width: 45px !important;
        height: 45px !important;
        bottom: 20px !important;
        right: 15px !important;
        font-size: 24px !important;
    }

    .whatsapp-icon {
        margin-top: 10px !important;
    }
}

/* Ensure proper spacing on mobile */
@media (max-width: 768px) {
    section {
        padding: 50px 0 40px !important;
    }

    h1,
    h2,
    h3 {
        word-wrap: break-word;
    }
}

/* Text adjustments */
@media (max-width: 768px) {

    p,
    li,
    span {
        word-wrap: break-word;
    }
}

/* Grid system fallbacks */
@media (max-width: 768px) {
    [class*="col-"] {
        flex: 0 0 100%;
        max-width: 100%;
    }
}


/* ============================================
   NAVBAR / HEADER — shared styles for all pages
   ============================================ */

.main-header {
    background: #fff;
    padding: 16px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .06);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #e8e9ed;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo .logo-badge {
    width: 46px;
    height: 46px;
    object-fit: contain;
}

.logo-text {
    padding-top: 12px;
    text-align: left;
}

.logo-text h1 {
    color: #1d4ed8;
    font-size: 16.5px;
    line-height: 1.2;
    font-weight: 800;
    white-space: nowrap;
    margin: 0;
    display: block;
    text-align: justify;
    text-align-last: justify;
    width: 100%;
}

.logo-text span {
    color: #dc2626;
    display: block;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 1.4px;
    margin-top: 3px;
    text-align: justify;
    text-align-last: justify;
    width: 100%;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 22px;
    margin: 0;
    padding: 0;
    list-style: none;
    flex-wrap: nowrap;
}

.nav-list li {
    display: flex;
    align-items: center;
}

.nav-list a {
    position: relative;
    display: flex;
    align-items: center;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .3px;
    color: #1f2937;
    padding: 6px 0;
    transition: color .3s;
    white-space: nowrap;
}

.nav-list a:hover,
.nav-list a.active {
    color: #1d4ed8;
}

.nav-list .nav-item-dropdown>a.active::after {
    display: none;
}

.dropdown-menu-custom a.active {
    color: #1d4ed8;
    font-weight: 600;
}

/* Dropdown */
.nav-item-dropdown {
    position: relative;
}

.nav-item-dropdown>a {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-item-dropdown>a i {
    font-size: 10px;
    transition: transform .3s;
}

.nav-item-dropdown:hover>a i {
    transform: rotate(180deg);
}

.dropdown-menu-custom {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
    min-width: 180px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all .3s;
    z-index: 100;
}

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

.dropdown-menu-custom a {
    display: block;
    padding: 10px 20px;
    color: #374151;
    font-size: 13px;
    font-weight: 500;
    transition: all .2s;
}

.dropdown-menu-custom a:hover {
    background: #f3f4f6;
    color: #1d4ed8;
    padding-left: 25px;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.inquire {
    background: #1d4ed8;
    color: #fff;
    border-radius: 5px;
    padding: 0 18px;
    height: 40px;
    box-sizing: border-box;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.3px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    white-space: nowrap;
}

.inquire:hover {
    background: #1e40af;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(29, 78, 216, .3);
    color: #fff;
}

.inquire i {
    font-size: 13px;
}

.login-btn {
    border: 2px solid #1d4ed8;
    color: #1d4ed8;
    border-radius: 5px;
    padding: 0 16px;
    height: 40px;
    box-sizing: border-box;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.3px;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s;
    background: transparent;
    white-space: nowrap;
}

.login-btn:hover {
    background: #1d4ed8;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(29, 78, 216, .3);
}

/* User Profile Dropdown */
.user-profile-dropdown {
    position: relative;
    display: inline-block;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid #1d4ed8;
    transition: all 0.3s;
    background: #f3f4f6;
    box-sizing: border-box;
}

.user-avatar:hover {
    border-color: #1e40af;
    box-shadow: 0 4px 12px rgba(29, 78, 216, .3);
    transform: translateY(-1px);
}

.profile-dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 120%;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .15);
    min-width: 260px;
    padding: 0;
    z-index: 1000;
    border: 1px solid #e5e7eb;
    overflow: hidden;
}

.profile-dropdown-menu.show {
    display: block;
    animation: fadeInDown 0.3s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

.profile-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}

.dropdown-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #1d4ed8;
    background: #f3f4f6;
    flex-shrink: 0;
    box-sizing: border-box;
}

.profile-details {
    flex: 1;
    min-width: 0;
}

.profile-details strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.profile-details span {
    display: block;
    font-size: 12px;
    color: #6b7280;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dropdown-divider {
    height: 1px;
    background: #e5e7eb;
    margin: 0;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: #374151;
    font-size: 13.5px;
    font-weight: 500;
    transition: all 0.2s;
    text-decoration: none;
}

.dropdown-item:hover {
    background: #f3f4f6;
    color: #1d4ed8;
    padding-left: 20px;
}

.dropdown-item i {
    width: 18px;
    text-align: center;
    color: #6b7280;
    font-size: 14px;
}

.dropdown-item:hover i {
    color: #1d4ed8;
}

/* Large screen nav spacing adjustments */
@media (max-width: 1280px) {
    .nav-list {
        gap: 16px;
    }

    .nav-list a {
        font-size: 12.5px;
    }

    .header-inner {
        gap: 16px;
    }

    .inquire {
        padding: 0 14px;
        font-size: 12px;
    }

    .login-btn {
        padding: 0 12px;
        font-size: 12px;
    }
}

@media (max-width: 1100px) {
    .nav-list {
        gap: 12px;
    }

    .logo-text h1 {
        font-size: 14px;
    }
}