/*******************************/
/********* General CSS *********/
/*******************************/
body {
    color: #797979;
    background: #ffffff;
    font-family: 'Open Sans', sans-serif;
}

h1,
h2, 
h3, 
h4,
h5, 
h6 {
    color: #1d2434;
}

a {
    color: #454545;
    transition: .3s;
}

a:hover,
a:active,
a:focus {
    color: #D5B981;
    outline: none;
    text-decoration: none;
}

.btn:focus,
.form-control:focus {
    box-shadow: none;
}

.container-fluid {
    max-width: 1366px;
}

.back-to-top {
    position: fixed;
    display: none;
    background: #D5B981;
    width: 44px;
    height: 44px;
    text-align: center;
    line-height: 1;
    font-size: 22px;
    right: 15px;
    bottom: 15px;
    transition: background 0.5s;
    z-index: 9;
}

.back-to-top:hover {
    background: #1d2434;
}

.back-to-top:hover i {
    color: #D5B981;
}

.back-to-top i {
    color: #1d2434;
    padding-top: 10px;
}


/**********************************/
/********** Top Bar CSS ***********/
/**********************************/
.top-bar {
    position: relative;
    height: 60px;
    background: #1d2434;
}

.top-bar .top-bar-left {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.top-bar .top-bar-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.top-bar .text {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: 60px;
    padding: 0 10px;
    text-align: center;
    border-left: 1px solid rgba(255, 255, 255, .15);
}

.top-bar .text:last-child {
    border-right: 1px solid rgba(255, 255, 255, .15);
}

.top-bar .text h2 {
    color: #eeeeee;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 1px;
    margin: 0;
}

.top-bar .text p {
    color: #eeeeee;
    font-size: 12px;
    font-weight: 400;
    margin: 0;
}

.top-bar .social {
    display: flex;
    height: 60px;
    font-size: 0;
    justify-content: flex-end;
}

.top-bar .social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 100%;
    font-size: 22px;
    color: #ffffff;
    border-right: 1px solid rgba(255, 255, 255, .15);
}

.top-bar .social a:first-child {
    border-left: 1px solid rgba(255, 255, 255, .15);
}

.top-bar .social a:hover {
    color: #D5B981;
    background: #ffffff;
}

@media (min-width: 992px) {
    .top-bar {
        padding: 0 60px;
    }
}


/**********************************/
/*********** Nav Bar CSS **********/
/**********************************/
.navbar {
    position: relative;
    transition: .5s;
    z-index: 999;
}

.navbar.nav-sticky {
    position: fixed;
    top: 0;
    width: 100%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .3);
}

.navbar .navbar-brand {
    margin: 0;
    color: #ffffff;
    font-size: 45px;
    line-height: 0px;
    font-weight: 600;
}

.navbar .navbar-brand span {
    font-weight: 800;
}

.navbar .navbar-brand img {
    max-width: 100%;
    max-height: 40px;
}

.navbar-dark .navbar-nav .nav-link,
.navbar-dark .navbar-nav .nav-link:focus,
.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    padding: 10px 10px 8px 10px;
    color: #ffffff;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    background: rgba(256, 256, 256, .1);
    transition: none;
}

.navbar .dropdown-menu {
    margin-top: 0;
    border: 0;
    border-radius: 0;
    background: #f8f9fa;
}

@media (min-width: 992px) {
    .navbar {
        position: absolute;
        width: 100%;
        top: 60px;
        padding: 20px 60px;
        background: rgba(0, 0, 0, .1) !important;
        z-index: 9;
    }
    
    .navbar.nav-sticky {
        padding: 10px 60px;
        background: #1d2434 !important;
    }
    
    .navbar a.nav-link {
        padding: 8px 15px;
        font-size: 14px;
        letter-spacing: 1px;
        text-transform: uppercase;
    }
}

@media (max-width: 991.98px) {   
    .navbar {
        padding: 15px;
        background: #1d2434 !important;
    }
    
    .navbar a.nav-link {
        padding: 5px;
    }
    
    .navbar .dropdown-menu {
        box-shadow: none;
    }
}


/*******************************/
/********** Hero CSS ***********/
/*******************************/
.hero {
    position: relative;
    width: 100%;
    margin-bottom: 45px;
    height: calc(100vh - 60px);
    background: #D5B981;
    overflow: hidden;
}

.hero .container-fluid {
    padding: 0;
}

.hero .hero-image {
    position: relative;
    text-align: right;
}

.hero .hero-image img {
    max-width: 80%;
    max-height: 80%;
}

