:root {
    --primary: #371a45;
    --primary-rgb: 55, 26, 69;
}

.text-primary {
    color: var(--primary) !important;
}

.btn-primary {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
}

.btn-primary:hover {
    background-color: #2a1334 !important;
    border-color: #2a1334 !important;
}

/* Add this if you have any primary color borders */
.border-primary {
    border-color: var(--primary) !important;
}

/* Add this if you have any primary color backgrounds */
.bg-primary {
    background-color: var(--primary) !important;
} 

.container-primary {
    max-width: 95%;
    margin: 0 auto;
    background-color: rgba(0, 0, 0, 0.1); /* Black with 10% opacity */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 32px;
    padding: 60px 0;
    color: var(--text-heading)
}

.container-pop {
    max-width: 95%;
    margin: 0 auto;
    background-color: var(--primary);
    border-radius: 32px;
    padding: 60px 0;
    color: var(--white)
}

/* Footer styles override */
.footer {
    max-width: 95%;
    margin: 0 auto;
    background-color: var(--primary);
    border-top-left-radius: 32px;
    border-top-right-radius: 32px;
    color: var(--white);
}

/* Update footer box borders to be slightly lighter for better contrast */
.footer-box {
    border-color: rgba(255, 255, 255, 0.1);
}

/* Update copyright section border */
.copyright {
    border-color: rgba(255, 255, 255, 0.1);
}

.copyright::before,
.copyright::after {
    border-color: rgba(255, 255, 255, 0.1);
}

/* Ensure connect button maintains contrast */
.connect {
    background-color: rgba(255, 255, 255, 0.1);
}

.connect:hover {
    background-color: var(--white);
}

.connect:hover span,
.connect:hover i {
    color: var(--primary);
}

.faq {
    background-color: white
}

.container-transparent {
    max-width: 95%;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.1); /* White with 10% opacity */
    backdrop-filter: blur(10px); /* Optional: adds a blur effect to content behind */
    -webkit-backdrop-filter: blur(10px); /* For Safari support */
    border-radius: 32px;
    padding: 60px 0;
    border: 1px solid rgba(255, 255, 255, 0.1); /* Optional: adds a subtle border */
}

/* Alternative version with dark transparent background */
.container-transparent-dark {
    max-width: 95%;
    margin: 0 auto;
    background-color: rgba(0, 0, 0, 0.1); /* Black with 10% opacity */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 32px;
    padding: 60px 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-intro .video-inner {
    max-width: 95%;
    margin: 0 auto;
    background-color: var(--primary);
    border-radius: 32px;
    padding-top: 40px;
    padding-bottom: 40px
}

.projects h2.project-name-styled-a,
.projects .project-name.h2 {
    font-size: 40px;
    color: #fff;
    -webkit-text-fill-color: #fff;
    text-shadow: 3px 3px 0 #b7c7b9, -1px -1px 0 #b7c7b9, 1px -1px 0 #b7c7b9, -1px 1px 0 #b7c7b9, 1px 1px 0 #b7c7b9
}

.projects h2.project-name-styled-b,
.projects .project-name.h2 {
    font-size: 40px;
    color: var(--primary);
    -webkit-text-fill-color: var(--primary);
    text-shadow: 3px 3px 0 #b7c7b9, -1px -1px 0 #b7c7b9, 1px -1px 0 #b7c7b9, -1px 1px 0 #b7c7b9, 1px 1px 0 #b7c7b9
}

.service-details .top-title {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center
}

.container-featured-image {
    max-width: 80%;
    margin: 0 auto;
   
}

.view-all-articles {
    text-align: center;
    margin-top: 40px;
}

/* Service Cards Styling */
.service-card {
    
    border-radius: 24px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 24px -1px rgba(0, 0, 0, 0.1);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 240px; /* Match the height of the image */
    left: 0;
    width: 100%;
    height: calc(100% - 240px);
    background-color: var(--primary);
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 0;
}

.service-card .inner {
    position: relative;
    z-index: 1;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card:hover::before {
    transform: translateY(0);
}

.service-number {
    font-size: 1.5rem;
    opacity: 0.8;
}

.service-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary);
    border-radius: 5%;
    color: var(--white);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background-color: var(--white);
    color: var(--primary);
}

