/* Custom Color Theme for Globiz India */
:root {
    --bs-primary: #871F42 !important;
    --bs-secondary: #871F42 !important;
}

/* Primary Color Updates */
.text-primary {
    color: #871F42 !important;
}

.bg-primary {
    background-color: #871F42 !important;
}

.btn-primary {
    background-color: #871F42 !important;
    border-color: #871F42 !important;
}

.btn-primary:hover {
    background-color: #6b1835 !important;
    border-color: #6b1835 !important;
}

/* Secondary Color Updates */
.text-secondary {
    color: #871F42 !important;
}

.bg-secondary {
    background-color: #871F42 !important;
}

/* Navigation Updates */
.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: #ffffff !important;
}

.navbar-light .navbar-nav .nav-link::before {
    background: #ffffff !important;
}

.navbar-light .navbar-nav .nav-link.active::before {
    background: #ffffff !important;
}

.navbar-light .navbar-nav .nav-link.active::after {
    background: #ffffff !important;
}

/* Button Updates */
.btn.btn-primary:hover {
    background: #6b1835 !important;
    color: #ffffff !important;
}

.btn.btn-light:hover {
    background: #871F42 !important;
}

/* Carousel Navigation */
.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    background: #871F42 !important;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: #6b1835 !important;
}

/* Feature Items */
.feature .feature-item:hover {
    border: 1px solid #871F42 !important;
}

/* Offer Section */
.offer-section .nav a.accordion-link.active {
    background: #871F42 !important;
}

/* Blog Section */
.blog .blog-item .blog-img .blog-title a {
    background: #871F42 !important;
}

.blog .owl-nav .owl-prev,
.blog .owl-nav .owl-next {
    background: #871F42 !important;
}

.blog .owl-nav .owl-prev:hover,
.blog .owl-nav .owl-next:hover {
    background: #6b1835 !important;
}

/* Team Section */
.team .team-item .team-img {
    border: 4px solid #871F42 !important;
}

.team .team-item::after {
    background: #871F42 !important;
}

.team .team-item:hover .team-icon a:hover {
    color: #871F42 !important;
}

/* Testimonial Section */
.testimonial .testimonial-item .testimonial-quote-left,
.testimonial .testimonial-item .testimonial-quote-right {
    color: #871F42 !important;
}

.testimonial .owl-nav .owl-prev,
.testimonial .owl-nav .owl-next {
    background: #871F42 !important;
}

.testimonial .owl-nav .owl-prev:hover,
.testimonial .owl-nav .owl-next:hover {
    background: #6b1835 !important;
}

.testimonial-carousel .owl-dots .owl-dot {
    background: #871F42 !important;
}

.testimonial-carousel .owl-dots .owl-dot.active {
    background: #6b1835 !important;
}

.testimonial-carousel .owl-dots .owl-dot.active span::after {
    background: #871F42 !important;
}

/* Footer */
.footer {
    background: #002b5a !important;
}

.footer .footer-item a {
    color: #ffffff !important;
}

.footer .footer-item p {
    color: #ffffff !important;
}

.footer .footer-item h4 {
    color: #ffffff !important;
}

.footer .footer-item a:hover {
    color: #ffffff !important;
}

/* Service Items */
.service .service-item:hover {
    box-shadow: 0 0 45px rgba(135, 31, 66, 0.2) !important;
}

/* Dropdown Menus */
.dropdown .dropdown-menu a:hover,
.topbar .dropdown .dropdown-menu a:hover {
    background: #871F42 !important;
}

/* Back to Top Button */
.back-to-top {
    background: #871F42 !important;
    width: 45px !important;
    height: 45px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 18px !important;
    color: #ffffff !important;
    text-decoration: none !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2) !important;
    transition: all 0.3s ease !important;
}

.back-to-top:hover {
    background: #6b1835 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3) !important;
    color: #ffffff !important;
}

@media (max-width: 767.98px) {
    .back-to-top {
        width: 40px !important;
        height: 40px !important;
        font-size: 16px !important;
        right: 20px !important;
        bottom: 20px !important;
    }
}

/* FAQ Icons */
.accordion-button i {
    color: #871F42 !important;
}

/* Navigation Background */
.navbar-light {
    background: #871F42 !important;
}

.sticky-top.navbar-light {
    background: #871F42 !important;
}

/* Logo Color */
.navbar-brand h1 {
    color: #ffffff !important;
}

.footer .footer-item h4 {
    color: #ffffff !important;
}

/* Menu Font Styles */
.navbar-light .navbar-nav .nav-link {
    color: #ffffff !important;
    font-size: 18px !important;
    font-weight: 500 !important;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    color: #ffffff !important;
    font-size: 18px !important;
    font-weight: 500 !important;
}

.navbar-light .navbar-nav .nav-item .nav-link {
    color: #ffffff !important;
}