.hero .hero-text {
    position: relative;
    padding-left: 75px;
    height: calc(100vh - 60px);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
}

.hero .hero-text h1 {
    color: #1d2434;
    font-size: 50px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero .hero-text p {
    color: #1d2434;
    font-size: 18px;
    margin-bottom: 25px;
}

.hero .hero-text .btn {
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #1d2434;
    background: none;
    border: 2px solid #1d2434;
    border-radius: 0;
    transition: .3s;
}

.hero .hero-text .btn:hover {
    color: #D5B981;
    background: #1d2434;
}

.hero .btn-play {
    position: absolute;
    z-index: 1;
    top: 80%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    box-sizing: content-box;
    display: block;
    width: 32px;
    height: 44px;
    border-radius: 50%;
    border: none;
    outline: none;
    padding: 18px 20px 18px 28px;
}

.hero .btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 80px;
    height: 80px;
    background: #1D2434;
    border-radius: 50%;
    animation: pulse-border 1500ms ease-out infinite;
}

.hero .btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 80px;
    height: 80px;
    background: #1D2434;
    border-radius: 50%;
    transition: all 200ms;
}

.hero .btn-play:hover:after {
    background-color: darken(#1D2434, 10%);
}

.hero .btn-play img {
    position: relative;
    z-index: 3;
    max-width: 100%;
    width: auto;
    height: auto;
}

.hero .btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    border-left: 32px solid #ffffff;
    border-top: 22px solid transparent;
    border-bottom: 22px solid transparent;
}

@keyframes pulse-border {
  0% {
    transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
    opacity: 0;
  }
}

#videoModal .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto;
}

#videoModal .modal-body {
    position: relative;
    padding: 0px;
}

#videoModal .close {
    position: absolute;
    right: 0px;
    top: -12px;
    z-index: 999;
    font-size: 50px;
    font-weight: normal;
    color: #ffffff;
    opacity: 1;
}

@media (max-width: 991.98px) {
    .hero .hero-text {
        padding-left: 15px;
    }
    
    .hero .hero-text h1 {
        font-size: 35px;
    }
    
    .hero .hero-text p {
        font-size: 16px;
    }
    
    .hero .hero-text .btn {
        padding: 12px 30px;
        font-size: 15px;
        letter-spacing: 0;
    }
}

@media (max-width: 767.98px) {
    .hero .hero-text h1 {
        font-size: 30px;
        font-weight: 600;
    }
    
    .hero .hero-text p {
        font-size: 14px;
    }
    
    .hero .hero-text .btn {
        padding: 10px 25px;
        font-size: 15px;
        font-weight: 400;
        letter-spacing: 0;
    }
}

@media (max-width: 575.98px) {
    .hero .hero-text h1 {
        font-size: 25px;
        font-weight: 600;
    }
    
    .hero .hero-text p {
        font-size: 14px;
    }
    
    .hero .hero-text .btn {
        padding: 8px 20px;
        font-size: 14px;
        font-weight: 400;
        letter-spacing: 0;
    }
}


/*******************************/
/******* Page Header CSS *******/
/*******************************/
.page-header {
    position: relative;
    margin-bottom: 45px;
    padding: 150px 0 90px 0;
    text-align: center;
    background: #D5B981;
}

.page-header h2 {
    position: relative;
    color: #1d2434;
    font-size: 60px;
    font-weight: 700;
}

.page-header a {
    position: relative;
    padding: 0 12px;
    font-size: 22px;
    color: #1d2434;
}

.page-header a:hover {
    color: #ffffff;
}

.page-header a::after {
    position: absolute;
    content: "/";
    width: 8px;
    height: 8px;
    top: -2px;
    right: -7px;
    text-align: center;
    color: #1d2434;
}

.page-header a:last-child::after {
    display: none;
}

@media (max-width: 767.98px) {
    .page-header h2 {
        font-size: 35px;
    }
    
    .page-header a {
        font-size: 18px;
    }
}


/*******************************/
/******* Section Header ********/
/*******************************/
.section-header {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    margin-bottom: 45px;
}

.section-header p {
    margin-bottom: 5px;
    position: relative;
    font-size: 16px;
    font-weight: 600;
}

.section-header h2 {
    margin: 0;
    position: relative;
    font-size: 50px;
    font-weight: 700;
}

@media (max-width: 767.98px) {
    .section-header h2 {
        font-size: 30px;
    }
}


/*******************************/
/********** About CSS **********/
/*******************************/
.about {
    position: relative;
    width: 100%;
    padding: 45px 0;
}

