/* Custom Styles for MKRDimension Website */

:root {
    --primary-color: #0096c7;
    --primary-dark: #0077b6;
    --primary-light: #00b4d8;
    --dark-blue: #0a2540;
    --dark-blue-alt: #1a2b47;
    --text-dark: #212529;
    --text-muted: #6c757d;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
	--bg-mixed-new: #f3f9ff;
}

/* Global Styles */
body {
    font-family: 'MS Sans Serif', Geneva, sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-mixed-new);
    position: relative;
    min-height: 100vh;
    padding-top: 0 !important; /* Override style.min.css padding-top: 3.5rem */
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
	font-size: 14px !important;
}
.justify-text {
  text-align: justify !important;
  text-justify: inter-word;
}

html {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
	text-align: justify !important;
}

.container,
.container-fluid {
    max-width: 100%;
    box-sizing: border-box;
}

/* White sections should have white backgrounds without grid */
.trusted-brands,
.why-choose,
.boosting-brand,
.ready-transform,
.blog-section {
    background-color: var(--bg-white) !important;
    background-image: none !important;
}

/* Header Styles */
header.navbar,
.navbar.sticky-top,
.navbar {
    padding: 1rem 0;
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none;
    position: sticky !important;
    top: 0 !important;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1020 !important; /* Bootstrap sticky-top default z-index */
}

.navbar .container {
    background-color: var(--bg-white) !important;
    border-radius: 50px;
    padding: 0.75rem 2rem;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    max-width: 1200px;
    width: calc(100% - 40px);
    margin: 0 auto;
    box-sizing: border-box;
}

@media (max-width: 576px) {
    .navbar .container {
        width: calc(100% - 20px);
        padding: 0.5rem 1rem;
    }
}

.navbar-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-dark);
    letter-spacing: -0.5px;
}

.logo-mkr {
    color: var(--text-dark);
    font-weight: 700;
}

.logo-dimension {
    color: var(--primary-color);
    font-weight: 700;
    margin-left: 2px;
}

.logo-reg {
    font-size: 0.7rem;
    vertical-align: super;
    margin-left: 2px;
    color: var(--text-dark);
    font-weight: 400;
}

.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    margin: 0 0.75rem;
    padding: 0.5rem 0 !important;
    transition: color 0.3s;
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 80%;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

