/* ========================================
   HHAB Professional Services - Fixed Stylesheet
   No duplicates, proper scoping
   ======================================== */

/* ========== Google Fonts ========== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

/* ================================================
   CSS VARIABLES (ONLY ONCE!)
   ======================================== */
:root {
    --primary-dark: #123759;
    --primary-teal: #00a896;
    --primary-light: #02c3bd;
    --accent-turquoise: #05d9e8;
    --accent-gold: #f59e0b;
    --text-dark: #1f2937;
    --text-gray: #6b7280;
    --text-light: #9ca3af;
    --bg-white: #ffffff;
    --bg-light: #f9fafb;
    --bg-gray: #f3f4f6;
    --border-gray: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================
   RESET (ONLY ONCE!)
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-white);
    font-size: 16px;
    padding-top: 10px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* ========================================
   NAVBAR
   ======================================== */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}
.navbar {
    max-width: 1200px;
    margin: auto;
    height: 65px;  /* ← Fixed height for consistency */
    padding: 0 20px;  /* ← Only horizontal padding */
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 20px;
    color: #045c6f;
}

.logo img {
    height: 40px;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #0a3456;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-teal);
}

/* ========================================
   NAV ACTIONS - BUTTONS (ONLY ONCE!)
   ======================================== */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.search-box {
    position: relative;
}

.search-box input {
    padding: 10px 36px 10px 14px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    outline: none;
    width: 200px;
    height: 35px;
}

.search-box span {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: #64748b;
}

/* ========================================
   ARABIC/LANGUAGE BUTTON
   CHANGE COLORS HERE! ↓
   ======================================== */
.lang-toggle {
    background-color: #0a3456 !important;
    /* ← CHANGE THIS COLOR (Gold) */
    color: #ffffff !important;
    border-radius: 10px;
    border: none;
    padding: 8px 14px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.lang-toggle:hover {
    background-color: #00a896 !important;
    /* ← CHANGE HOVER COLOR (Darker Gold) */
    transform: translateY(-2px);
}

/* ========================================
   CONTACT US BUTTON
   CHANGE COLORS HERE! ↓
   ======================================== */
.contact-btn {
    background: #0a3456 !important;
    color: #ffffff !important;
    border: none;
    padding: 8px 12px;  /* ← Reduced from 16px to 12px (left/right) */
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    font-size: 0.85rem;  /* ← Made text slightly smaller too */
    height: 35px;
}
.contact-btn:hover {
    background: #00a896 !important;
    /* ← CHANGE HOVER COLOR (Lighter Blue) */
    transform: translateY(-2px);
}

/* ========================================
   MOBILE - HIDE SEARCH & CONTACT
   ======================================== */
@media (max-width: 992px) {

    .search-box,
    .contact-btn {
        display: none !important;
    }

    .nav-actions {
        display: none !important;
    }
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    color: #0a3456;
    cursor: pointer;
    padding: 5px;
}

/* ========================================
   DROPDOWN MENU
   ======================================== */
.has-dropdown {
    display: flex;
    align-items: center;
    gap: 4px;
    position: relative;
}

.dropdown-toggle {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px;
    color: #0a3456;
    font-size: 0.75rem;
    transition: all 0.3s ease;
    border-radius: 4px;
    display: flex;
    align-items: center;
}

.dropdown-toggle:hover {
    background: rgba(2, 195, 189, 0.1);
    color: #02c3bd;
}

.has-dropdown.active .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-toggle i {
    transition: transform 0.3s ease;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 20px);
    left: 0;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    min-width: 200px;
    padding: 8px 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.has-dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 12px 24px;
    color: #0a3456;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.dropdown-menu a:hover {
    background: rgba(2, 195, 189, 0.08);
    color: #02c3bd;
    border-left-color: #02c3bd;
    padding-left: 28px;
}

/*serach bar*?
/* Hide mobile by default, show desktop --------flicking issuss*/
.hero-lead-mobile { display: none; }
.hero-lead-desktop { display: block; }

/* Media query for mobile */
@media (max-width: 768px) {
    .hero-lead-mobile { display: block; }
    .hero-lead-desktop { display: none; }
}


/* ========================================
   SEARCH FUNCTIONALITY CSS
   ======================================== */