.about .section-header {
    margin-bottom: 30px;
    margin-left: 0;
}

.about .about-img {
    position: relative;
    height: 100%;
    margin: 60px 0 0 60px;
}

.about .about-img img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.about .about-img::before {
    position: absolute;
    content: "";
    top: -60px;
    right: 60px;
    bottom: 60px;
    left: -60px;
    background: #ffffff;
    z-index: 0;
}

.about .about-img::after {
    position: absolute;
    content: "";
    top: -30px;
    right: 30px;
    bottom: 30px;
    left: -30px;
    background: transparent;
    border: 1px solid #ffffff;
    z-index: 2;
}

.about .about-text p {
    font-size: 16px;
}

.about .about-text a.btn {
    position: relative;
    margin-top: 15px;
    padding: 12px 25px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #1d2434;
    border: 2px solid #1d2434;
    border-radius: 0;
    background: none;
    transition: .3s;
}

.about .about-text a.btn:hover {
    color: #D5B981;
    background: #1d2434;
}

@media (max-width: 767.98px) {
    .about .about-img {
        margin-bottom: 30px;
        height: auto;
    }
}

/*******************************/
/****** Replicated Top CSS *****/
/*******************************/

/* Overrides for Light Navbar to match the image */
.navbar.bg-white {
    background-color: #ffffff !important;
}

.navbar.bg-white .navbar-nav .nav-link {
    color: #3b5998 !important; /* RMG-style blue text color */
    font-weight: 500;
    padding: 25px 15px; /* Adds vertical space to the navbar */
}

.navbar.bg-white .navbar-nav .nav-link:hover,
.navbar.bg-white .navbar-nav .nav-link.active {
    color: #1d2434 !important; 
    background: transparent; /* Remove Kamati's default transparent white background on hover */
}

/* Carousel Background and Layout */
.hero-header {
    /* Apply a slight dark gradient overlay so the white text remains readable over the image */
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../img/caro1.jpg') center center no-repeat;
    background-size: cover;
    min-height: 85vh; /* Sets the large, immersive height shown in the image */
    padding: 60px 0;
}

/* Typography matching the image */
.hero-header .hero-title {
    font-size: 5rem;
    line-height: 1.1;
    letter-spacing: -1px;
}

.hero-header .hero-subtitle {
    font-size: 1.25rem;
    max-width: 600px;
}

/* Rounded Button adjustments */
.hero-header .btn-light {
    color: #1d2434;
    background-color: #ffffff;
    border-radius: 50px !important;
}

.hero-header .btn-outline-light {
    color: #ffffff;
    border-color: #ffffff;
    border-radius: 50px !important;
}

.hero-header .btn-outline-light:hover {
    color: #1d2434;
    background-color: #ffffff;
}

/* Mobile Responsiveness */
@media (max-width: 991.98px) {
    .navbar.bg-white {
        padding: 10px 15px !important;
    }
    .hero-header .hero-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 767.98px) {
    .hero-header .hero-title {
        font-size: 2.5rem;
    }
    .hero-header .hero-subtitle {
        font-size: 1rem;
    }
    .hero-header .btn {
        margin-bottom: 10px;
        width: 100%; /* Stack buttons on small screens */
    }
}
/*******************************/
/********* Service CSS *********/
/*******************************/
.service {
    position: relative;
    width: 100%;
    padding: 45px 0 15px 0;
}

.service .service-item {
    position: relative;
    width: 100%;
    text-align: center;
    margin-bottom: 30px;
    background: rgba(29, 36, 52, .04);
}

.service .service-img {
    position: relative;
    width: 100%;
}

.service .service-img img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service .service-img::after {
    position: absolute;
    content: "";
    top: 15px;
    right: 15px;
    bottom: 15px;
    left: 15px;
    background: transparent;
    border: 1px solid #ffffff;
    z-index: 1;
}

.service .service-item h3 {
    margin: 0;
    padding: 25px 15px 15px 15px;
    font-size: 25px;
    font-weight: 700;
}

.service .service-item p {
    margin: 0;
    padding: 0 25px 25px 25px;
    font-size: 16px;
}

.service .service-item a.btn {
    position: relative;
    margin-bottom: 30px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    color: #1d2434;
    border: 2px solid #1d2434;
    border-radius: 0;
    background: none;
    transition: .3s;
}

.service .service-item:hover a.btn {
    color: #D5B981;
    background: #1d2434;
    border-color: #1d2434;
}

/* ========================================= */
/* CLIENTS & PARTNERS INFINITE LOGO SLIDER   */
/* ========================================= */