.navbar-nav .dropdown-menu {
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 0.75rem;
    margin-top: 0.75rem;
    padding: 0.75rem 0;
    min-width: 280px;
    max-width: 100%;
    animation: dropdownFadeIn 0.3s ease-out;
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.navbar-nav .dropdown-item {
    padding: 0.1rem 1.5rem;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    font-size: 0.9375rem; /* Standard size: 15px */
    border-left: 3px solid transparent;
    border-radius:4px !important;
    border-bottom:1px solid red;
}

.navbar-nav .dropdown-item i {
    width: 20px;
    text-align: center;
}

.navbar-nav .dropdown-item:hover,
.navbar-nav .dropdown-item:focus {
    background-color: rgba(0, 150, 199, 0.1);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
    padding-left: 1.75rem;
}

.navbar-nav .dropdown-item.fw-semibold {
    font-weight: 600;
    color: var(--text-dark);
    background-color: rgba(0, 150, 199, 0.05);
}

.navbar-nav .dropdown-item.fw-semibold:hover {
    background-color: rgba(0, 150, 199, 0.15);
    color: var(--primary-color);
}

.navbar-nav .dropdown-divider {
    margin: 0.5rem 0;
    opacity: 0.2;
}

/* Hide Bootstrap's default dropdown caret */
.navbar-nav .dropdown-toggle::after {
    display: none !important;
}

/* Ensure Bootstrap dropdown menus work properly */
.navbar-nav .dropdown-menu {
    display: none !important;
}

.navbar-nav .dropdown-menu.show {
    display: block !important;
}

/* Override dropdown-menu-lg-end to position dropdown to the right of menu item, not right-aligned */
.navbar-nav .dropdown-menu.dropdown-menu-lg-end {
    left: 0 !important;
    right: auto !important;
}

/* Ensure navbar container allows dropdown overflow */
.navbar,
.navbar .container,
.navbar .navbar-collapse,
.navbar .navbar-nav {
    overflow: visible !important;
    position: relative;
}

/* Ensure nav-item allows dropdown overflow */
.navbar-nav .nav-item {
    overflow: visible !important;
    position: relative;
}

/* Ensure body allows navbar dropdown overflow on desktop, but prevent horizontal scroll on mobile */
body {
    overflow-x: hidden;
}

@media (min-width: 992px) {
    body {
        overflow-x: visible;
    }
}

/* Fix dropdown positioning to prevent cutoff */
.navbar-nav .nav-item.dropdown .dropdown-menu {
    position: absolute !important;
    left: 0 !important;
    right: auto !important;
    /* Ensure it doesn't get cut off by container */
    min-width: max-content;
}

/* Professional multi-column layout for 2nd level dropdowns with more than 5 items */
/* Only apply to direct children of nav-item, NOT nested 3rd level dropdowns */
.navbar-nav > .nav-item > .dropdown-menu:has(> li:nth-child(6)),
.navbar-nav > .nav-item > .dropdown-menu.multi-column-dropdown {
    min-width: 500px !important;
    max-width: 700px !important;
    padding: 1rem !important;
    column-count: 2 !important;
    column-gap: 2rem !important;
    column-rule: 1px solid #e9ecef !important;
}

@media (max-width: 991px) {
    .navbar-nav > .nav-item > .dropdown-menu:has(> li:nth-child(6)),
    .navbar-nav > .nav-item > .dropdown-menu.multi-column-dropdown {
        min-width: auto !important;
        max-width: 100% !important;
        width: 100% !important;
    }
}

/* Increase width for dropdowns with submenus to prevent overlap */
.navbar-nav > .nav-item > .dropdown-menu:has(.dropdown-submenu) {
    min-width: 450px !important;
    max-width: 650px !important;
}

@media (max-width: 991px) {
    .navbar-nav > .nav-item > .dropdown-menu:has(.dropdown-submenu) {
        min-width: auto !important;
        max-width: 100% !important;
        width: 100% !important;
    }
}

.navbar-nav > .nav-item > .dropdown-menu:has(> li:nth-child(6)) > li,
.navbar-nav > .nav-item > .dropdown-menu.multi-column-dropdown > li {
    break-inside: avoid !important;
    page-break-inside: avoid !important;
    display: inline-block !important;
    width: 100% !important;
}

.navbar-nav > .nav-item > .dropdown-menu:has(> li:nth-child(6)) > .dropdown-divider,
.navbar-nav > .nav-item > .dropdown-menu.multi-column-dropdown > .dropdown-divider {
    column-span: all !important;
    width: 100% !important;
    margin: 0.5rem 0 !important;
}

/* Professional styling for dropdown items in multi-column layout (2nd level only) */
.navbar-nav > .nav-item > .dropdown-menu:has(> li:nth-child(6)) > li:not(.dropdown-submenu) > .dropdown-item,
.navbar-nav > .nav-item > .dropdown-menu.multi-column-dropdown > li:not(.dropdown-submenu) > .dropdown-item {
    padding: 0.1rem 1rem !important;
    font-size: 0.9375rem !important; /* Standard size: 15px */
    border-radius: 4px !important;
    margin: 0.125rem 0 !important;
    border-bottom: 1px solid red !important;
}

.navbar-nav > .nav-item > .dropdown-menu:has(> li:nth-child(6)) > li:not(.dropdown-submenu) > .dropdown-item:hover,
.navbar-nav > .nav-item > .dropdown-menu.multi-column-dropdown > li:not(.dropdown-submenu) > .dropdown-item:hover {
    background: #f0f7ff !important;
    color: #007bff !important;
    transform: translateX(4px) !important;
    box-shadow: 0 2px 4px rgba(0, 123, 255, 0.1) !important;
}

/* Explicitly exclude 3rd level dropdowns from 2nd level multi-column rules */
.dropdown-submenu {
    position: relative !important;
    /* Ensure it doesn't get affected by parent multi-column rules */
    column-count: initial !important;
    /* Ensure proper positioning context for nested dropdown */
    display: list-item !important;
}

/* Submenu toggle button font size */
.dropdown-submenu .dropdown-toggle {
    font-size: 0.9375rem !important; /* Standard size: 15px - same as 2nd level items */
}

/* Collapsible 3rd level menu - accordion style */
.dropdown-submenu-list {
    position: static !important;
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0.75rem 1rem 0.75rem 1.5rem !important;
    background-color: rgba(0, 150, 199, 0.03) !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    min-width: auto !important;
    max-width: 100% !important;
    /* 2-column layout for 3rd level items */
    column-count: 2 !important;
    column-gap: 1.25rem !important;
    column-rule: none !important;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.dropdown-submenu-list.collapse:not(.show) {
    display: none !important;
}

.dropdown-submenu-list.collapse.show {
    display: block !important;
}

/* Style 3rd level dropdown items */
.dropdown-submenu-list .dropdown-item {
    padding: 0.625rem 0.875rem !important;
    border-radius: 4px !important;
    margin: 0.125rem 0 !important;
    display: block !important;
    font-size: 0.875rem !important; /* Standard size: 14px */
    color: var(--text-dark) !important;
    border-left: 2px solid transparent !important;
    transition: all 0.2s !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    line-height: 1.4 !important;
}

.dropdown-submenu-list .dropdown-item:hover {
    background: rgba(0, 150, 199, 0.1) !important;
    color: var(--primary-color) !important;
    border-left-color: var(--primary-color) !important;
    padding-left: 1.25rem !important;
}

/* Chevron icon rotation for collapsible submenu */
.dropdown-submenu .submenu-chevron {
    transition: transform 0.3s ease !important;
    font-size: 0.875rem !important;
}

.dropdown-submenu .dropdown-toggle:not(.collapsed) .submenu-chevron,
.dropdown-submenu .dropdown-toggle[aria-expanded="true"] .submenu-chevron {
    transform: rotate(180deg) !important;
}

/* Ensure list items don't break across columns */
.dropdown-submenu-list > li {
    break-inside: avoid !important;
    page-break-inside: avoid !important;
    display: inline-block !important;
    width: 100% !important;
    margin-bottom: 0.125rem !important;
    min-width: 0 !important;
}

/* Prevent text overflow in columns */
.dropdown-submenu-list .dropdown-item {
    overflow-wrap: break-word !important;
   /* word-break: break-word !important;*/
}

/* Ensure parent dropdown allows overflow */
.navbar-nav .dropdown-menu {
    overflow: visible !important;
}

/* Mobile: single column for nested dropdowns - no longer needed as we use collapsible menu */

.dropdown-chevron {
    font-size: 0.875rem;
    transition: transform 0.3s;
    display: inline-block;
    margin-left: 0.25rem;
    vertical-align: middle;
}

.nav-link.dropdown-toggle[aria-expanded="true"] .dropdown-chevron {
    transform: rotate(180deg);
}

@media (min-width: 992px) {
    .dropdown-chevron {
        display: inline-block;
    }
}

/* Mobile Menu Toggle Button */
.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
    font-size: 1.25rem;
    background-color: transparent;
    border-radius: 0.375rem;
    transition: all 0.3s;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 150, 199, 0.25);
    outline: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Responsive Dropdown Styles */
@media (max-width: 991px) {
    
    .navbar .container {
        border-radius: 30px;
        padding: 0.75rem 1.5rem;
        width: calc(100% - 30px);
        max-width: 1200px;
        margin: 0 auto;
    }
    
    .navbar {
        padding: 0.75rem 0;
    }
    
    /* Mobile Menu Collapse */
    .navbar-collapse {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .navbar-nav {
        width: 100%;
        gap: 0.5rem;
    }
    
    .navbar-nav .nav-item {
        width: 100%;
    }
    
    .navbar-nav .nav-link {
        width: 100%;
        padding: 0.75rem 1rem !important;
        margin: 0 !important;
        border-radius: 0.5rem;
        text-align: left;
        transition: all 0.3s;
        font-size: 1rem !important; /* Standard size: 16px */
    }
    
    .navbar-nav .nav-link:hover {
        background-color: rgba(0, 150, 199, 0.1);
        color: var(--primary-color) !important;
    }
    
    .navbar-nav .nav-link::after {
        display: none; /* Hide underline on mobile */
    }
    
    /* Let's Talk Button on Mobile */
    .navbar-collapse .d-flex {
        width: 100%;
        margin-top: 0.75rem;
        padding-top: 0.75rem;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .navbar-collapse .d-flex .btn-lets-talk {
        width: 100%;
        text-align: center;
        justify-content: center;
        display: flex;
        align-items: center;
    }
    
    /* Dropdown Menu on Mobile */
    .navbar-nav .dropdown-menu {
        position: static !important;
        float: none;
        width: 100%;
        margin-top: 0.5rem;
        margin-left: 0 !important;
        box-shadow: none;
        border: 1px solid rgba(0, 0, 0, 0.1);
        border-radius: 0.5rem;
        background-color: var(--bg-light);
        max-width: 100%;
        min-width: auto !important;
    }
    
    /* Reset multi-column on mobile */
    .navbar-nav > .nav-item > .dropdown-menu:has(> li:nth-child(6)),
    .navbar-nav > .nav-item > .dropdown-menu.multi-column-dropdown,
    .navbar-nav > .nav-item > .dropdown-menu:has(.dropdown-submenu) {
        min-width: auto !important;
        max-width: 100% !important;
        column-count: 1 !important;
        padding: 0.75rem 0 !important;
    }
    
    .navbar-nav .dropdown-item {
        padding: 1rem 1.5rem;
        border-left: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        font-size: 0.9375rem !important; /* Standard size: 15px */
    }
    
    .navbar-nav .dropdown-item:last-child {
        border-bottom: none;
    }
    
    .navbar-nav .dropdown-item:hover {
        padding-left: 1.5rem;
        border-left: none;
        background-color: rgba(0, 150, 199, 0.1);
    }
    
    .navbar-nav .nav-item.dropdown {
        width: 100%;
    }
    
    .navbar-nav .nav-link.dropdown-toggle {
        width: 100%;
        justify-content: space-between;
    }
    
    .dropdown-chevron {
        display: inline-block;
    }
    
    /* Mobile styles for collapsible submenu */
    .dropdown-submenu-list {
        padding-left: 1rem !important;
        margin-top: 0.25rem !important;
        /* Single column on mobile */
        column-count: 1 !important;
    }
    
    .dropdown-submenu-list .dropdown-item {
        padding: 0.75rem 0.875rem !important;
        font-size: 0.875rem !important; /* Standard size: 14px */
    }
}

@media (max-width: 576px) {
    .navbar .container {
        padding: 0.5rem 1rem;
    }
    
    .navbar-collapse {
        margin-top: 0.75rem;
        padding-top: 0.75rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.625rem 0.875rem !important;
        font-size: 0.95rem;
    }
    
    .navbar-nav .dropdown-menu {
        padding: 0.5rem 0;
        margin-top: 0.375rem;
    }
    
    .navbar-nav .dropdown-item {
        padding: 0.875rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .navbar-nav .dropdown-item i {
        font-size: 1rem;
    }
    
    .navbar-collapse .d-flex .btn-lets-talk {
        padding: 0.625rem 1.25rem;
        font-size: 0.95rem;
    }
}

/* Desktop: Dropdown positioning */
@media (min-width: 992px) {
    .navbar-nav .dropdown-menu {
        left: auto;
        right: 0;
    }
    
    .navbar-nav .dropdown-menu-lg-end {
        left: auto;
        right: 0;
    }
}

/* Tablet: Adjust dropdown widths */
@media (min-width: 768px) and (max-width: 991px) {
    .navbar-nav > .nav-item > .dropdown-menu:has(> li:nth-child(6)),
    .navbar-nav > .nav-item > .dropdown-menu.multi-column-dropdown,
    .navbar-nav > .nav-item > .dropdown-menu:has(.dropdown-submenu) {
        min-width: 400px !important;
        max-width: 550px !important;
    }
    
    .dropdown-submenu-list {
        column-gap: 1rem !important;
    }
}

.btn-outline-primary.rounded-pill {
    border-width: 2px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-outline-primary.rounded-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 150, 199, 0.3);
}

/* Let's Talk Button in Navbar */
.btn-lets-talk {
    background-color: #0082FB;
    border: 1px solid #0082FB;
    color: #ffffff;
    font-weight: 500;
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s;
    text-decoration: none;
}

.btn-lets-talk:hover {
    background-color: #0070d9;
    border-color: #0070d9;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 130, 251, 0.3);
}

/* Hero Section */
.hero-section {
    padding: 5rem 0;
    background-color: var(--bg-white) !important;
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.12) 1px, transparent 1px) !important;
    background-size: 80px 80px !important;
    position: relative;
    overflow: hidden;
}

.hero-section:not(.hero-section-has-image) {
    padding: 5rem 0;
}

.hero-section.hero-section-has-image {
    background-image: none !important;
    padding: 0 !important;
    position: relative;
}

.hero-section.hero-section-has-image::before {
    display: none;
}

.hero-section-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 150, 199, 0.02) 0%, rgba(10, 37, 64, 0.02) 100%);
    z-index: 0;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-section.hero-section-has-image .container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    z-index: 2;
}