.service-title {
    color: var(--black);
    transition: color 0.3s ease;
}

.service-card:hover .service-title,
.service-card:hover .service-description {
    color: var(--white) !important;
}

.service-type {
    display: inline-block;
    padding: 6px 12px;
    background-color: rgba(var(--primary-rgb), 0.1);
    border-radius: 10px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.service-card:hover .service-type {
    background-color: var(--white);
}

.service-description {
    color: var(--gray-600);
    transition: color 0.3s ease;
}

.service-link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.service-card:hover .service-link {
    color: var(--white);
}

.service-link:hover {
    gap: 0.75rem !important;
}

/* Service Image Styling */
.service-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
    border-radius: 24px;
   
    position: relative;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-image::after {
    display: none;
}

/* Update media query for larger screens */
@media (min-width: 1200px) {
    .service-image {
        height: 320px;
    }

    .service-card::before {
        top: 320px;
        height: calc(100% - 320px);
    }

    .service-card .inner {
        min-height: 300px;
        display: flex;
        flex-direction: column;
    }
}

/* Service specific styling */
.service-item {
    border: 1px solid rgba(var(--primary-rgb), 0.1);
}

.service-item .inner {
    background-color: var(--white);
    transition: all 0.3s ease;
}

.service-badge {
    display: inline-block;
    padding: 4px 12px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 5px;
    font-weight: 500;
}

.service-item:hover .inner {
    background-color: var(--primary);
    color: var(--white);
}

.service-item:hover .service-badge {
    background-color: var(--white);
    color: var(--primary);
}

.service-item:hover h3,
.service-item:hover p,
.service-item:hover a {
    color: var(--white);
}

.service-item .img-wrapper {
    position: relative;
    overflow: hidden;
    display: block;
}

.service-item .img-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(var(--primary-rgb), 0.2);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-item:hover .img-wrapper::before {
    opacity: 1;
}

.service-item img {
    transition: transform 0.6s ease;
}

.service-item:hover img {
    transform: scale(1.1);
}

/* Keep existing blog-card styles but update some for services */
.blog-card.service-item {
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.blog-card.service-item .inner {
    padding: 30px;
    border-radius: 16px;
}

.blog-card.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(var(--primary-rgb), 0.15);
}

/* Horizontal Service Card Styling */
.service-card-horizontal {
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 3px solid rgba(var(--primary-rgb), 0.1);
    padding: 3px;
}

.service-card-horizontal .row {
    margin: 0;
    background: transparent;
    border: 1px solid rgba(var(--primary-rgb), 0.1);
    border-radius: 20px;
}

.service-card-horizontal:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(var(--primary-rgb), 0.15);
}

.service-card-horizontal .content-wrapper {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: transparent;
}

.service-card-horizontal .content-wrapper h3 {
    font-size: 1.75rem;
}

.service-card-horizontal .content-wrapper p {
    font-size: 1rem;
}

.service-card-horizontal .content-wrapper .btn {
    width: fit-content;
    display: inline-flex;
    padding: 8px 24px;
    align-items: center;
}

.service-card-horizontal .image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 24px 0 0 24px; /* Add border radius to left side only */
}

.service-card-horizontal .service-image {
    min-height: 400px;
}

.service-card-horizontal .service-image img {
    transition: transform 0.6s ease;
    border-radius: 24px 0 0 24px; /* Match parent border radius */
}

.service-card-horizontal:hover .service-image img {
    transform: scale(1.05);
}

.service-card-horizontal .service-badge {
    display: inline-block;
    padding: 4px 12px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 20px;
    font-weight: 500;
}

.service-card-horizontal .service-type {
    color: var(--primary);
    font-weight: 500;
}

@media (max-width: 991.98px) {
    .service-card-horizontal .service-image {
        min-height: 300px;
    }
    
    .service-card-horizontal .content-wrapper {
        padding: 2rem !important;
    }
}

/* Service Hero Section */
.service-hero {
    position: relative;
    overflow: hidden;
}

.service-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(var(--primary-rgb), 0.05), rgba(var(--primary-rgb), 0.1));
    z-index: 0;
}

.service-hero .container {
    position: relative;
    z-index: 1;
}

/* Service Content Styling */
.service-content img {
    transition: transform 0.6s ease;
}

.service-content .rounded-4 {
    border-radius: 16px !important;
}