.logo-slider {
    height: 80px; /* Reduced from 100px for a slimmer profile */
    margin: auto;
    overflow: hidden;
    position: relative;
    width: 100%;
    background-color: #ffffff;
}

/* Faded white gradient on the left and right edges */
.logo-slider::before,
.logo-slider::after {
    background: linear-gradient(to right, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
    content: "";
    height: 80px; /* Matches the new slider height */
    position: absolute;
    width: 150px;
    z-index: 2;
}

.logo-slider::before {
    left: 0;
    top: 0;
}

.logo-slider::after {
    right: 0;
    top: 0;
    transform: rotateZ(180deg);
}

/* The track holding all 32 logos */
.logo-slide-track {
    animation: scrollLogos 45s linear infinite; /* Adjusted speed for narrower slides */
    display: flex;
    /* New Desktop Width: Slide width (180px) * total slides (32) */
    width: calc(180px * 32); 
}

.logo-slider:hover .logo-slide-track {
    animation-play-state: paused;
}

/* Individual Logo Boxes */
.logo-slide {
    height: 80px; /* Matches the new slider height */
    width: 180px; /* Reduced from 250px so they are closer together */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px; /* Slightly reduced padding */
}

/* Logo Images in Full Color */
.logo-slide img {
    max-width: 100%;
    max-height: 50px; /* Reduced from 80px for a much cleaner, aesthetic look */
    object-fit: contain;
    filter: none; 
    opacity: 1;    
    transition: transform 0.3s ease;
}

.logo-slide img:hover {
    transform: scale(1.08); 
}

/* The Infinite Scroll Animation Keyframes for 16 unique logos */
@keyframes scrollLogos {
    0% { 
        transform: translateX(0); 
    }
    100% { 
        /* Shifts exactly 16 narrower slides */
        transform: translateX(calc(-180px * 16)); 
    }
}

/* Mobile Adjustments for 16 logos */
@media (max-width: 768px) {
    .logo-slider::before,
    .logo-slider::after {
        width: 50px; 
    }
    .logo-slide {
        width: 130px; /* Much smaller containers for mobile screens */
    }
    .logo-slide-track {
        /* Width of single mobile slide (130px) * total slides (32) */
        width: calc(130px * 32); 
    }
    @keyframes scrollLogos {
        100% { 
            /* Shifts exactly 16 mobile-sized slides */
            transform: translateX(calc(-130px * 16)); 
        }
    }
}
/* ========================================= */
/* SERVICE CARDS CUSTOM SVG LIST STYLING     */
/* ========================================= */

.custom-service-list {
    padding-left: 0;
    display: block; 
}

.custom-service-list li {
    display: flex;
    align-items: flex-start; /* Ensures top-alignment if sentence wraps */
    margin-bottom: 12px;
    font-size: 15px; 
    line-height: 1.5;
    color: #454545; 
    text-align: left; /* Ensures strict straight vertical alignment */
}

/* Precise SVG Sizing and Alignment */
.custom-check-svg {
    width: 22px;
    height: 22px;
    min-width: 22px; /* Prevents shrinking on smaller screens */
    margin-right: 12px; 
    margin-top: 1px; /* Vertically aligns icon with the first line of text */
}
/* ========================================= */
/* INDUSTRIES WE SERVE - LIGHT THEME         */
/* ========================================= */

.industries-section {
    background-color: #ffffff;
}

/* 8-Column Grid Layout for Desktop */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 15px;
}

/* Individual Card Styling */
.industry-card {
    background-color: #f8fafd; /* Subtle light tint for white background contrast */
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 24px 10px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* Elevated Hover Effect */
.industry-card:hover {
    background-color: #ffffff;
    border-color: #00c8e6;
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0, 200, 230, 0.15);
}

