:root {
    --primary-color: #414A35;
    --secondary-color: #FAF4C9;
    --background-color: #C1C5AA;
    --text-primary: #2C2E29;
    --text-secondary: #50534C;
    --border-color: #afafaf;
}

body {
    margin: 0;
    font-size: 16px;
    font-weight: 400;
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}
body.home-page header {
    background-color: transparent;
    position: fixed;
    width: 100%;
    z-index: 999;
}
.btn {
    font-size: 16px;
    font-weight: 400;
    border-radius: 6px;
    padding: 13px 24px;
}
.btn-primary {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-color: var(--primary-color);
}
.btn-outline {
    background-color: transparent;
    color: var(--secondary-color);
    border-color: var(--border-color);
}
.btn-outline > svg path {
    stroke: var(--secondary-color);
}
.btn-outline:hover > svg path {
    stroke: var(--primary-color);
}
.btn-outline:hover > svg path, .btn-outline:focus > svg path, .btn-outline:active > svg path {
    stroke: var(--primary-color);
}
.btn-outline:hover, .btn-outline:focus, .btn-outline:active {
    background-color: #fff !important;
    color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
    background-color: #fff;
    color: var(--primary-color);
    border-color: var(--primary-color);
}
.btn-primary:hover > svg path{
    stroke: var(--primary-color);
}
.btn-primary:hover .arrow {
    background-color: var(--primary-color);
}
.btn-primary:hover .arrow svg path{
    stroke: var(--secondary-color);
}
.btn-primary .arrow {
    background-color: var(--background-color);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-left: 5px;
}
.btn-secondary {
    background-color: #fff;
    color: var(--text-primary);
    border-color: var(--border-color);
}
.btn-secondary.s1 {
    background-color: var(--secondary-color);
}
.btn-secondary:hover, .btn-secondary:focus, .btn-secondary:active, .btn:first-child:active, :not(.btn-check)+.btn:active {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--secondary-color);
}
.btn-secondary:hover > svg path, .btn-secondary:focus > svg path {
    stroke: #fff;
}
.text-secondary {
    color: var(--secondary-color) !important;
}

/* header css 1 */
header {
    padding: 8px 0;
    transition: 0.3s ease;
}
.logo .logo-img {
    max-width: 171px;
}
.logo .logo-img.logo-white {
    display:none;
}

.header-right .btn {
    padding: 7px 17px;
}
body.home-page header.scrolled .logo .logo-img.logo-dark {
    display:block;
}
body.home-page header .logo .logo-img.logo-white{
    display:block;
}
body.home-page header .logo .logo-img.logo-dark{
    display:none;
}
body.home-page header.scrolled .logo .logo-img.logo-white{
    display:none;
}
body.home-page header .navbar .nav-item .nav-link{
    color: #fff;
}
body.home-page header .navbar .nav-item .nav-link svg path{
    stroke: #fff;
}
.wow {
    visibility: hidden;
}
header .navbar .nav-item .nav-link {
    padding: 0 20px;    
}
/* ---------- Dropdown Smooth Hover Animation ---------- */
.dropdown-item.active, .dropdown-item:active {
    background-color: var(--primary-color);
}
.nav-item.dropdown .dropdown-menu {
    display: block;              /* keep structure for animation */
    visibility: hidden;
    opacity: 0;
    transform: translateY(10px); /* slide down effect */
    transition: all 0.25s ease;
    pointer-events: none; 
    font-size: 14px;       /* disable interaction when hidden */
}
.nav-item.dropdown .dropdown-menu .dropdown-item {
    padding: 10px;
}

/* Show on hover */
.nav-item.dropdown:hover .dropdown-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;        /* enable interaction when visible */
}

/* Optional: remove Bootstrap arrow */
.navbar .dropdown-toggle::after {
    display: none;
}
.navbar-toggler:focus {
    box-shadow: none;
}
body.home-page header.scrolled .navbar .nav-item .nav-link {
    color: var(--text-primary);
}
body.home-page header.scrolled .navbar .nav-item .nav-link svg path {
    stroke: var(--text-primary);
}
header.scrolled .navbar-toggler span, body.home-page header.scrolled .navbar-toggler span {
    background: var(--text-primary);
}
body.home-page .navbar-toggler span {
    background:#fff;
}
.site-header.scrolled {
    background-color: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    z-index: 999;
}
.navbar-toggler {
    display: block;
    width: 40px;
    height: 40px;
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    border-radius: 6px;
    transition: background 0.18s;
    z-index: 1200;
    flex-shrink: 0;
}
.navbar-toggler span {
    display: block;
    position: absolute;
    left: 8px;
    width: 24px;
    height: 2.5px;
    background: var(--primary-color);
    border-radius: 2px;
    transform-origin: center;
    transition: transform 0.35s cubic-bezier(.77, 0, .18, 1), opacity 0.25s ease, top 0.3s ease;
}
/* Hamburger — default / menu closed */
.navbar-toggler span:nth-child(1) {
    top: 11.25px;
    transform: none;
}
.navbar-toggler span:nth-child(2) {
    top: 18.75px;
    opacity: 1;
    transform: none;
}
.navbar-toggler span:nth-child(3) {
    top: 26.25px;
    transform: none;
}
/* Cross (X) — menu open (Bootstrap removes .collapsed) */
.navbar-toggler:not(.collapsed) span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}
.navbar-toggler:not(.collapsed) span:nth-child(2) {
    top: 50%;
    opacity: 0;
    transform: translateY(-50%);
}
.navbar-toggler:not(.collapsed) span:nth-child(3) {
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
}

.breacrumb {
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
}
.breacrumb .breadcrumb-item {
    font-size: 12px;
    line-height: 18px;
}
.breacrumb .breadcrumb-item a {
    color: #fff;
    text-decoration: none;
}
/* banner  */
.banner-content .trusted {
    background-color: rgba(255, 255, 255, 0.1);
    line-height: 30px;
    border-radius: 6px;
    padding: 0 5px;
    font-size: 14px;
    display: inline-block;
}
.banner-content {
    padding-top: 130px;
    padding-bottom: 100px;
}
.banner-content h1 {
    font-size: 64px;
    font-weight: 500;
    line-height: 80px;
    margin: 20px 0 50px;
}
.home-banner {
    background-image: url('../images/home-banner.png');
    background-size: cover;
    background-position: center;
    color: var(--secondary-color);
    min-height: 100dvh;
    border-bottom-left-radius: 64px;
    border-bottom-right-radius: 64px;
    overflow: hidden;
    position: relative;
}
.home-banner::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    z-index: -1;
}
.shield-text {
    max-width: 240px;
    padding: 24px;
    background-color: #fff;
    border-radius: 16px;
    position: absolute;
    bottom: 50px;
    right: 0;
}
.shield-text p:first-child {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-primary);
    gap:10px;
}
.shield-text span.shield {
    background-color: #C1C5AA;
    width: 32px;
    height: 32px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}