.service-deliverables {
    white-space: pre-line;
}

.service-content .shadow-sm {
    box-shadow: 0 .125rem .25rem rgba(var(--primary-rgb), 0.08) !important;
}

.loader-wrapper {
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary)
}

.experience .experience-item .inner-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background-color: var(--primary);
    padding: 16px
}



.logo-img {
    height: 140px; /* Adjust this value */
    width: auto; /* Maintain aspect ratio */
    z-index: 6;
  }


  .navbar-top {
    padding: 12px 0;
    /* Remove border from nav */
    border-bottom: 0 !important;
}

.navbar-top .navbar-wrapper {
    gap: 24px; /* Reduced from 42px to save space */
    max-width: 95%;
    margin: 0 auto;
    /* Prevent logo from taking too much space */
    justify-content: flex-start !important;
}

.navbar-top .logo {
    flex-grow: 0; /* Changed from 1 to prevent expansion */
    max-width: 350px; /* Add maximum logo width */
    position: relative;
}

/* Remove the border lines from logo */
@media screen and (min-width: 992px) {
    .navbar-top .logo {
        padding-bottom: 0 !important; /* Remove padding that was creating space for border */
    }
    .navbar-top .logo::after {
        display: none !important; /* Completely remove the pseudo-element with borders */
    }
}

/* Adjust menu wrapper spacing */
.navbar-top .menu-wrapper {
    flex-shrink: 0;
    flex-grow: 1; /* Allow menu to take available space */
    max-width: calc(100% - 170px); /* Prevent menu from being squashed */
}

@media screen and (min-width: 992px) {
    .navbar-top .menu-wrapper {
        padding-left: 12px; /* Reduced from 20px */
        border-top: 0 !important; /* Remove top border */
    }
    .navbar-top .menu-wrapper .menu-list {
        gap: 18px; /* Reduced from 24px */
       /*  justify-content: flex-end; /* Push items to right */
       justify-content: center;
    }
}

/* Optional: Adjust menu item spacing */
.navbar-top .menu-wrapper .menu-link,
.navbar-top .menu-wrapper .submenu button {
    padding: 8px 8px !important; /* Increased from 4px horizontal padding */
    white-space: nowrap; /* Prevent text wrapping */
}





 /* .btn-login {
    /* Text color fix 
    --bs-btn-color: var(--primary) !important; /* Ensure --primary is defined 
    color: var(--primary) !important; /* Direct color override */
    
    /* Border fix 
    border: 1px solid var(--primary) !important;
    background: transparent !important;
    
    /* Size adjustments 
    padding: 0.375rem 1.25rem !important;
    font-size: 0.875rem !important;
    
    /* Double border setup 
    position: relative;
}

/* Double border fix 
.btn-login::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    border: 1px solid var(--primary);
    pointer-events: none;
}

/* Hover states 
.btn-primary:hover {
    /* Keep text color matching --primary 
    --bs-btn-color: var(--primary) !important;
    color: var(--primary) !important;
    
    /* Semi-transparent background instead of solid 
    background: rgba(var(--primary-rgb), 0.1) !important;
    
    /* Darker border on hover 
    border-color: rgba(var(--primary-rgb), 0.7) !important;
    
    /* Update pseudo-element border 
    &::before {
        border-color: rgba(var(--primary-rgb), 0.7);
    }
}*/


.btn-login {
    /* Base state */
    --bs-btn-color: var(--primary) !important;
    --bs-btn-bg: transparent !important;
    --bs-btn-border-color: var(--primary) !important;
    color: var(--primary) !important;
    border: 1px solid var(--primary);
    background: transparent;
    position: relative;
    transition: all 0.3s ease;

    /* Size adjustments */
    padding: 0.375rem 1.25rem !important;
    font-size: 0.875rem !important;
}

/* Double border effect */
.btn-login::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    border: 1px solid var(--primary);
    pointer-events: none;
    transition: inherit;
}

/* Hover state */
.btn-login:hover {
    --bs-btn-color: #fff !important;
    color: #fff !important;
    background: var(--primary) !important;
    border-color: var(--primary);
}

/* Change inner border color on hover */
.btn-login:hover::before {
    border-color: rgba(255, 255, 255, 0.3); /* Subtle white border */
}