/*search icon*/
/* Search Box */
.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-box input {
    padding: 10px 45px 10px 14px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    outline: none;
    width: 200px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.search-box input:focus {
    border-color: #0a3456;
    box-shadow: 0 0 0 3px rgba(10, 52, 86, 0.1);
    width: 220px;
}

/* Search Icon (SVG) */
.search-box #searchBtn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.search-box #searchBtn svg {
    stroke: #0a3456;
    /* Dark blue color */
    transition: all 0.3s ease;
}

.search-box #searchBtn:hover svg {
    stroke: #00a896;
    /* Teal on hover */
    transform: scale(1.15);
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-box input {
    padding: 10px 45px 10px 14px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    outline: none;
    width: 200px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.search-box input:focus {
    border-color: #02c3bd;
    box-shadow: 0 0 0 3px rgba(2, 195, 189, 0.1);
    width: 220px;
}

.search-box input:disabled {
    background: #f3f4f6;
    cursor: not-allowed;
}

.search-box #searchBtn {
    position: absolute;
    right: 12px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}

.search-box #searchBtn:hover {
    transform: scale(1.15);
}

.search-box #searchBtn:active {
    transform: scale(0.95);
}

/* Search Highlight */
.search-highlight,
mark {
    background: #fef08a !important;
    padding: 3px 6px !important;
    border-radius: 4px !important;
    font-weight: 600 !important;
    color: #000000 !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Search Results Modal */
.search-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.search-results-box {
    background: white;
    border-radius: 16px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.search-results-header {
    padding: 25px;
    border-bottom: 2px solid #e5e7eb;
    position: sticky;
    top: 0;
    background: white;
    z-index: 1;
}

.search-results-header h3 {
    margin: 0;
    color: #0a3456;
    font-size: 1.3rem;
}

.search-results-count {
    margin: 10px 0 0 0;
    color: #6b7280;
    font-size: 0.9rem;
}

.search-results-body {
    padding: 20px;
}

.search-result-item {
    display: block;
    padding: 20px;
    margin-bottom: 15px;
    background: #f9fafb;
    border-radius: 10px;
    text-decoration: none;
    border-left: 4px solid #0a3456;
    transition: all 0.2s ease;
    cursor: pointer;
}

.search-result-item:hover {
    background: #e0f2fe;
    padding-left: 25px;
    box-shadow: 0 4px 12px rgba(0, 168, 150, 0.2);
}

.search-result-title {
    color: #0a3456;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.search-result-url {
    color: #6b7280;
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.search-result-preview {
    color: #4b5563;
    font-size: 0.9rem;
    line-height: 1.6;
}

.search-result-matches {
    color: #9ca3af;
    font-size: 0.8rem;
    margin-top: 8px;
}

.search-close-btn {
    background: transparent;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #9ca3af;
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
    position: absolute;
    top: 20px;
    right: 20px;
}

.search-close-btn:hover {
    color: #ef4444;
}

/* Search Message */
.search-message {
    position: fixed;
    top: 100px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    font-family: 'Poppins', sans-serif;
    color: white;
    font-weight: 500;
}

.search-message.success {
    background: #10b981;
}

.search-message.error {
    background: #ef4444;
}

/* Mobile */
@media (max-width: 992px) {
    .search-box {
        display: none !important;
    }
}

/* ========================================
   ADD THIS TO YOUR styles.css FILE
   ACTIVE PAGE INDICATOR - BOTTOM LINE
   ======================================== */

/* Desktop active page indicator */
@media (min-width: 993px) {
    .nav-links li.active-page>a {
        color: #00a896;
        position: relative;
    }

    /* Bottom line indicator */
    .nav-links li.active-page>a::after {
        content: '';
        position: absolute;
        bottom: -8px;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, #00a896, #02c3bd);
        border-radius: 2px;
        animation: slideIn 0.3s ease;
    }

    @keyframes slideIn {
        from {
            transform: scaleX(0);
        }

        to {
            transform: scaleX(1);
        }
    }
}

/* Mobile active page indicator */
@media (max-width: 992px) {
    .nav-links li.active-page>a {
        background: rgba(0, 168, 150, 0.1);
        color: #00a896;
        font-weight: 600;
        border-left: 4px solid #00a896;
        padding-left: 1.3rem !important;
    }
}

/*hamburger*/
/* ========================================
   ADD THIS TO YOUR styles.css FILE
   MOBILE MENU FIX ONLY (992px and below)
   ======================================== */

@media (max-width: 992px) {

    /* Show hamburger on mobile */
    .mobile-menu-toggle {
        display: block !important;
        background: none;
        border: none;
        font-size: 28px;
        color: #0a3456;
        cursor: pointer;
        padding: 5px;
        z-index: 1001;
    }

    /* Hide search and contact button on mobile */
    .nav-actions {
        display: none !important;
    }

    /* Hide menu by default on mobile */
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        gap: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
        z-index: 999;
        list-style: none;
    }

    /* Show menu when active (hamburger clicked) */
    .nav-links.active {
        max-height: 500px !important;
        padding: 1rem 0 !important;
    }

    /* Mobile menu items */
    .nav-links li {
        width: 100%;
        text-align: left;
        margin: 0;
    }

    .nav-links a {
        display: block;
        padding: 1rem 1.5rem;
        border-bottom: 1px solid #f0f0f0;
        color: white;
        font-weight: 500;
        text-decoration: none;
    }

    .nav-links a:hover {
        background: rgba(0, 168, 150, 0.08);
        color: #00a896;
    }

    .nav-links li:last-child a {
        border-bottom: none;
    }

    /* Mobile dropdown */
    .has-dropdown {
        width: 100%;
        justify-content: space-between;
        padding: 0;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        background: #f8f9fa;
        margin: 0;
        padding: 0;
        border-radius: 0;
        opacity: 1;
        visibility: visible;
        transform: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .has-dropdown.active .dropdown-menu {
        max-height: 300px;
    }

    .dropdown-menu li {
        width: 100%;
    }

    .dropdown-menu a {
        padding: 12px 2.5rem;
        font-size: 0.9rem;
        border-bottom: 1px solid #e5e7eb;
    }

    .dropdown-menu a:hover {
        padding-left: 3rem;
        background: rgba(0, 168, 150, 0.08);
    }

    /* Language toggle button in mobile menu */
    .lang-toggle {
        margin: 0.5rem 1.5rem;
        width: calc(100% - 3rem);
    }
}





/* ========== HERO SECTION ========== */
.bookkeeping-hero {
    padding: 120px 20px 80px;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content {
    flex: 1;
    min-width: 300px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-teal);
    color: #fff;
    padding: 6px 14px;
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.hero-content h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-lead {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-stats-inline {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.stat-inline strong {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.stat-inline span {
    font-size: 0.9rem;
    color: var(--text-gray);
}

.stat-divider {
    width: 1px;
    background: var(--border-gray);
}

.hero-actions a {
    display: inline-block;
    padding: 13px 34px;
    margin-right: 15px;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.35s ease;
    background-color: var(--primary-dark);
}
.btn-primary {
    background: var(--primary-dark);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-teal);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(4, 92, 111, 0.3);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary-teal);
    color: #045c6f;
}

.btn-secondary:hover {
    background: var(--primary-teal);
    color: #fff;
    transform: translateY(-2px);
}

.hero-visual {
    flex: 1;
    min-width: 300px;
    text-align: center;
    padding: 20px;
}
.hero-svg {
    max-width: 90%;  
    height: auto;
    margin: 0 auto 20px;
    display: block;
}

.visual-text h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--primary-dark);
}

.visual-text p {
    font-size: 1rem;
    color: var(--text-gray);
}

/* ========================================= */
/* RESPONSIVE - TABLET (768px - 1023px)     */
/* ========================================= */
@media (max-width: 1023px) {
    .navbar {
        padding: 16px 20px;
    }

    .search-box input {
        width: 180px;
    }

    .hero-grid {
        gap: 40px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-lead {
        font-size: 1.05rem;
    }
}

/* ========================================= */
/* RESPONSIVE - MOBILE MENU (≤992px)        */
/* ========================================= */
@media (max-width: 992px) {
    body {
        padding-top: 70px;
    }

    /* Mobile Menu Toggle */
    .mobile-menu-toggle {
        display: block;
    }

    /* Hide desktop nav items */
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        gap: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        max-height: 500px;
        padding: 1rem 0;
    }

    .nav-links li {
        width: 100%;
        text-align: left;
        padding: 0;
    }

    .nav-links a {
        display: block;
        padding: 1rem 1.5rem;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-links li:last-child a {
        border-bottom: none;
    }

    /* Hide search and contact on mobile nav */
    .nav-actions {
        display: none;
    }

    /* Dropdown mobile styles */
    .has-dropdown {
        width: 100%;
        justify-content: space-between;
        padding: 0 1.5rem;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        background: #f8f9fa;
        margin: 0;
        padding: 0;
        border-radius: 0;
    }

    .dropdown-menu::before {
        display: none;
    }

    .dropdown-menu a {
        padding: 12px 2.5rem;
        font-size: 0.9rem;
    }

    .dropdown-menu a:hover {
        padding-left: 3rem;
    }

    /* Hero Section */
    .bookkeeping-hero {
        padding: 100px 20px 60px;
    }

    .hero-grid {
        flex-direction: column;
        text-align: center;
        gap: 35px;
    }

    .hero-content {
        text-align: center;
    }

    .hero-badge {
        font-size: 0.9rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-lead {
        font-size: 1rem;
    }

    .hero-stats-inline {
        justify-content: center;
        gap: 30px;
    }

    .hero-actions {
        display: flex;
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    .hero-actions a {
        margin: 0;
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}

/* ========================================= */
/* RESPONSIVE - TABLET (768px - 991px)      */
/* ========================================= */
@media (min-width: 768px) and (max-width: 991px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-lead {
        font-size: 1.05rem;
    }
}

/* ========================================= */
/* RESPONSIVE - MOBILE (480px - 767px)      */
/* ========================================= */
@media (max-width: 767px) {
    body {
        padding-top: 65px;
    }

    .navbar {
        padding: 14px 18px;
    }

    .logo {
        font-size: 18px;
    }

    .logo img {
        height: 32px;
    }

    .nav-links {
        top: 65px;
    }

    .bookkeeping-hero {
        padding: 80px 18px 50px;
    }

    .hero-grid {
        gap: 30px;
    }

    .hero-badge {
        font-size: 0.85rem;
        padding: 5px 12px;
    }

    .hero-content h1 {
        font-size: 1.85rem;
        margin-bottom: 16px;
    }

    .hero-lead {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }

    .hero-stats-inline {
        gap: 25px;
        margin-bottom: 30px;
    }

    .stat-inline strong {
        font-size: 1.35rem;
    }

    .stat-inline span {
        font-size: 0.85rem;
    }

    .hero-actions a {
        padding: 11px 26px;
        font-size: 0.95rem;
    }

    .visual-text h3 {
        font-size: 1.25rem;
    }

    .visual-text p {
        font-size: 0.95rem;
    }
}

/* ========================================= */
/* RESPONSIVE - SMALL MOBILE (375px-479px)  */
/* iPhone 11/12/13/14, Samsung S8+          */
/* ========================================= */
@media (max-width: 479px) {
    body {
        padding-top: 60px;
    }

    .navbar {
        padding: 12px 15px;
    }

    .logo {
        font-size: 17px;
    }

    .logo img {
        height: 30px;
    }

    .mobile-menu-toggle {
        font-size: 26px;
    }

    .nav-links {
        top: 60px;
    }

    .nav-links a {
        padding: 0.9rem 1.25rem;
        font-size: 0.95rem;
    }

    .bookkeeping-hero {
        padding: 70px 15px 45px;
    }

    .hero-grid {
        gap: 25px;
    }

    .hero-badge {
        font-size: 0.8rem;
        padding: 4px 11px;
    }

    .hero-content h1 {
        font-size: 1.65rem;
        margin-bottom: 14px;
        line-height: 1.25;
    }

    .hero-lead {
        font-size: 0.9rem;
        margin-bottom: 22px;
        line-height: 1.55;
    }

    .hero-stats-inline {
        gap: 20px;
        margin-bottom: 28px;
    }

    .stat-inline strong {
        font-size: 1.25rem;
    }

    .stat-inline span {
        font-size: 0.8rem;
    }

    .stat-divider {
        display: none;
    }

    .hero-actions a {
        padding: 10px 24px;
        font-size: 0.9rem;
    }

    .hero-visual {
        padding: 15px;
    }

    .visual-text h3 {
        font-size: 1.15rem;
    }

    .visual-text p {
        font-size: 0.9rem;
    }
}

/* ========================================= */
/* RESPONSIVE - EXTRA SMALL (≤374px)        */
/* ========================================= */
@media (max-width: 374px) {
    body {
        padding-top: 58px;
    }

    .navbar {
        padding: 10px 12px;
    }

    .logo {
        font-size: 16px;
    }

    .logo img {
        height: 28px;
    }

    .mobile-menu-toggle {
        font-size: 24px;
    }

    .nav-links {
        top: 58px;
    }

    .nav-links a {
        padding: 0.85rem 1.15rem;
        font-size: 0.9rem;
    }

    .bookkeeping-hero {
        padding: 65px 12px 40px;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 4px 10px;
    }

    .hero-content h1 {
        font-size: 1.5rem;
        margin-bottom: 12px;
    }

    .hero-lead {
        font-size: 0.85rem;
        margin-bottom: 20px;
    }

    .hero-stats-inline {
        gap: 18px;
        margin-bottom: 25px;
    }

    .stat-inline strong {
        font-size: 1.15rem;
    }

    .stat-inline span {
        font-size: 0.75rem;
    }

    .hero-actions a {
        padding: 9px 22px;
        font-size: 0.85rem;
    }

    .visual-text h3 {
        font-size: 1.05rem;
    }

    .visual-text p {
        font-size: 0.85rem;
    }
}

/* ========================================= */
/* RESPONSIVE - VERY SMALL (≤360px)         */
/* Samsung S8+ and similar                  */
/* ========================================= */
@media (max-width: 360px) {
    .navbar {
        padding: 10px 10px;
    }

    .logo {
        font-size: 15px;
    }

    .logo img {
        height: 26px;
    }

    .bookkeeping-hero {
        padding: 60px 10px 35px;
    }

    .hero-content h1 {
        font-size: 1.4rem;
    }

    .hero-lead {
        font-size: 0.82rem;
    }

    .stat-inline strong {
        font-size: 1.1rem;
    }

    .hero-actions a {
        padding: 8px 20px;
        font-size: 0.82rem;
    }
}

/* ========================================= */
/* LANDSCAPE MODE FIX                       */
/* ========================================= */
@media (max-width: 991px) and (orientation: landscape) {
    .bookkeeping-hero {
        padding: 90px 20px 50px;
    }

    .hero-grid {
        gap: 30px;
    }

    .hero-content h1 {
        font-size: 1.75rem;
    }

    .hero-stats-inline {
        gap: 25px;
        margin-bottom: 25px;
    }
}

/* ========== Container & Layout ========== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ========== Buttons ========== */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background: #045c6f;
    color: var(--bg-white);
}

.btn-primary:hover {
    background: #045c6f;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-light {
    background: var(--bg-white);
    color: var(--primary-dark);
}

.btn-light:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.125rem;
}

.btn-block {
    display: block;
    width: 100%;
}


/* ========== CTA SECTION ========== */
.cta-section {
   background: linear-gradient(
    180deg,
    var(--primary-teal) 0%,
    #019c90 100%
);

    color: var(--bg-white);
    padding: 3rem 2rem;
    text-align: center;
    margin-bottom: 5rem;
}

.cta-content h2 {
    color: var(--bg-white);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

/* ========== FOOTER ========== */
/* ========================================
   FOOTER - COMPLETE
======================================== */

.footer {
    background: #123759;
    color: #fff;
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: #5a9aab !important;
    font-weight: 700;
}

.footer-section h4 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    color: #5a9aab !important;
    font-weight: 600;
}

.footer-address {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    opacity: 0.9;
}

/* Contact Items */
.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.footer-contact-item i {
    color: #5a9aab;
    width: 16px;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.footer-contact-item a {
    color: #fff;
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s;
}

.footer-contact-item a:hover {
    opacity: 1;
    color: #5a9aab;
}

/* Links */
.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 0.4rem;
}

.footer-section ul li a {
    color: #fff;
    text-decoration: none;
    opacity: 0.85;
    font-size: 0.9rem;
    transition: all 0.3s;
    display: inline-block;
}

.footer-section ul li a:hover {
    opacity: 1;
    color: #5a9aab;
    transform: translateX(3px);
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.social-icons a {
    width: 38px;
    height: 38px;
    background: rgba(90, 154, 171, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s;
    text-decoration: none;
}

.social-icons a:hover {
    background: #5a9aab;
    transform: translateY(-3px);
}

.footer-tagline {
    font-size: 0.85rem;
    line-height: 1.4;
    color: #7ab4c3;
    margin-top: 0.75rem;
    font-weight: 500;
}

/* Hide mobile social row on desktop */
.footer-social-row {
    display: none;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.25rem;
    text-align: center;
}

.footer-bottom p {
    opacity: 0.8;
    font-size: 0.9rem;
    margin: 0;
}

/* ========================================
   RESPONSIVE
======================================== */

/* Tablet (769px - 968px) */
@media (max-width: 968px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem 1.5rem;
    }
    
    .footer-company {
        grid-column: 1 / -1;
    }
}

/* Mobile (≤768px) */
@media (max-width: 768px) {
    .footer {
        padding: 2.5rem 1rem 1.5rem;
    }
    
    /* ✅ 2 COLUMNS: Company Info | Quick Links */
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    /* ✅ HIDE Services section on mobile */
    .footer-services {
        display: none !important;
    }
    
    /* ✅ HIDE Follow Us section on mobile */
    .footer-follow-desktop {
        display: none !important;
    }
    
    /* ✅ SHOW Social media row at bottom */
    .footer-social-row {
        display: block !important;
        text-align: center;
        padding: 1.5rem 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        margin-bottom: 1rem;
    }
    
    .footer-social-row h4 {
        font-size: 1rem;
        color: #5a9aab;
        margin-bottom: 1rem;
        font-weight: 600;
    }
    
    .footer-social-row .social-icons {
        justify-content: center;
        gap: 1rem;
    }
    
    .footer-section h3 {
        font-size: 1.15rem;
    }
    
    .footer-section h4 {
        font-size: 0.95rem;
    }
}

/* Small Mobile (≤576px) */
@media (max-width: 576px) {
    .footer {
        padding: 2rem 1rem 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 1.75rem 1.25rem;
    }
    
    .footer-section h3 {
        font-size: 1.05rem;
        margin-bottom: 0.6rem;
    }
    
    .footer-section h4 {
        font-size: 0.9rem;
        margin-bottom: 0.6rem;
    }
    
    .footer-address {
        font-size: 0.8rem;
    }
    
    .footer-contact-item {
        font-size: 0.8rem;
    }
    
    .footer-section ul li a {
        font-size: 0.8rem;
    }
    
    .footer-social-row h4 {
        font-size: 0.9rem;
    }
    
    .social-icons a {
        width: 36px;
        height: 36px;
        font-size: 0.95rem;
    }
}

/* Extra Small (≤375px) */
@media (max-width: 375px) {
    .footer {
        padding: 1.75rem 0.75rem 1rem;
    }
    
    .footer-content {
        gap: 1.5rem 1rem;
    }
    
    .footer-section h3 {
        font-size: 1rem;
    }
    
    .footer-section h4 {
        font-size: 0.85rem;
    }
    
    .footer-address,
    .footer-contact-item,
    .footer-section ul li a {
        font-size: 0.75rem;
    }
    
    .social-icons a {
        width: 34px;
        height: 34px;
        font-size: 0.9rem;
    }
}
/* About wrapper section (contact page bottom section) */
.about-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 40px;
}

.hero-about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
    margin-bottom: 80px;
}

.about-content h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #0a3456;
    line-height: 1.1;
    margin-bottom: 32px;
    letter-spacing: -2px;
}

.about-content p {
    font-size: 1.2rem;
    color: #525252;
    line-height: 1.9;
    margin-bottom: 24px;
}

.about-image-area {
    position: relative;
    height: 500px;
}

.image-block {
    position: absolute;
    border-radius: 4px;
}

.image-block-1 {
    width: 60%;
    height: 60%;
    top: 0;
    left: 0;
    background: linear-gradient(135deg, #0a3456 0%, #00a896 100%);
}

.image-block-2 {
    width: 50%;
    height: 60%;
    bottom: 0;
    right: 0;
    background: linear-gradient(135deg, #02c3bd 0%, #00a896 100%);
}

.stats-overlay {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 32px 48px;
    border-radius: 2px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    display: flex;
    gap: 48px;
    z-index: 10;
}

.stat-block h3 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #0a0a0a;
    margin-bottom: 4px;
    letter-spacing: -1px;
}

.stat-block p {
    font-size: 0.85rem;
    color: #737373;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.principles-container {
    margin-bottom: 80px;
}

.principles-header {
    text-align: center;
    margin-bottom: 60px;
}

.principles-header h2 {
    font-size: 3rem;
    font-weight: 700;
    color: #0a3456;
    margin-bottom: 20px;
    letter-spacing: -1.5px;
}

.principles-header p {
    font-size: 1.15rem;
    color: #4a6475;
    max-width: 700px;
    margin: 0 auto;
}

.principles-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background: #e5e5e5;
}

.principle-item {
    background: white;
    padding: 60px 40px;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.principle-number {
    font-size: 1rem;
    font-weight: 700;
    color: #02c3bd;
    margin-bottom: 24px;
    letter-spacing: 1px;
}

.principle-item h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #0a3456;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.principle-item p {
    font-size: 1rem;
    color: #4a6475;
    line-height: 1.8;
}

/* FAQ Section */
.faq-section {
    margin-top: 4rem;
    padding: 3rem;
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.faq-section h3 {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 3rem;
    font-weight: 700;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.faq-item {
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 10px;
    border-left: 4px solid var(--primary-teal);
}

.faq-item h4 {
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
    font-weight: 700;
}

.faq-item p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-gray);
}

/* ========== TABLET RESPONSIVE (1024px and below) ========== */
@media (max-width: 1024px) {
    .faq-section {
        padding: 2.5rem;
        margin-top: 3rem;
    }

    .faq-section h3 {
        font-size: 1.75rem;
        margin-bottom: 2.5rem;
    }

    .faq-grid {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }
}

/* ========== MOBILE (768px and below) ========== */
@media (max-width: 768px) {
    .faq-section {
        padding: 2rem;
        margin-top: 2.5rem;
        border-radius: 10px;
    }

    .faq-section h3 {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

    .faq-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .faq-item {
        padding: 1.25rem;
    }

    .faq-item h4 {
        font-size: 1.05rem;
    }

    .faq-item p {
        font-size: 0.9rem;
    }
}

/* ========== SMALL MOBILE (480px and below) ========== */
@media (max-width: 480px) {
    .faq-section {
        padding: 1.5rem;
        margin-top: 2rem;
        border-radius: 8px;
    }

    .faq-section h3 {
        font-size: 1.35rem;
        margin-bottom: 1.75rem;
    }

    .faq-grid {
        gap: 1.25rem;
    }

    .faq-item {
        padding: 1rem;
        border-left-width: 3px;
    }

    .faq-item h4 {
        font-size: 1rem;
        margin-bottom: 0.65rem;
    }

    .faq-item p {
        font-size: 0.85rem;
        line-height: 1.6;
    }
}

/* ========== EXTRA SMALL - iPhone 11-15 Pro (375px - 428px) ========== */
@media (min-width: 375px) and (max-width: 428px) {
    .faq-section {
        padding: 1.25rem;
    }

    .faq-section h3 {
        font-size: 1.3rem;
    }

    .faq-item {
        padding: 0.9rem;
    }
}

/* ========== EXTRA SMALL - Samsung S8+ (360px and below) ========== */
@media (max-width: 374px) {
    .faq-section {
        padding: 1rem;
        margin-top: 1.5rem;
    }

    .faq-section h3 {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }

    .faq-grid {
        gap: 1rem;
    }

    .faq-item {
        padding: 0.85rem;
        border-left-width: 3px;
        border-radius: 8px;
    }

    .faq-item h4 {
        font-size: 0.95rem;
        margin-bottom: 0.6rem;
    }

    .faq-item p {
        font-size: 0.8rem;
        line-height: 1.55;
    }
}

/* ========== LANDSCAPE MODE ========== */
@media (max-width: 768px) and (orientation: landscape) {
    .faq-section {
        padding: 1.5rem;
        margin-top: 2rem;
    }

    .faq-section h3 {
        font-size: 1.4rem;
        margin-bottom: 1.75rem;
    }

    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .faq-item {
        padding: 1rem;
    }
}

/* Contact CTA */
.contact-cta {
    margin-top: 4rem;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-teal) 100%);
    border-radius: 12px;
    overflow: hidden;
}

.contact-cta-content {
    text-align: center;
    padding: 4rem 2rem;
}

.contact-cta-content h3 {
    color: var(--bg-white);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.contact-cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .insights-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .stats-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    .content-sidebar {
        order: -1;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .case-studies-grid {
        grid-template-columns: 1fr;
    }

    .case-study-card.featured {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #045c6f;
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
        display: none;
        box-shadow: var(--shadow-lg);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 1rem 2rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
    }

    .hero h1 {
        font-size: 2em;
    }

    .hero p {
        font-size: 1em;
    }

    .hero .btn {
        font-size: 1em;
        padding: 12px 20px;
    }

    .page-header {
        padding: 6rem 1.5rem 3rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .hero-content-finance h1 {
        font-size: 2.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .metrics-grid {
        grid-template-columns: 1fr;
    }

    .services-content {
        flex-direction: column;
    }

    .visual-footer {
        flex-direction: column;
        gap: 1rem;
    }

    .chart-placeholder,
    .chart-container {
        min-height: 200px;
    }

    .content-main {
        padding: 2rem;
    }

    .service-option {
        flex-direction: column;
    }

    .contact-method {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero {
        padding: 5rem 1rem 3rem;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .service-card,
    .feature-item,
    .sidebar-card,
    .metric-card,
    .case-study-card {
        padding: 1.5rem;
    }

    .hero-content-finance h1 {
        font-size: 2rem;
    }
}

/* ========== Print Styles ========== */
@media print {

    .header,
    .footer,
    .btn,
    .menu-toggle {
        display: none;
    }

    body {
        color: #000;
        background: #fff;
    }

    .hero,
    .page-header {
        background: #fff;
        color: #000;
        padding: 2rem 0;
    }

    .service-card,
    .feature-item {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}








/* ========================================
   MOBILE MENU FIX - CRITICAL FOR NETLIFY
   ======================================== */

@media (max-width: 992px) {

    /* Show hamburger on mobile */
    .mobile-menu-toggle {
        display: block !important;
        background: none;
        border: none;
        font-size: 28px;
        color: #0a3456;
        cursor: pointer;
        padding: 5px;
        z-index: 1001;
        position: relative;
    }

    /* Hide search and contact button on mobile */
    .nav-actions {
        display: none !important;
    }

    /* Hide menu by default on mobile */
    .nav-links {
        position: fixed !important;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        gap: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
        z-index: 999;
        list-style: none;
    }

    /* Show menu when active (hamburger clicked) */
    .nav-links.active {
        max-height: 500px !important;
        padding: 1rem 0 !important;
    }

    /* Mobile menu items - VISIBLE TEXT */
    .nav-links li {
        width: 100%;
        text-align: left;
        margin: 0;
        display: block !important;
    }

    .nav-links a {
        display: block !important;
        padding: 1rem 1.5rem;
        border-bottom: 1px solid #f0f0f0;
        color: #0a3456 !important;
        font-weight: 500;
        text-decoration: none;
        font-size: 16px !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .nav-links a:hover {
        background: rgba(0, 168, 150, 0.08);
        color: #00a896 !important;
    }

    /* Mobile dropdown */
    .has-dropdown {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0;
    }

    .has-dropdown>a {
        flex: 1;
    }

    .dropdown-toggle {
        padding: 1rem;
        background: transparent;
        border: none;
        color: #0a3456;
        font-size: 1rem;
    }

    .dropdown-menu {
        position: static !important;
        box-shadow: none;
        background: #f8f9fa;
        margin: 0;
        padding: 0;
        border-radius: 0;
        opacity: 1;
        visibility: visible;
        transform: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        width: 100%;
    }

    .has-dropdown.active .dropdown-menu {
        max-height: 300px;
    }

    .dropdown-menu li {
        width: 100%;
    }

    .dropdown-menu a {
        padding: 12px 2.5rem !important;
        font-size: 0.9rem !important;
        border-bottom: 1px solid #e5e7eb;
    }

    /* Language toggle button in mobile menu */
    .lang-toggle {
        margin: 0.5rem 1.5rem;
        width: calc(100% - 3rem);
        display: block;
    }
}