.shield-text p:nth-child(2) {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 0;
}

.section-padding {
    padding: 80px 0;
}
.description {    
    color: var(--text-secondary);
}
.solution-section .description {
    margin-bottom: 60px;
    max-width: 580px;
    margin: 0 auto 40px;
    text-align: center;
}
.title {
    font-size: 40px;
    line-height: 60px;
    font-weight: 500;
    color: var(--text-primary);
}

/* card style */
.card-section {
    border-radius: 24px;
    padding: 24px;
    border: 1px solid #C1C5AA4D;
    margin-bottom: 15px;
}
.card-section .card-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #C1C5AA99;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}
.card-section .card-img img {
    max-width: 32px;
}
.card-section h3, .news-card-title, .blog-card-title, .career-card-title {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 30px;
    height: 50px;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Number of lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.card-section .card-text {
    margin-bottom: 30px;
    color: var(--text-secondary);
    display: -webkit-box;
    -webkit-line-clamp: 4; /* Number of lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.card-section .learn-more, .news-card-cta, .blog-card-cta, .career-card-cta {
    color: var(--text-primary);
    text-transform: capitalize;
    text-decoration: none;
    transition: all 0.3s ease;
}
.card-section .learn-more svg, .news-card-cta svg, .blog-card-cta svg, .career-card-cta svg {
    transition: margin-left 0.3s ease;
    margin-left: 5px;
}
.card-section .learn-more:hover, .news-card-cta:hover, .blog-card-cta:hover, .career-card-cta:hover {
    color: var(--primary-color);
    font-weight: 600;
}
.card-section .learn-more:hover svg, .news-card-cta:hover svg, .blog-card-cta:hover svg, .career-card-cta:hover svg {
    margin-left: 10px;
}
.card-section.style2 {
    border: none;
    color:#fff;
    padding: 24px 0 0;
    margin-bottom: 20px;
}
.card-section.style2 .card-img {
    width: 50px;
    height: 50px;
    background-color: #C1C5AA;
    margin-bottom: 30px;
}
.card-section.style2 .card-img img {
    max-width: 24px;
}
.card-section.style2 h3 {
    height: auto;
    color: #fff;
}
.card-section.style2 .card-text {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}
.card-section.style3 {
    background-image: url(../images/card-bg.png);
    background-size: cover;
    display: inline-flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}
.card-gap > [class^="col-"]:nth-child(-n + 4),
.card-gap > [class*=" col-"]:nth-child(-n + 4) {
    margin-bottom: 30px;
}
.card-section.style3 h3 {
    height: auto;
}
.card-section.style3 .card-img {
    background-color: transparent;
    width: auto;
    height: auto;
    margin-bottom: 30px;
}
.card-section.style3 > div {
    flex-grow: 1; 
}
.card-section.style4 {
    padding: 20px;
    background: #fff;
    transition: background 0.6s ease-in-out, background-image 0.6s ease-in-out;
    border-radius: 12px;
    margin-bottom: 0;
}
.card-section.style4:hover {
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    background: url(../images/card-hover-bg.png) no-repeat center;
    background-size: cover;
}
.card-section.style4 .card-img {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    border-radius: 6px;
}
.card-section.style4 .card-text {
    margin-bottom: 0;
}
.card-section.style4:hover .card-img {
    background-color: #fff;
}
.card-section.style4:hover .card-img img {
    filter: invert(1);
}
.card-section.style4:hover h3, .card-section.style4:hover .card-text {
    color: #fff;
}
.card-section.style4 h3 {
    font-weight: 600;
    line-height: 30px;
    height: auto;
    margin-bottom: 10px;
}

/* bussiness section css  */
.business-section {
    background-image: url("../images/bussiness-bg.png");
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    min-height: 450px;
    display: flex;
    align-items: center;
    position: relative;
}

.business-section .title, .business-section .description {
    color: #fff;
}
.business-img {
    max-width: 504px;
    margin-left: auto;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
}
.business-img .overlay {
    position: absolute;
    top: 80px;
    left: 0px;
    background-color: #C1C5AA;
    padding: 24px;
    font-size: 28px;
    font-weight: 400;
    max-width: 181px;
    color: var(--text-primary);
}
.business-img .overlay span {
    display: inline-block;
    margin-bottom: 5px;
    font-size: 40px;
    font-weight: 600;
    color: var(--primary-color);
}

/* Our Core Expertise css  */
.expertise-section .heading-section {
    flex: 1;
}

/* Meet Morax section css  */ 
.morax-bg {
    background-image: url("../images/bussiness-bg.png");
    background-size: cover;
    background-position: center;
    border-radius: 40px;
    padding: 70px;
    overflow: hidden;
}
.meet-morax-section .badge-text {
    color: #fff;
    background-color: #FAF4C966;
    border-radius: 6px;
    padding: 8px 30px;
    font-size: 14px;
    display: inline-block;
    margin-bottom: 20px;
}
.meet-morax-section .title span, 
.what-we-do-section .title span, 
.why-choose-us-section .title span, 
.compliance-section .title span,
.who-we-are-section .title span {
    color: #A5AD86;
}
.compliance-section .description {
    max-width: 520px;
    margin: 0 auto 40px;
    text-align: center;
}
.meet-morax-section .title, .testimonial-section .title {
    color: #fff;
    font-size: 56px;
    line-height: 70px;
    max-width: 530px;
    margin-bottom: 30px;
}
.testimonial-section .title {
    color: var(--text-primary);
    max-width: 100%;
}
.media-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}
.media-item {
    color: #fff;
    display: flex;
}
.media-item .media-img {
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    border-radius: 50%;
    background-color: #C1C5AA;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
}
.media-item h3 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 10px;
}
.media-item p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}
.morax-img {
    max-width: 510px;
    border-top-left-radius: 64px;
    overflow: hidden;
    position: absolute;
    right: -1px;
    bottom: 0;
}
 /* testimonial-section css  */
 .contact-box {
    background: var(--secondary-color);       /* light beige */
    padding: 60px 40px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    position: relative;
    bottom: -22px;
}