.hero-section h1 {
    color: var(--text-dark);
    line-height: 1.2;
    font-size: 3rem;
}

.expertise-tag .badge {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.hero-features {
    font-size: 1.1rem;
}

.hero-features i {
    font-size: 1.25rem;
}

/* Floating Contact Buttons (Fixed at Bottom Left) */
.floating-contact-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.25rem;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.contact-icon:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    color: #ffffff;
}

.whatsapp-icon {
    background-color: #25D366;
}

.email-icon {
    background-color: #EA4335;
}

.phone-icon {
    background-color: #6c757d;
}

.hero-image-wrapper {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 1rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* Responsive Floating Buttons */
@media (max-width: 991px) {
    .floating-contact-buttons {
        bottom: 15px;
        left: 15px;
    }
    
    .contact-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .hero-content {
        padding-left: 0 !important;
        text-align: center;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    
    .navbar .container {
        border-radius: 25px;
        padding: 0.5rem 1rem;
        width: calc(100% - 20px);
        max-width: calc(100% - 20px);
        margin: 0 auto;
        box-sizing: border-box;
    }
    
    .navbar {
        padding: 0.5rem 0;
    }
    
    .logo-text {
        font-size: 1.25rem;
    }
    
    .logo-reg {
        font-size: 0.6rem;
    }
    
    .navbar-logo {
        max-height: 80px !important;
        height: 80px !important;
    }
    
    .floating-contact-buttons {
        bottom: 10px;
        left: 10px;
        gap: 10px;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* Trusted Brands Section */
.trusted-brands {
    padding: 3rem 0;
    background-color: var(--bg-white) !important;
    background-image: none !important;
    position: relative;
}

.brand-carousel-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
    max-width: 100%;
    padding: 2rem 0;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    box-sizing: border-box;
}

.brand-carousel-track {
    display: flex;
    align-items: center;
    gap: 3rem;
    animation: scroll-horizontal 30s linear infinite;
    width: fit-content;
    max-width: 100%;
    box-sizing: border-box;
}

.brand-logo-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    height: 100px;
}

.brand-logo-img {
    max-height: 80px;
    max-width: 150px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: filter 0.3s, opacity 0.3s, transform 0.3s;
}

.brand-logo-item:hover .brand-logo-img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

@keyframes scroll-horizontal {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Pause animation on hover */
.brand-carousel-wrapper:hover .brand-carousel-track {
    animation-play-state: paused;
}

/* Why Choose Section */
.why-choose {
    padding: 4rem 0;
    background-color: var(--bg-white) !important;
    background-image: none !important;
    position: relative;
}

/* Services Section */
.services-section {
    background-color: var(--dark-blue) !important;
    background-image: 
        linear-gradient(135deg, var(--dark-blue) 0%, var(--dark-blue-alt) 100%),
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px) !important;
    background-size: 100% 100%, 80px 80px, 80px 80px;
    padding: 4rem 0;
}

.service-card {
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    border-radius: 1.5rem !important;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

.service-icon {
    color: var(--primary-color);
}

.service-card .text-primary {
    color: var(--primary-color) !important;
}

/* Boosting Brand Section */
.boosting-brand {
    padding: 4rem 0;
    background-color: var(--bg-white) !important;
    background-image: none !important;
    position: relative;
}

/* Digital Solutions Section */
.digital-solutions {
    background-color: var(--dark-blue) !important;
    background-image: 
        linear-gradient(135deg, var(--dark-blue) 0%, var(--dark-blue-alt) 100%),
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px) !important;
    background-size: 100% 100%, 80px 80px, 80px 80px;
    padding: 4rem 0;
}

.stats-box {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Testimonials Section */
.testimonials {
    padding: 4rem 0;
    background-color: var(--bg-light) !important;
    background-image: none !important;
    position: relative;
}

.testimonial-bubbles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.bubble {
    position: absolute;
    max-width: 200px;
}

.bubble-1 {
    top: 10%;
    right: 10%;
}

.bubble-2 {
    bottom: 20%;
    left: 5%;
}

.social-stat-card {
    transition: transform 0.3s;
}

.social-stat-card:hover {
    transform: translateY(-5px);
}

/* Ready Transform Section */
.ready-transform {
    padding: 4rem 0;
    background-color: var(--bg-white) !important;
    background-image: none !important;
    position: relative;
}

.call-overlay {
    max-width: 300px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    background-color: var(--primary-color) !important;
}

/* Ready Dominate Section */
.ready-dominate {
    background-color: var(--dark-blue) !important;
    background-image: 
        linear-gradient(135deg, var(--dark-blue) 0%, var(--dark-blue-alt) 100%),
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px) !important;
    background-size: 100% 100%, 80px 80px, 80px 80px;
    padding: 4rem 0;
}

/* Blog Section */
.blog-section {
    padding: 4rem 0;
    background-color: var(--bg-white) !important;
    background-image: none !important;
    position: relative;
}

.blog-card {
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

.blog-card img {
    height: 250px;
    object-fit: cover;
}

/* Newsletter Section */
.newsletter {
    padding: 3rem 0;
    background-color: var(--bg-light) !important;
    background-image: none !important;
    position: relative;
}

.newsletter .form-control {
    border-radius: 0.375rem 0 0 0.375rem;
}

.newsletter .btn {
    border-radius: 0 0.375rem 0.375rem 0;
}

/* Footer */
.footer {
    background-color: var(--dark-blue) !important;
    background-image: 
        linear-gradient(135deg, var(--dark-blue) 0%, var(--dark-blue-alt) 100%),
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px) !important;
    background-size: 100% 100%, 80px 80px, 80px 80px;
    padding: 3rem 0 1.5rem;
}

.logo-mkr-footer {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
}

.logo-dimension-footer {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-light);
}

.social-icons a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s;
}