.industry-icon {
    font-size: 32px;
    color: #1d2434; /* Deep navy blue tone */
    margin-bottom: 12px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.industry-card:hover .industry-icon {
    color: #00c8e6; /* Bright cyan highlight on hover */
    transform: scale(1.1);
}

.industry-card h4 {
    font-size: 14px;
    font-weight: 600;
    color: #1d2434;
    margin: 0;
    line-height: 1.3;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .industries-grid {
        grid-template-columns: repeat(4, 1fr); /* 4 per row on laptops/tablets */
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .industries-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 per row on phones */
        gap: 10px;
    }
    
    .industry-card {
        padding: 18px 8px;
    }
    
    .industry-icon {
        font-size: 26px;
    }
    
    .industry-card h4 {
        font-size: 13px;
    }
}
/* ========================================= */
/* THE VALUE WE DELIVER - DARK THEME SECTION */
/* ========================================= */

/* Main Section Background */
.value-section {
    background-color: #04142f; /* Deep Navy Background */
}

/* Header Underline */
.value-header {
    position: relative;
    display: inline-block;
}

.value-underline {
    width: 80px;
    height: 4px;
    background-color: #00c8e6; /* Cyan accent */
    margin-top: 5px;
}

/* Card Styling */
.value-card {
    border: none;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.value-card-header {
    background-color: #163e79; /* Lighter blue for the top banner */
}

.value-card-body {
    background-color: #0d2b59; /* Mid-tone blue for the content area */
}

/* List Item Layout */
.value-list {
    padding: 0;
}

.value-list li {
    display: flex;
    align-items: center; /* Aligns the text cleanly beside the checkmark */
    color: #ffffff;
    font-size: 14.5px;
    font-weight: 500;
    margin-bottom: 35px; /* Creates the large vertical spacing seen in the image */
    line-height: 1.4;
}

.value-list li:last-child {
    margin-bottom: 0; /* Removes bottom margin on the final item */
}

/* Checkmark spacing adjustment specific to this section */
.value-section .custom-check-svg {
    margin-right: 18px;
    margin-top: 0; /* Overrides the previous top margin for perfect center alignment */
}
/* 1. DEFAULT STATE (Top of page): Transparent background with white links */
.navbar {
    background-color: transparent !important;
    transition: all 0.4s ease-in-out; /* Makes the color transition smooth */
}

.navbar .nav-nav .nav-link,
.navbar .navbar-nav .nav-link {
    color: #ffffff !important; 
    font-weight: 500;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: #f3c300 !important; /* Kamati Yellow */
}


/* 2. SCROLLED STATE: White background with dark text */
/* Targets the common classes templates use when scrolling */
.navbar.nav-sticky, 
.navbar.sticky-top,
.nav-bar.nav-sticky {
    background-color: #ffffff !important;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1) !important; /* Adds a nice subtle drop shadow */
}

/* Change the link text to dark navy so it can be read on the white background */
.navbar.nav-sticky .navbar-nav .nav-link,
.navbar.sticky-top .navbar-nav .nav-link,
.nav-bar.nav-sticky .navbar-nav .nav-link {
    color: #1a233a !important; /* Dark Navy Color */
}

/* Keep the hover state yellow when scrolled */
.navbar.nav-sticky .navbar-nav .nav-link:hover,
.navbar.sticky-top .navbar-nav .nav-link:hover,
.navbar.nav-sticky .navbar-nav .nav-link.active {
    color: #f3c300 !important;
}
/* 1. TRANSPARENT PHASE (Top of page): Pull logo and links upwards */
.navbar {
    margin-top: -15px !important; /* Pulls the entire bar closer to the top browser edge */
    padding-top: 0px !important;   /* Tightens space at the top */
    transition: all 0.3s ease-in-out;
}

/* 2. SCROLLED PHASE (Sticky white bar): Reset back to normal spacing */
.navbar.nav-sticky, 
.navbar.sticky-top {
    margin-top: 0 !important;      /* Resets position when fixed to top */
    padding-top: 10px !important;  /* Normal padding when white background active */
    padding-bottom: 10px !important;
}
/* ==========================================
   1. INSTANTLY VISIBLE HAMBURGER BUTTON
   ========================================== */
.navbar-toggler {
    background-color: #ffffff !important; /* Crisp white badge so it's instantly visible on any background */
    border: 2px solid #1a233a !important; /* Solid dark navy border */
    padding: 6px 10px !important;
    outline: none !important;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Sharp dark navy icon bars */
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='%231a233a' stroke-width='2.5' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
}


/* ==========================================
   2. TRADITIONAL MOBILE MENU LAYOUT
   ========================================== */
@media (max-width: 991.98px) {
    /* Full-width clean white dropdown panel */
    .navbar-collapse {
        background-color: #ffffff !important;
        width: 100%;
        margin-top: 15px;
        padding: 10px 20px 20px 20px;
        border-top: 3px solid #f3c300; /* Kamati yellow top border line */
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
        border-radius: 0 0 8px 8px;
    }

    /* Force links to stack vertically */
    .navbar-nav {
        display: flex !important;
        flex-direction: column !important;
        width: 100%;
    }

    /* Traditional link styling */
    .navbar-nav .nav-link {
        color: #1a233a !important; /* Visible dark navy text */
        font-size: 16px;
        font-weight: 600;
        padding: 12px 0 !important;
        border-bottom: 1px solid #eeeeee; /* Light horizontal divider line */
        text-align: left;
    }

    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active {
        color: #f3c300 !important; /* Kamati yellow on hover */
    }

    /* Submenu (Services Dropdown) */
    .navbar-nav .dropdown-menu {
        position: static !important;
        float: none;
        background-color: #f8f9fa !important; /* Soft gray contrast box for sub-items */
        border: none;
        box-shadow: none;
        margin: 5px 0 10px 0;
        padding: 5px 15px;
        border-left: 3px solid #1a233a;
    }

    .navbar-nav .dropdown-item {
        color: #333333 !important;
        padding: 10px 10px;
        font-size: 14px;
        font-weight: 500;
        border-bottom: 1px solid #e9ecef;
    }

    .navbar-nav .dropdown-item:last-child {
        border-bottom: none;
    }

    .navbar-nav .dropdown-item:hover {
        color: #f3c300 !important;
        background-color: transparent !important;
    }
}
@media (max-width: 991.98px) {
    /* ... (keep your existing mobile collapse rules here) ... */

    /* OVERRIDE: Force mobile links to be dark navy immediately */
    .navbar .navbar-collapse .navbar-nav .nav-link {
        color: #1a233a !important; /* Forces dark text so it doesn't blend into the white background */
        font-size: 16px;
        font-weight: 600;
        padding: 12px 0 !important;
        border-bottom: 1px solid #eeeeee;
        text-align: left;
        display: block !important; 
    }

    /* Active and Hover states */
    .navbar .navbar-collapse .navbar-nav .nav-link:hover,
    .navbar .navbar-collapse .navbar-nav .nav-link.active {
        color: #f3c300 !important; /* Kamati Yellow */
    }
}
/*******************************/
/********* Pricing CSS *********/
/*******************************/
.price {
    position: relative;
    width: 100%;
    padding: 45px 0 15px 0;
}

.price .price-item {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: row;
    margin-bottom: 30px;
    background: rgba(29, 36, 52, .04);
    transition: .3s;
}

.price .price-item:hover {
    background: #D5B981;
}

.price .price-img {
    position: relative;
    width: 100px;
}

.price .price-img img {
    width: 100%;
}

.price .price-img::after {
    position: absolute;
    content: "";
    top: 10px;
    right: 10px;
    bottom: 10px;
    left: 10px;
    background: transparent;
    border: 1px solid #ffffff;
    z-index: 1;
}

.price .price-text {
    position: relative;
    padding: 0 15px;
    width: calc(100% - 100px);
    overflow: hidden;
}

.price .price-text h2 {
    position: relative;
    margin-bottom: 8px;
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
}

.price .price-text h3 {
    position: relative;
    margin: 0;
    font-size: 16px;
    font-weight: 400;
    color: #333333;
}


/*******************************/
/*********** Team CSS **********/
/*******************************/
.team {
    position: relative;
    width: 100%;
    padding: 45px 0 15px 0;
}

.team .team-item {
    margin-bottom: 30px;
}

.team .team-img {
    position: relative;
}

.team .team-img::after {
    position: absolute;
    content: "";
    top: 15px;
    right: 15px;
    bottom: 15px;
    left: 15px;
    background: transparent;
    border: 1px solid #F6F6F7;
    transition: .3s;
    z-index: 1;
}

.team .team-img img {
    width: 100%;
}

.team .team-text {
    position: relative;
    margin: -60px 15px 0 15px;
    padding: 30px 15px;
    text-align: center;
    background: #F6F6F7;
    transition: .3s;
    z-index: 2;
}

.team .team-text h2 {
    font-size: 16px;
    font-weight: 600;
}

.team .team-text p {
    margin: 0;
    color: #333333;
}

.team .team-item:hover .team-text {
    background: #D5B981;
}

.team .team-item:hover .team-img::after {
    border-color: #D5B981;
}


/*******************************/
/******* Testimonial CSS *******/
/*******************************/
.testimonial {
    position: relative;
    margin: 45px 0;
    padding: 120px 0;
    background: linear-gradient(rgba(29, 36, 52, 1), rgba(29, 36, 52, .5), rgba(29, 36, 52, 1)), url(../img/testimonial-bg.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.testimonial .container {
    max-width: 700px;
}

.testimonial .testimonials-carousel {
    position: relative;
    width: 100%;
}

.testimonial .testimonial-item {
    position: relative;
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    overflow: hidden;
}

.testimonial .testimonial-item img {
    width: 60px;
    border-radius: 60px;
    margin-bottom: 25px;
}

.testimonial .testimonial-item p {
    color: #ffffff;
    font-size: 16px;
    margin-bottom: 20px;
}

.testimonial .testimonial-item h2 {
    color: #D5B981;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
}

.testimonial .testimonial-item h3 {
    color: #999999;
    font-size: 16px;
    font-weight: 300;
    margin: 0;
}

.testimonial .owl-nav {
    width: 135px;
    margin-top: 45px;
    display: flex;
}

.testimonial .owl-nav .owl-prev,
.testimonial .owl-nav .owl-next {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #D5B981;
    background: #1d2434;
    font-size: 22px;
    transition: .3s;
}

.testimonial .owl-nav .owl-next {
    margin-left: 15px;
}

.testimonial .owl-nav .owl-prev:hover,
.testimonial .owl-nav .owl-next:hover {
    color: #1d2434;
    background: #D5B981;
}


/*******************************/
/*********** Blog CSS **********/
/*******************************/
.blog {
    position: relative;
    width: 100%;
    padding: 45px 0;
}

.blog .blog-carousel {
    position: relative;
    width: calc(100% + 30px);
    left: -15px;
    right: -15px;
}

.blog .blog-item {
    position: relative;
    margin: 0 15px;
    background: rgba(29, 36, 52, .04);
    overflow: hidden;
}

.blog .blog-page .blog-item {
    margin: 0 0 30px 0;
}

.blog .blog-img {
    position: relative;
    width: 100%;
}

.blog .blog-img::after {
    position: absolute;
    content: "";
    top: 15px;
    right: 15px;
    bottom: 15px;
    left: 15px;
    background: transparent;
    border: 1px solid #ffffff;
    z-index: 1;
}

.blog .blog-img img {
    width: 100%;
}

.blog .blog-meta {
    position: relative;
    padding: 20px 30px 12px 30px;
}

.blog .blog-meta * {
    display: inline-block;
    margin: 0;
    padding: 0;
    font-size: 14px;
    font-weight: 300;
    color: #797979;
}

.blog .blog-meta i {
    margin: 0 2px 0 10px;
}

.blog .blog-meta i:first-child {
    margin-left: 0;
}

.blog .blog-text {
    position: relative;
    padding: 0 30px 30px 30px;
}

.blog .blog-text h2 {
    font-size: 18px;
    font-weight: 600;
}

.blog .blog-text p {
    margin-bottom: 10px;
}

.blog .blog-item a.btn {
    padding: 0;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: #1d2434;
    transition: .3s;
}

.blog .blog-item a.btn i {
    margin-left: 5px;
}

.blog .blog-item a.btn:hover {
    color: #D5B981;
}

.blog .owl-nav {
    width: 150px;
    margin: 32px auto 0 auto;
    display: flex;
}

.blog .owl-nav .owl-prev,
.blog .owl-nav .owl-next {
    margin-left: 15px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #D5B981;
    background: #1d2434;
    font-size: 22px;
    transition: .3s;
}

.blog .owl-nav .owl-prev:hover,
.blog .owl-nav .owl-next:hover {
    color: #1d2434;
    background: #D5B981;
}

.blog .pagination .page-link {
    color: #1d2434;
    border-radius: 0;
    border-color: #1d2434;
}

.blog .pagination .page-link:hover,
.blog .pagination .page-item.active .page-link {
    color: #D5B981;
    background: #1d2434;
}

.blog .pagination .disabled .page-link {
    color: #999999;
}


/*******************************/
/******** Portfolio CSS ********/
/*******************************/
.portfolio {
    position: relative;
    padding: 45px 0 15px 0;
    background: #ffffff;
}

.portfolio #portfolio-flters {
    padding: 0;
    margin: -15px 0 25px 0;
    list-style: none;
    font-size: 0;
    text-align: center;
}

.portfolio #portfolio-flters li {
    cursor: pointer;
    display: inline-block;
    margin: 5px;
    padding: 8px 15px;
    color: #1d2434;
    font-size: 14px;
    font-weight: 600;
    border-radius: 0;
    background: none;
    border: 2px solid #1d2434;
    transition: .3s;
}

.portfolio #portfolio-flters li:hover,
.portfolio #portfolio-flters li.filter-active {
    background: #1d2434;
    color: #D5B981;
}

.portfolio .portfolio-item {
    position: relative;
    margin-bottom: 30px;
    overflow: hidden;
    transition: .3s;
}

.portfolio .portfolio-item:hover {
    margin-top: -10px;
}

.portfolio .portfolio-wrap {
    position: relative;
    width: 100%;
}

.portfolio .portfolio-wrap a::after {
    position: absolute;
    content: "";
    top: 30px;
    right: 30px;
    bottom: 30px;
    left: 30px;
    background: transparent;
    border: 1px solid #F6F6F7;
    transition: .3s;
    z-index: 1;
}

.portfolio .portfolio-wrap:hover a::after {
    border-color: #D5B981;
}

.portfolio img {
    position: relative;
    width: 100%; 
    height: 100%; 
    object-fit: cover;
}


/*******************************/
/********* Contact CSS *********/
/*******************************/
.contact {
    position: relative;
    width: 100%;
    margin: 45px 0;
    background: #1d2434;
}

.contact .container-fluid {
    background: url(../img/N5.jpg) left center no-repeat;
    background-size: contain;
}

.contact .contact-form {
    position: relative;
    padding: 90px 0 90px 45px;
    background: #1d2434;
}

.contact .contact-form input {
    padding: 15px 0;
    background: none;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid #D5B981;
}

.contact .contact-form textarea {
    height: 90px;
    padding: 15px 0;
    background: none;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid #D5B981;;
}

.contact .contact-form .btn {
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #D5B981;
    background: none;
    border: 2px solid #D5B981;
    border-radius: 0;
    transition: .3s;
}

.contact .contact-form .btn:hover {
    color: #1d2434;
    background: #D5B981;
}

.contact .help-block ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

@media (max-width: 767.98px) {
    .contact .container-fluid {
        background: none;
    }
    
    .contact .contact-form {
        padding: 90px 0;
    }
}


/*******************************/
/******* Single Page CSS *******/
/*******************************/
.single {
    position: relative;
    width: 100%;
    padding: 45px 0 65px 0;
}

.single img {
    width: 100%;
    margin: 0 0 25px 0;
}

.single .table,
.single .list-group {
    margin-bottom: 30px;
}

.single .ul-group {
    padding: 0;
    list-style: none;
}

.single .ul-group li {
    margin-left: 2px;
}

.single .ul-group li::before {
    position: relative;
    content: "\f0da";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.single .ol-group {
    padding-left: 18px;
}



/*******************************/
/********* Footer CSS **********/
/*******************************/
.footer {
    position: relative;
    margin-top: 45px;
    padding-top: 90px;
    background: #1d2434;
}

.footer .footer-contact,
.footer .footer-link,
.footer .footer-newsletter {
    position: relative;
    margin-bottom: 45px;
    color: #999999;
}

.footer .footer-contact h2,
.footer .footer-link h2,
.footer .footer-newsletter h2{
    position: relative;
    margin-bottom: 30px;
    font-size: 22px;
    font-weight: 700;
    color: #D5B981;
}

.footer .footer-link a {
    display: block;
    margin-bottom: 10px;
    color: #999999;
    transition: .3s;
}

.footer .footer-link a::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .footer-link a:hover {
    color: #D5B981;
    letter-spacing: 1px;
}

.footer .footer-contact p i {
    width: 25px;
}

.footer .footer-social {
    position: relative;
    margin-top: 20px;
}

.footer .footer-social a {
    display: inline-block;
}

.footer .footer-social a i {
    margin-right: 15px;
    font-size: 18px;
    color: #D5B981;
}

.footer .footer-social a:last-child i {
    margin: 0;
}

.footer .footer-social a:hover i {
    color: #999999;
}

.footer .footer-newsletter .form {
    position: relative;
    width: 100%;
}

.footer .footer-newsletter input {
    height: 60px;
    border: 2px solid #1d2434;
    border-radius: 0;
}

.footer .footer-newsletter .btn {
    position: absolute;
    top: 8px;
    right: 8px;
    height: 44px;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 600;
    color: #1d2434;
    background: none;
    border-radius: 0;
    border: 2px solid #1d2434;
    transition: .3s;
}

.footer .footer-newsletter .btn:hover {
    color: #D5B981;
    background: #1d2434;
}

.footer .copyright {
    padding: 0 30px;
}

.footer .copyright .row {
    background: #ffffff;
    padding-top: 25px;
    padding-bottom: 25px;
}

.footer .copyright p {
    margin: 0;
    color: #454545;
}

.footer .copyright .col-md-6:last-child p {
    text-align: right;
}

.footer .copyright p a {
    color: #1d2434;
    font-weight: 700;
}

.footer .copyright p a:hover {
    color: #D5B981;
}

@media (max-width: 767.98px) {
    .footer .copyright p,
    .footer .copyright .col-md-6:last-child p {
        margin: 5px 0;
        text-align: center;
    }
}