.contact-box h2 {
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 35px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 28px;
}

.contact-item .icon {
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    background-color: var(--background-color);
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}
.contact-item .icon img {
    max-width: 20px;
}

.contact-box .label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    margin: 0;
}

.contact-box .info {
    font-size: 20px;
    font-weight: 500;
    margin: 2px 0 0;
    color: var(--text-primary);
}

.contact-box .quote {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-secondary);
    font-style: italic;
    margin: 100px 0 30px;
    line-height: 1.5;
}
/* Label styling */
.custom-label {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Underlined input style */
.custom-input {
    border: none;
    border-bottom: 1px solid #BFBFBF;
    border-radius: 0;
    padding-left: 0;
    padding-bottom: 6px;
    font-size: 15px;
}
.custom-input::placeholder {
    color: #7D8179;
    font-weight: 300;
}

.custom-input:focus {
    box-shadow: none;
    border-bottom-color: #000;
}

/* footer css  */
footer {
    background-color: #F4F4F4;
    color: var(--text-secondarys);
    padding: 40px 0;
}
.footer-bottom {
    padding: 20px 0 0;
    border-top: 1px solid #dcdcdc;
}
footer .logo .logo-img{
    max-width: 170px;
    position: relative;
    right: 10px;
}
.footer-text {
    max-width: 350px;
    font-size: 14px;
    margin-top: 20px;
}
.footer-title {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 20px;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 14px;
}
.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    display: block;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}
.footer-links a:hover {
    color: var(--primary-color);
    margin-left: 5px;
}


/* about page css  */

.about-section {
    background-image: url('../images/about-banner.png');
    background-size: cover;
    background-position: center;
    color: #fff;
    min-height: 456px;
    display: flex;
    align-items: center;
    border-radius: 12px;
    margin: 0 15px;
}
.banner-title {
    font-size: 64px;
    font-weight: 500;
}
.banner-title span {
    color: var(--secondary-color);
}
.about-section .description {
    max-width: 800px;
    margin: 0 auto;
}
.services-banner-content {
    max-width: 670px;
    margin: 0 auto;
}
.about-img {
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}
.who-we-are-section {
    padding: 50px 0;
}
.support-section {
    background-image: url('../images/support-bg.png');
    background-size: cover;
    color: #fff;
    border-radius: 12px;
    padding: 50px;
    margin-top: 40px;
}
.what-we-do-section {
    background-color: #F2F4EB;
}
.what-we-do-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}
.what-we-do-grid .card-section.style4 {
    flex: 1 1 calc(25% - 20px);
    max-width: calc(25% - 20px);
}

/* our-approach-section  */
.our-approach-section .overlay-img {
    position: absolute;
    max-width: 100px;
    top: -50px;
    right: -10px;
}

/* why-choose-us-section  */
.why-choose-us-section {
    background-image: url('../images/Why-Choose-Our-Services.png');
    background-size: cover;
    background-position: center;
}
.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}
.why-choose-grid.s1 {
    grid-template-columns: repeat(2, 1fr);
}
.why-choose-content {
    background-color: #fff;
    border: 1px solid #DADADA;
    border-radius: 10px;
    padding: 14px;
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
    display: flex;
    gap: 10px;
    text-align: left;
}
.why-choose-grid.s1 .why-choose-content {
    align-items: center;
}
.why-choose-content .icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    background-color: var(--background-color);
    border-radius: 6px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}
.why-choose-content .icon img {
    max-width: 24px;
}
.export-support-section {
    background-color: var(--primary-color);
}
.support-content {
    height: 100%;    
    padding: 52px;
    background-image: url(../images/expertbg.png);
}
.support-content .title, .support-content .description {
    color: #fff;
}
.support-content .description {
    font-size: 18px;
}
.compliance-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}
.compliance-grid .card-section.style4 {
    flex: 1 1 calc(33.33% - 20px);
    max-width: calc(33.33% - 20px);
    background: url('../images/card-bg.png') no-repeat;
    background-size: cover;
     transition: all 0.4s ease-in-out;
}
.compliance-grid .card-section.style4:hover {
    background: var(--primary-color);
}
.compliance-grid .card-section.style4 .card-text {
     margin-bottom:20px;
}
.compliance-grid .card-section.style4 .learn-more {
    color: var(--primary-color);
    border-bottom: 1px solid var(--primary-color);
}
.compliance-grid .card-section.style4:hover .learn-more {
    color: #fff;
    border-color: #fff;
}
.compliance-grid .card-section.style4:hover .learn-more svg path {
    stroke: #fff;
}

/* process flow section css  */ 
.process-section {
    display: flex;
    flex-wrap: wrap;
}
.process-step {
    flex: 1;
}
.process-section .process-step:last-child {
    flex: 0 0 200px;
}
.step-image-wrapper {
    position: relative;
    width: 180px;
    height: 180px;
    margin: 0 auto;
    border: 2px dashed #9FB39C;
    border-radius: 50%;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.step-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.step-number {
    position: absolute;
    top: 8px;
    right: 0;
    background: var(--background-color);
    color: var(--text-primary);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 500;
    font-size: 12px;
}
.step-title {
    margin-top: 20px;
    font-size: 16px;
    font-weight: 500;
}

.step-desc {
    color: var(--text-secondary);
    font-size: 12px;
    margin: 0 10px;
}
.step-arrow {
    max-width: 100px;
    align-self: flex-start;
    position: relative;
    right: 20px;
    padding-top: 60px;
}
.support-section ul {
    margin: 0;
    padding: 0;
    
}
.support-section ul li {
    list-style: none;
    position: relative;
    padding-left: 24px;
    
}
.support-section ul li:not(:last-child) {
margin-bottom: 15px;
}
.support-section ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    width: 15px;
    height: 15px;
    background-image: url('../images/check-list.svg'); 
    background-size: contain;
    background-repeat: no-repeat;
}
.expert-overlay {
    text-align: left;
    padding: 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    position: absolute;
    margin: 0 auto;
    left: 30px;
    right: 30px;
    bottom: 20px;
}
.expert-overlay p {
    font-size: 12px;
    line-height: 20px;
    color: #646464;
}
.expert-overlay p.desc {
    font-size: 10px;
    line-height: normal;
}
.expert-overlay h3 {
    font-size: 24px;
    font-weight: 500;
    color: var(--primary-color);
}
.service-detail-content {
    background-image: url('../images/card-bg.png');
    background-size: cover;
    border-radius: 18px;
    border: 1px solid #DADADA;
    padding: 30px;
    text-align: center;
    margin-bottom: 30px;
}
.service-detail-content .service-icon {
    width: 60px;
    height: 60px;
    flex: 0 0 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border-radius: 10px;
    margin-bottom: 15px;
    background-color: #C1C5AA;
}
.service-detail-content .service-icon img{
    max-width: 30px;
}
.service-detail-content h3 {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 15px;
}
.service-detail-content .service-list {
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(48%, 1fr));
    text-align: left;
    max-width: 1050px;
    margin: 0 auto;
    gap:20px;
    background-position: 0 12%;

}
.service-detail-content .service-list li {
    padding-right: 15px;
}