.social-icons a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.footer ul li {
    margin-bottom: 0.5rem;
}

.footer a:hover {
    color: #ffffff !important;
}

/* Button Styles */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 150, 199, 0.4);
}

.btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.5);
    color: #ffffff;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
    color: #ffffff;
}

/* Accordion Styles */
.accordion-button {
    font-weight: 600;
    color: var(--text-dark);
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-color);
    color: #ffffff;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 2rem;
    }
    
    .bubble {
        display: none;
    }
    
    .call-overlay {
        position: relative !important;
        margin: 1rem 0 !important;
    }
    
    .stats-box {
        margin-top: 1rem !important;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 2rem 0;
    }
    
    .btn-lg {
        padding: 0.5rem 1.5rem;
        font-size: 1rem;
    }
    
    .service-card,
    .blog-card {
        margin-bottom: 1.5rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

/* Prevent horizontal overflow from common elements */
table {
    width: 100%;
    max-width: 100%;
    table-layout: auto;
    word-wrap: break-word;
    box-sizing: border-box;
}

pre, code {
    max-width: 100%;
    overflow-x: auto;
    word-wrap: break-word;
    box-sizing: border-box;
}

iframe, video, embed, object {
    max-width: 100%;
    height: auto;
    box-sizing: border-box;
}

/* Ensure all sections are contained */
section, main, article, aside, header, footer, nav {
    max-width: 100%;
    box-sizing: border-box;
    width: 100%;
}

main {
    padding: 0;
}
.text-justify{
text-align: justify !important;
}
p{
	text-align: justify !important;
}
/* Ensure row and column classes don't overflow */
.row {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
}

/* Reduce row column padding and remove top margin (override Bootstrap gutter) */
.row > * {
    padding-right: 0.125rem;
    padding-left: 0.125rem;
    margin-top: 0;
}

[class*="col-"] {
    max-width: 100%;
    box-sizing: border-box;
}

/* Fix for any content that might overflow */
.container, .container-fluid, .container-sm, .container-md, .container-lg, .container-xl, .container-xxl {
    width: 100%;
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

@media (max-width: 575px) {
    .container, .container-fluid, .container-sm, .container-md, .container-lg, .container-xl, .container-xxl {
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* Section Spacing */
section {
    scroll-margin-top: 80px;
}
.sidebar_heading {
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    padding: 5px;
    color: grey;
    font-size: 15px;
}

/* Header h1 font size override - ensure 2.6rem takes effect (placed at end for maximum priority) */
header h1 {
    font-size: 2.6rem !important;
    text-transform: uppercase;
}

header.has-image h1 {
    font-size: 2.6rem !important;
    text-transform: uppercase;
}

/* Responsive header h1 sizes */
@media (max-width: 991px) {
    header h1,
    header.has-image h1 {
        font-size: 2.2rem !important;
    }
}

@media (max-width: 768px) {
    header h1,
    header.has-image h1 {
        font-size: 2rem !important;
    }
}

@media (max-width: 576px) {
    header h1,
    header.has-image h1 {
        font-size: 1.75rem !important;
    }
}