.sticky-top.navbar-light .navbar-nav .nav-item .nav-link {
    color: #ffffff !important;
}

/* Topbar Background */
.topbar {
    background: #871F42 !important;
}

/* Copyright Background */
.copyright {
    background: #ffffff !important;
    padding: 10px 0 !important;
    min-height: auto !important;
}

.copyright .text-body {
    color: #333333 !important;
    font-weight: 500 !important;
}

.copyright .text-body a {
    color: #333333 !important;
    font-weight: 600 !important;
}

.topbar a {
    color: #ffffff !important;
}

.topbar .dropdown-toggle {
    color: #ffffff !important;
}

/* Mobile Responsive Styles */
@media (max-width: 991.98px) {
    /* Fixed Navigation for Mobile */
    .navbar-light {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 1030 !important;
        background: #871F42 !important;
    }
    
    /* Body padding to prevent content overlap */
    body {
        padding-top: 80px !important;
    }
    
    /* Mobile menu styles */
    .navbar-collapse {
        background: #871F42 !important;
        border-radius: 0 0 10px 10px !important;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1) !important;
    }
    
    /* Mobile logo size */
    .navbar-brand img {
        height: 40px !important;
    }
    
    .navbar-brand h1 {
        font-size: 1.2rem !important;
    }
    
    /* Mobile menu items */
    .navbar-nav .nav-link {
        padding: 12px 20px !important;
        border-bottom: 1px solid rgba(255,255,255,0.1) !important;
    }
    
    /* Mobile dropdown */
    .dropdown-menu {
        background: #6b1835 !important;
        border: none !important;
        box-shadow: none !important;
    }
    
    .dropdown-item {
        color: #ffffff !important;
        padding: 10px 20px !important;
    }
    
    .dropdown-item:hover {
        background: rgba(255,255,255,0.1) !important;
        color: #ffffff !important;
    }
    
    /* Mobile Join Us button */
    .btn.btn-primary {
        margin: 10px 20px !important;
        width: calc(100% - 40px) !important;
    }
    
    /* Mobile Drawer Menu */
    .navbar-toggler {
        border: none !important;
        padding: 4px 8px !important;
        font-size: 1.2rem !important;
        color: #ffffff !important;
        background: transparent !important;
    }
    
    .navbar-toggler:focus {
        box-shadow: none !important;
    }
    
    .navbar-toggler .fa-bars {
        color: #ffffff !important;
        font-size: 1.5rem !important;
    }
    
    /* Slide-in menu from right */
    .navbar-collapse {
        position: fixed !important;
        top: 70px !important;
        right: -100% !important;
        width: 280px !important;
        height: calc(100vh - 70px) !important;
        background: #871F42 !important;
        transition: right 0.3s ease-in-out !important;
        overflow-y: auto !important;
        z-index: 1025 !important;
        border-radius: 0 !important;
        box-shadow: -2px 0 10px rgba(0,0,0,0.2) !important;
    }
    
    .navbar-collapse.show {
        right: 0 !important;
    }
    
    /* Menu overlay */
    .navbar-collapse.show::before {
        content: '' !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        background: rgba(0,0,0,0.5) !important;
        z-index: -1 !important;
    }
    
    /* Mobile hero section adjustment */
    .header-carousel .header-carousel-item {
        margin-top: 0 !important;
    }
    
    /* Mobile page headers */
    .bg-breadcrumb {
        padding-top: 100px !important;
    }
}

@media (max-width: 767.98px) {
    /* Extra small devices */
    body {
        padding-top: 70px !important;
    }
    
    .navbar-brand img {
        height: 35px !important;
    }
    
    .navbar-brand h1 {
        font-size: 1rem !important;
    }
    
    /* Extra small mobile drawer */
    .navbar-collapse {
        top: 60px !important;
        height: calc(100vh - 60px) !important;
        width: 260px !important;
    }
    
    /* Mobile form adjustments */
    .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    /* Mobile text sizes */
    .display-3, .display-4, .display-5 {
        font-size: 1.8rem !important;
    }
    
    /* Mobile cards and sections */
    .service-item, .feature-item, .team-item {
        margin-bottom: 20px !important;
    }
    
    /* Mobile testimonials */
    .testimonial-item {
        margin-bottom: 20px !important;
    }
    
    /* Mobile footer */
    .footer .footer-item {
        margin-bottom: 30px !important;
        text-align: center !important;
    }
    
    .footer .row {
        text-align: center !important;
    }
    
    .footer .footer-item h4 {
        font-size: 1.2rem !important;
        margin-bottom: 15px !important;
    }
    
    .footer .footer-item p,
    .footer .footer-item a {
        font-size: 0.9rem !important;
        line-height: 1.6 !important;
    }
    
    /* Mobile copyright */
    .copyright {
        text-align: center !important;
        padding: 15px 0 !important;
    }
    
    .copyright .text-body {
        font-size: 0.85rem !important;
    }
}