/* contact us css */
.contact-us-section {
    max-width: 1000px;
    margin: 0 auto;
}
.contact-card {
        background: var(--primary-color);
        color: #fff;
        border-radius: 12px;
        padding: 25px;
    }
    .contact-card h5, .office-hours h5 {
        font-size: 18px;
    }
    .contact-card .icon-box {
        width: 36px;
        height: 36px;
        flex: 0 0 36px;
        background: #C1C5AA;
        border-radius: 6px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 12px;
    }
    .contact-card .info-text {
        line-height: 25px;
    }
    .office-hours {
        background: #F8F9FA;
        border-radius: 12px;
        padding: 25px;
        font-size: 14px;
        line-height: 20px;
        color: #646464;
    }
    .office-hours div:not(:first-child) {
        margin-bottom: 15px;
    }
    .office-hours p.small {
        font-size: 10px;
        margin-bottom: 0;
    }
    .office-hours .icon-box {
        width: 36px;
        height: 36px;
        background: var(--primary-color);
        border-radius: 6px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 12px;
    }
    .form-box {
        background: #fff;
        border: 1px solid #DADADA;
        border-radius: 12px;
        padding: 30px;
    }
    .form-box .form-label {
        font-size: 12px;
        line-height: 18px;
        font-weight: 500;
    }
    .form-box .form-control::placeholder,.form-box .form-check-label {
        font-size: 12px;
        color: #646464;
    }
    .form-box .form-control {
        background-color: #EAEAEA;
        font-size: 14px;
    }
    .form-box .btn-primary {
        font-size: 12px;
        line-height: 18px;
    }
    .form-box .form-select {
        background-color: #EAEAEA;
        font-size: 14px;
    }
    .form-box .career-form-file.form-control {
        padding: 0.35rem 0.65rem 0.35rem 0.35rem;
    }
    .form-box .career-form-file.form-control:focus {
        border-color: #DADADA;
        box-shadow: none;
        outline: none;
    }
    .form-box .career-form-file.form-control::file-selector-button {
        background-color: var(--primary-color);
        color: var(--secondary-color);
        border: none;
        outline: none;
        box-shadow: none;
        border-radius: 6px;
        padding: 0.5rem 1rem;
        margin-right: 14px;
        font-family: inherit;
        font-size: 13px;
        font-weight: 500;
        cursor: pointer;
        transition: background-color 0.2s ease, color 0.2s ease;
        -webkit-appearance: none;
        appearance: none;
    }
    .form-box .career-form-file.form-control:hover::file-selector-button {
        background-color: #363d2f;
        color: var(--secondary-color);
        outline: none;
        box-shadow: none;
    }
    .form-box .career-form-file.form-control:focus::file-selector-button {
        outline: none;
        box-shadow: none;
    }
    .form-box .career-form-file.form-control::-webkit-file-upload-button {
        background-color: var(--primary-color);
        color: var(--secondary-color);
        border: none;
        outline: none;
        box-shadow: none;
        border-radius: 6px;
        padding: 0.5rem 1rem;
        margin-right: 14px;
        font-family: inherit;
        font-size: 13px;
        font-weight: 500;
        cursor: pointer;
        transition: background-color 0.2s ease, color 0.2s ease;
        -webkit-appearance: none;
        appearance: none;
    }
    .form-box .career-form-file.form-control:hover::-webkit-file-upload-button {
        background-color: #363d2f;
        color: var(--secondary-color);
        outline: none;
        box-shadow: none;
    }
    .form-box .career-form-file.form-control:focus::-webkit-file-upload-button {
        outline: none;
        box-shadow: none;
    }
    .form-text {
        font-size: 10px;
    }
    .career-form-role strong {
        font-weight: 600;
        color: var(--text-primary);
    }
    ul.list-info {
        list-style: none;
        padding-left: 0;
        margin: 0;
    }
    ul.list-info li {
        display: flex;
        align-items: start;
        margin-bottom: 20px;
        color: #fff;
        font-size: 15px;
        font-weight: 500;
    }
    ul.list-info li:last-child {
        margin-bottom: 0;
    }
 /* gallery css  */
 .full-nav-tabs {
  display: block;
  width: 100%;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;
}
.full-nav-tabs .nav-item .nav-link.active, .full-nav-tabs .nav-item .nav-link:hover, .full-nav-tabs .nav-item .nav-link:focus {
    background-color: var(--primary-color);
    color: #fff;
}

.full-nav-tabs .nav-item {
  width: 100%;
  border-bottom: 1px solid var(--border-color);
}
.full-nav-tabs .nav-item:last-child {
    border-bottom: none;
}
.full-nav-tabs .nav-item .nav-link {
    border:none;
    width: 100%;
    text-align: left;
    border-radius: 0;
    text-transform: capitalize;
    color: var(--text-primary);
}

 .gallery-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: stretch;
    justify-content: flex-start;
 }
  .gallery-list .gallery-item,
  .gallery-list .news-card,
  .gallery-list .blog-card,
  .gallery-list .career-card {
        /* (100% - sum of gaps between N columns) / N — 3 cols → 2 gaps */
        flex: 1 1 calc((100% - 40px) / 3);
        max-width: calc((100% - 40px) / 3);
        min-width: 0;
  }
  .gallery-list .gallery-item {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.gallery-list .gallery-item:hover {
    box-shadow: 0 8px 24px rgba(44, 46, 41, 0.08);
    border-color: var(--primary-color);
}
.gallery-item-thumb {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--secondary-color, #f5f5f0);
}
.gallery-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}
.gallery-list .gallery-item:hover .gallery-item-thumb img {
    transform: scale(1.04);
}
.gallery-item-title {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    margin: 0;
    padding: 10px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    color: #fff;
    background: rgba(44, 46, 41, 0.3);
    pointer-events: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: background 0.3s ease;
}
.gallery-list .gallery-item:hover .gallery-item-title {
    background: rgba(44, 46, 41, 0.8);
}

/* news & events / blog / careers cards (same grid as gallery) */
.gallery-list .news-card,
.gallery-list .blog-card,
.gallery-list .career-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.gallery-list .news-card:hover,
.gallery-list .blog-card:hover,
.gallery-list .career-card:hover {
    box-shadow: 0 8px 24px rgba(44, 46, 41, 0.08);
    border-color: var(--primary-color);
}
.news-card-img,
.blog-card-img {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--secondary-color, #f5f5f0);
}
.news-card-img img,
.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.gallery-list .news-card:hover .news-card-img img,
.gallery-list .blog-card:hover .blog-card-img img {
    transform: scale(1.04);
}
.news-card-body,
.blog-card-body,
.career-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.career-card-accent {
    height: 6px;
    flex-shrink: 0;
    background: linear-gradient(90deg, var(--primary-color), var(--background-color));
}
.career-card-sub {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0 0 8px;
    line-height: 1.45;
}
.career-card-posted {
    font-size: 12px;
    color: var(--text-secondary);
    margin: 0 0 12px;
    line-height: 1.4;
}
.career-card-posted strong {
    font-weight: 600;
    color: var(--text-primary);
}
.news-card-meta,
.blog-card-meta,
.career-card-meta {
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--primary-color);
    margin-bottom: 8px;
}
.blog-card-author {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0 0 10px;
}
.blog-card-author strong {
    color: var(--text-primary);
    font-weight: 600;
}
.news-card-title,
.blog-card-title,
.career-card-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--text-primary);
    margin: 0 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-card-excerpt,
.blog-card-excerpt,
.career-card-excerpt {
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-secondary);
    margin: 0 0 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.gallery-list .news-card:hover .news-card-cta,
.gallery-list .blog-card:hover .blog-card-cta,
.gallery-list .career-card:hover .career-card-cta {
    color: var(--primary-color);
}

/* news & event detail */

.news-detail-sidebar-title {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-primary);
    margin: 0 0 14px;
    padding: 0 2px;
}
.news-detail-category-nav .nav-link {
    text-decoration: none;
}
.news-detail-category-nav .nav-link.active {
    pointer-events: none;
}
.go-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    text-decoration: none;
    margin-bottom: 20px;
    transition: color 0.2s ease;
}
.go-back:hover {
    color: var(--primary-color);
}
.news-detail-article {
    max-width: 100%;
}
.news-detail-title {
    font-size: clamp(22px, 4vw, 40px);
    font-weight: 600;
    line-height: 1.25;
    color: var(--text-primary);
    margin: 0 0 20px;
}
.news-detail-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 16px 24px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}
.news-detail-thumbnail {
    flex-shrink: 0;
    width: 96px;
    height: 96px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: var(--secondary-color);
}
.news-detail-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.news-detail-meta-text {
    flex: 1;
}
.news-detail-date {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0 0 8px;
}
.news-detail-category-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--primary-color);
    padding: 6px 12px;
    background: rgba(65, 74, 53, 0.08);
    border-radius: 6px;
}
.news-detail-header-img {
    margin: 0 0 28px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: var(--secondary-color);
}
.news-detail-header-img img {
    width: 100%;
    display: block;
    object-fit: cover;
    max-height: 420px;
}
.news-detail-body {
    line-height: 1.75;
    color: var(--text-secondary);
}
.news-detail-body a {
    color: var(--primary-color);
    font-weight: 500;
}
.news-detail-body p {
    margin-bottom: 1.25rem;
}
.news-detail-body p:last-child {
    margin-bottom: 0;
}
.news-detail-inline-img {
    margin: 28px 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: var(--secondary-color);
}
.news-detail-inline-img img {
    width: 100%;
    display: block;
    object-fit: cover;
}
.news-detail-inline-img figcaption {
    font-size: 13px;
    color: var(--text-secondary);
    padding: 12px 16px;
    margin: 0;
    background: #fff;
}

.news-detail-byline {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0 0 8px;
}
.news-detail-byline strong {
    color: var(--text-primary);
    font-weight: 600;
}

.blog-author-card {
    margin-top: 40px;
    padding: 24px 26px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: #fff;
}
.blog-author-card-title {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--primary-color);
    margin: 0 0 14px;
}
.blog-author-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 10px;
}
.blog-author-desc {
    font-size: 14px;
    line-height: 1.65;
    color: var(--text-secondary);
    margin: 0;
}

/* career job detail */
.career-detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 10px;
    margin-bottom: 20px;
}
.career-detail-tag {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 6px 12px;
    border-radius: 6px;
    background: rgba(65, 74, 53, 0.08);
    color: var(--primary-color);
}
.career-detail-tag--muted {
    background: #f4f4f0;
    color: var(--text-secondary);
    text-transform: none;
    font-weight: 500;
    letter-spacing: 0;
}
.career-detail-summary {
    font-size: 17px;
    line-height: 1.65;
    color: var(--text-secondary);
    margin-bottom: 28px;
}
.career-detail-block {
    margin-bottom: 28px;
}
.career-detail-block:last-of-type {
    margin-bottom: 0;
}
.career-detail-heading {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 14px;
}
.career-detail-list {
    margin: 0;
    padding-left: 0;
    color: var(--text-secondary);
    line-height: 1.7;
    list-style: none;
}
.career-detail-list li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}
.career-detail-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    font-size: 12px;
    background-image: url('../images/check-circle.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    width: 12px;
    height: 12px;
}
.career-detail-list li:last-child {
    margin-bottom: 0;
}
.career-apply-box {
    margin-top: 36px;
    padding: 24px 26px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: var(--secondary-color);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.career-apply-box p {
    margin: 0;
    font-size: 15px;
    color: var(--text-primary);
    font-weight: 500;
    max-width: 420px;
}
.career-apply-box .btn-primary {
    flex-shrink: 0;
}


/* ========== MORAX product page (home / about patterns; not service-detail) ========== */
.meet-morax-section .morax-hero-breadcrumb {
    justify-content: flex-start;
    flex-wrap: wrap;
}
.meet-morax-section .morax-hero-breadcrumb .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.65);
}
.meet-morax-section h1.title {
    font-size: clamp(32px, 4vw, 56px);
    line-height: 1.15;
    max-width: 100%;
}
.morax-hero-intro {
    color: rgba(255, 255, 255, 0.88);
    font-size: 15px;
    line-height: 1.65;
    max-width: 640px;
}
.morax-module-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
@media (max-width: 991px) {
    .morax-module-grid {
        grid-template-columns: 1fr;
    }
}
.morax-module-card {
    background: #fff;
    border: 1px solid rgba(44, 46, 41, 0.12);
    border-radius: 16px;
    padding: 28px 30px;
    height: 100%;
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.morax-module-card:hover {
    box-shadow: 0 12px 28px rgba(44, 46, 41, 0.08);
    border-color: rgba(119, 143, 103, 0.35);
}
.morax-module-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 14px;
    color: var(--text-primary);
}
.morax-module-list {
    margin: 0;
    padding-left: 1.15rem;
    font-size: 14px;
    line-height: 1.55;
    color: var(--text-secondary);
}
.morax-module-list > li + li {
    margin-top: 8px;
}
.morax-sub-list {
    margin: 8px 0 0;
    padding-left: 1.1rem;
    list-style: disc;
}
.morax-sub-list li + li {
    margin-top: 4px;
}
@media (min-width: 992px) {
    .morax-module-card-wide {
        grid-column: 1 / -1;
    }
}

.morax-clients-section {
    position: relative;
    overflow: hidden;
}
.morax-clients-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse 70% 50% at 12% 18%, rgba(65, 74, 53, 0.07) 0%, transparent 55%),
        radial-gradient(ellipse 60% 45% at 88% 82%, rgba(65, 74, 53, 0.06) 0%, transparent 50%);
    pointer-events: none;
}
.morax-clients-section .container-lg {
    position: relative;
    z-index: 1;
}

/* Client logo wall — card grid */
.morax-client-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 14px 16px;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}
@media (max-width: 575px) {
    .morax-client-grid {
        grid-template-columns: 1fr;
    }
}
.morax-client-item {
    list-style: none;
}
.morax-client-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 58px;
    padding: 14px 16px 14px 20px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(44, 46, 41, 0.09);
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(44, 46, 41, 0.05), 0 1px 0 rgba(255, 255, 255, 0.8) inset;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease, color 0.22s ease;
    overflow: hidden;
}
.morax-client-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    border-radius: 14px 0 0 14px;
    background: linear-gradient(180deg, var(--primary-color) 0%, #5c6848 55%, #778f67 100%);
    opacity: 0.9;
    transition: width 0.22s ease, opacity 0.22s ease;
}
.morax-client-card::after {
    content: "↗";
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-left: 4px;
    border-radius: 10px;
    font-size: 15px;
    line-height: 1;
    font-weight: 400;
    color: var(--primary-color);
    background: rgba(65, 74, 53, 0.09);
    transition: background 0.22s ease, color 0.22s ease, transform 0.22s ease, opacity 0.22s ease;
    opacity: 0.75;
}
.morax-client-card-label {
    flex: 1;
    min-width: 0;
}
.morax-client-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 36px rgba(44, 46, 41, 0.12), 0 1px 0 rgba(255, 255, 255, 1) inset;
    border-color: rgba(65, 74, 53, 0.22);
    background: #fff;
    color: var(--text-primary);
}
.morax-client-card:hover::before {
    width: 5px;
    opacity: 1;
}
.morax-client-card:hover::after {
    background: var(--primary-color);
    color: var(--secondary-color);
    opacity: 1;
}
.morax-client-card:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 3px;
}

.logo-slider {
      overflow: hidden;
      padding: 40px 0;
      background: #f8f9fa;
    }

    .logo-track {
      display: flex;
      align-items: center;
      width: calc(250px * 12);
      animation: scroll 25s linear infinite;
    }

    .logo-track:hover {
      animation-play-state: paused;
    }

    .logo-item {
      width: 250px;
      flex-shrink: 0;
      padding: 15px;
    }

    .client-card {
      background: #fff;
      border-radius: 12px;
      padding: 20px;
      text-align: center;
      box-shadow: 0 4px 12px rgba(0,0,0,0.08);
      transition: 0.3s;
      height: 100%;
    }

    .client-card:hover {
      transform: translateY(-5px);
    }

    .client-card a {
      text-decoration: none;
      color: inherit;
    }

    .client-card img {
      width: 100%;
      height: 80px;
      object-fit: contain;
      margin-bottom: 15px;
      filter: grayscale(0%);
      transition: 0.3s;
    }

    .client-card:hover img {
      filter: grayscale(100%);
    }

    .client-name {
      font-size: 18px;
      font-weight: 600;
      margin-bottom: 5px;
      color: #222;
    }

    .client-tag {
      font-size: 14px;
      color: #777;
    }

    @keyframes scroll {
      0% {
        transform: translateX(0);
      }
      100% {
        transform: translateX(-50%);
      }
    }

    @media (max-width: 768px) {
      .logo-item {
        width: 200px;
      }

      .logo-track {
        width: calc(200px * 12);
      }
    }

@media screen and (max-width:1399.5px) {
    .morax-bg {
        padding: 50px;
    }
    .morax-img {
        max-width: 440px;
    }
    .meet-morax-section .title, .testimonial-section .title, .banner-title {
        font-size: 40px;
        line-height: 55px;
    }
    .contact-box .quote {
        margin: 50px 0 0;
    }
    .step-arrow {
        max-width: 70px;
        right: 0;
    }
}
@media screen and (max-width:1199.5px) {
    .banner-content {
        padding-top: 120px;
        padding-bottom: 80px;
    }
    .banner-content h1 {
        font-size: 48px;
        line-height: 60px;
        margin: 0px 0 20px;
    }
    .morax-bg {
        padding: 30px;
    }
    .morax-img {
        position: static;
        max-width: 100%;
        max-height: 500px;
        border-radius: 20px;
    }
    .contact-box {
        padding: 30px;
        position: static;
        border-radius: 20px;
    }
    .contact-box h2 {
        font-size: 28px;
        margin-bottom: 25px;
    }
    .contact-box .label {
        font-size: 12px;
    }
    .contact-box .info {
        font-size: 16px;
    }
    .what-we-do-grid .card-section.style4 {
        flex: 1 1 calc(33.33% - 20px);
        max-width: calc(33.33% - 20px);
    }
    .step-image-wrapper {
        width: 150px;
        height: 150px;
        padding: 5px;
    }
    header .navbar .nav-item .nav-link {
        padding: 0 12px;
    }
}

@media screen and (max-width:991px) {
    .mobile-nav {
        order: 1;
        position: static;
    }
    .mobile-nav .navbar {
        justify-content: flex-end;
    }
    .shield-text {
        right: 20px;
    }
    .navbar-collapse {
        position: fixed;
        top: 73px;
        right: -240px;
        bottom: 0;
        height: calc(100vh - 73px);
        max-width: 240px;
        overflow-x: auto;
        background: var(--primary-color);
        z-index: 99;
        padding: 15px 0;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        /* Slide only on X — do not use transition: all (Bootstrap height animation fights this) */
        transition: right 0.3s ease-in-out;
    }
    .navbar-collapse.show {
        right: 0;
    }
    /* Bootstrap .collapsing animates height by default; disable so the drawer only slides in */
    .navbar-collapse.collapsing {
        height: calc(100vh - 73px) !important;
        min-height: calc(100vh - 73px);
        transition: right 0.3s ease-in-out !important;
        overflow-x: auto !important;
        overflow-y: auto !important;
    }
    /* No page scroll behind drawer while menu is open or animating */
    html:has(.navbar-collapse.show, .navbar-collapse.collapsing),
    body:has(.navbar-collapse.show, .navbar-collapse.collapsing) {
        overflow: hidden;
        height: 100%;
        overscroll-behavior: none;
    }
    header .navbar .nav-item .nav-link {
        padding: 10px 0px;
        color: #fff;
    }
    .nav-item.dropdown .dropdown-menu .dropdown-item {
        color: #fff;
    }
    header .navbar .nav-item .nav-link svg path {
        stroke: #fff;
    }
    .nav-item.dropdown .dropdown-menu {
        visibility: visible;
        opacity: 1;
        background: transparent;
        border: 0;
        margin-bottom: 10px;
        padding-top: 0;
    }
    header.scrolled .navbar .nav-item .nav-link,
    body.home-page header.scrolled .navbar .nav-item .nav-link {
        color: #fff;
    }
    body.home-page header.scrolled .navbar .nav-item .nav-link svg path {
        stroke: #fff;
    }
    .navbar {
        position: relative;
    }
    .section-padding {
        padding: 50px 0;
    }
    .business-img {
        max-width: 100%;
        max-height: 400px;
        margin-left: 0;
        margin-top: 30px;
    }
    .morax-bg {
        border-radius: 0;
        padding: 50px 15px;
    }
    .meet-morax-section {
        padding: 0;
    }
    .testimonial-section {
        padding: 50px 0;
    }
    .contact-item {
        margin-bottom: 20px;
    }
    .card-gap > [class^="col-"]:nth-child(5),
    .card-gap > [class^="col-"]:nth-child(6),
    .card-gap > [class*=" col-"]:nth-child(5),
    .card-gap > [class*=" col-"]:nth-child(6) {
        margin-bottom: 30px;
    }
    .about-img {
        height: 500px;
        margin: 0 auto 20px;
    }
    .card-section h3, .news-card-title, .blog-card-title, .career-card-title {
        margin-bottom: 15px;
    }
    .our-approach-section .overlay-img {
        top: -50px;
        right: 5px;
    }
    .process-step {
        flex-direction: column;      /* Stack vertically */
        text-align: center;
        gap: 20px;
    }

    .step-arrow {
        display: none !important;    /* Hide arrows on small screens */
    }

    .step-content {
        width: 100%;
    }

    .step-image-wrapper {
        width: 150px;
        height: 150px;
    }

    .step-title {
        margin-top: 15px;
        font-size: 15px;
    }

    .step-desc {
        font-size: 13px;
        max-width: 260px;
        margin: 0 auto;
    }
    .process-section .process-step:last-child, .process-section .process-step {
        flex: 1 1 calc(25% - 20px);
    }
    .step-number {
        top:0;
        right: -5px;
    }
    .expert-overlay {
        position: static;
        background-color: var(--secondary-color);
        border: 1px solid var(--border-color);
        margin-bottom: 20px;
    }
    .gallery-list .gallery-item,
    .gallery-list .news-card,
    .gallery-list .blog-card,
    .gallery-list .career-card {
        flex: 1 1 calc((100% - 20px) / 2);
        max-width: calc((100% - 20px) / 2);
    }
}
@media screen and (max-width:767px) {
    body {
        font-size: 14px;
    }
    .btn, .header-right .btn {
        font-size: 13px;
        padding: 5px 8px;
    }
    .btn-primary .arrow {
        width: 20px;
        height: 20px;
    }
    .btn-primary .arrow svg {
        width: 10px;
        height: 10px;
    }
    .logo .logo-img{
        max-width: 140px;
    }
    .banner-content {
        padding-top: 80px;
        padding-bottom: 20px;
    }
    .shield-text {
        position: static;
        margin-bottom: 40px;
    }
    .title, .meet-morax-section .title, .testimonial-section .title, .banner-title {
        font-size: 32px;
        line-height: 40px;
    }
    .contact-box {
        padding: 20px;
    }
    .about-section {
        min-height: auto;
        padding: 50px 15px;
    }
    .about-img {
        height: 300px;
        margin-bottom: 20px;
    }
    .support-section {
        padding: 30px;
        margin-top: 20px;
    }
    .what-we-do-grid .card-section.style4 {
        flex: 1 1 calc(50% - 20px);
        max-width: calc(50% - 20px);
    }
    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .support-content {
        padding: 40px 15px;
    }
    .process-section {
        gap:20px;
        align-items: center;
        justify-content: center;
    }
    .process-section .process-step:last-child, .process-section .process-step {
        flex: 1 1 calc(50% - 20px);
    }
    .navbar-collapse {
        top: 62px;
        height: calc(100vh - 62px);
    }
    .navbar-collapse.collapsing {
        height: calc(100vh - 62px) !important;
        min-height: calc(100vh - 62px);
    }
    .footer-links {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease;
    }

    .footer-title {
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        padding: 15px 0;
        border-top: 1px solid #dcdcdc;
        margin-bottom: 0px;
        font-size: 16px;
    }

    .toggle-icon {
        font-size: 20px;
        transition: 0.3s ease;
    }

    .footer-title.active .toggle-icon {
        transform: rotate(-90deg);
    }
    .footer-links a {
        margin: 10px 0;
    }
    .tabs-toggle {
        width: 100%;
        padding: 12px 15px;
        background: #fff;
        border: 1px solid var(--border-color);
        text-align: left;
        font-size: 16px;
        cursor: pointer;
        position: relative;
        border-radius: 6px;
    }
    .tabs-toggle .arrow {
        float: right;
        transition: transform 0.3s ease;
    }
    .tabs-toggle.open {
        border-bottom-left-radius:0px;
        border-bottom-right-radius:0px;
    }

    .tabs-toggle.open .arrow {
        transform: rotate(180deg);
    }
    .full-nav-tabs {
        opacity: 0;
        overflow: hidden;
        max-height: 0; /* hidden initially */
        transition: max-height 0.35s ease; /* smooth slide */
        flex-direction: column;
        background-color: #fff;
        border-radius: 6px;
        border-top: none;
        border-top-left-radius:0;
        border-top-right-radius:0;
        
    }
    .full-nav-tabs.show {
        max-height: 500px;
        opacity: 1;
    }
    .full-nav-tabs .nav-link {
        width: 100%;
        text-align: left;
        border: 1px solid var(--border-color);       
    }
    .full-nav-tabs li:last-child .nav-link {
        border: none;
    }
    .gallery-list {
        gap: 15px;
    }
    .gallery-list .gallery-item,
    .gallery-list .news-card,
    .gallery-list .blog-card,
    .gallery-list .career-card {
        flex: 1 1 calc((100% - 15px) / 2);
        max-width: calc((100% - 15px) / 2);
    }
    .blog-author-card {
        padding: 15px;
        margin-top: 20px;
    }
    .blog-author-card-title {
        margin-bottom: 10px;
    }
    .news-detail-body p {
        margin-bottom: 10px;
    }
    .form-box {
        padding: 15px;
    }
    .compliance-grid .card-section.style4 {
        flex: 1 1 calc(50% - 15px);
        max-width: calc(50% - 15px);
    }
    .compliance-grid {
        gap: 15px;
    }
}
@media screen and (max-width:575px) {
    .banner-content h1 {
        font-size: 32px;
        line-height: 40px;
        margin: 0px 0 20px;
    }
    .card-section h3, .news-card-title, .blog-card-title, .career-card-title {
        height: auto;
        font-size: 18px;
        margin-bottom: 10px;
    }
    .card-section .card-text {
        margin-bottom: 20px;
    }
    .business-img .overlay {
        top: 50px;
        padding: 16px;
        font-size: 24px;
        max-width: 140px;
    }
     .business-img .overlay span {
        font-size: 28px;
    }
    .card-section, .news-card-body, .blog-card-body, .career-card-body {
        padding: 15px;
    }
    .card-section.style2 {
        border-bottom: 1px solid #C1C5AA4D;
        border-radius: 0;
         padding: 20px 0;
         margin-bottom: 0;
    }
    .business-section [class^="col-"]:last-child .card-section.style2 {
        border-bottom: none;
    }
    .card-section.style3 .card-img {
        margin-bottom: 15px;
    }
    .card-gap > [class^="col-"], .card-gap > [class*=" col-"] {
        margin-bottom: 15px !important;
    }
    .card-section.style3 .card-text {
        margin-bottom: 0;
    }
    .media-item h3 {
        font-size: 18px;
    }
    .media-section {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .media-item {
        padding-bottom: 15px;
        border-bottom: 1px solid #C1C5AA4D;
    }
    .media-section .media-item:last-child {
        border-bottom: none;
    }

     
    .why-choose-grid, .why-choose-grid.s1 {
        grid-template-columns: repeat(1, 1fr);
        gap:15px;
    }
    .why-choose-content{
        align-items: center;
    }

    .step-image-wrapper {
        width: 130px;
        height: 130px;
    }

    .step-number {
        width: 30px;
        height: 30px;
        font-size: 11px;
    }

    .step-desc {
        font-size: 12px;
    }
    .title, .meet-morax-section .title, .testimonial-section .title, .banner-title {
        font-size: 26px;
    }
    .expert-overlay > img {
        display: none;
    }
    .expert-overlay h3, .service-detail-content h3 {
        font-size: 18px;
    }
    .service-detail-content {
        margin-bottom: 15px;
    }
    .service-detail-content .service-list {
        grid-template-columns:1fr;        
    }
    .service-detail-content .service-icon {
        width: 40px;
        height: 40px;
        border-radius: 6px;
    }
    .service-detail-content .service-icon img {
        max-width: 20px;
    }
    .news-detail-thumbnail {
        width: 70px;
        height: 70px;
    }
    .news-detail-date {
        font-size: 12px;
        margin-bottom: 0;
    }
    .news-detail-category-badge {
        font-size: 10px;
        padding: 4px 8px;
    }
    .card-section.style4 {
        padding:15px;
    }
    .compliance-grid .card-section.style4 {
        flex: 1 1 100%;
        max-width: 100%;
    }
}
@media screen and (max-width:475px){
    .header-right {
        text-align: left;
    }
    .gallery-list .gallery-item, .gallery-list .news-card, .gallery-list .blog-card, .gallery-list .career-card {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .navbar-collapse {
        max-width: 100%;
        left: 0;
    }
}