:root {
    --primary-color: #ee7e22;
    --secondary-color: #212121;
    --dark-color: #000000;
    --light-color: #ffffff;
    --gray-color: #f8f9fa;
    --text-color: #333333;
    --light-text: #FFFFFF;
    --border-radius: 8px;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --section-padding: 80px 0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

#scrollToBottom{
    position: fixed;
    bottom: 5em;
    left: 39%;
}

#AIBootup img {
    border-radius: 100px;
}

.AIFeedbackBtns,
.AIFeedbackBtns{
    display: none;
}

html,
body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

img {
    max-width: 100%;
    height: auto;
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.btn {
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 12px 24px;
    /* border-radius: 50px; */
    transition: var(--transition);
    border: none;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: var(--section-padding);
}

/* Sticky Navigation */
.navbar {
    padding: 20px 0;
    background-color: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.navbar-brand img {
    height: 40px;
    transition: var(--transition);
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--dark-color);
    padding: 10px 15px !important;
    position: relative;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

.navbar-nav .nav-link.active::after,
.navbar-nav .nav-link:hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 15px;
    width: calc(100% - 30px);
    height: 2px;
    background-color: var(--primary-color);
    transform: scaleX(1);
    transition: var(--transition);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 15px;
    width: calc(100% - 30px);
    height: 2px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transition: var(--transition);
}

.dropdown-menu {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 15px 0;
}

.dropdown-item {
    padding: 10px 25px;
    font-weight: 500;
    transition: var(--transition);
}

.dropdown-item:hover {
    background-color: rgba(238, 126, 34, 0.1);
    color: var(--primary-color);
}

/* Language Dropdown */
.language-dropdown img {
    width: 20px;
    margin-right: 5px;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 100px 0;
    /* background: linear-gradient(rgba(255, 255, 255, 0.9), rgb(238 126 34 / 8%)); */
}

/* Fix for the hero title being covered by navbar */
.hero-title {
    padding-top: 40px;
    /* Add padding to move the title down */
    margin-top: 20px;
}

.hero-section h1 {
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.hero-section .lead {
    font-size: 1.25rem;
    font-weight: 500;
}

.expo-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-expo-area {
    background-color: var(--primary-color);
    color: var(--light-color);
    border: 2px solid var(--primary-color);
}

.btn-expo-area:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.btn-expo-map {
    background-color: var(--secondary-color);
    color: var(--light-color);
    border: 2px solid var(--secondary-color);
}

.btn-expo-map:hover {
    background-color: transparent;
    color: var(--secondary-color);
}

.btn-expo-program {
    background-color: var(--dark-color);
    color: var(--light-color);
    border: 2px solid var(--dark-color);
}

.btn-expo-program:hover {
    background-color: transparent;
    color: var(--dark-color);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
}

.btn-warning {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--light-color);
}

.btn-warning:hover {
    background-color: #d06a15;
    border-color: #d06a15;
    color: var(--light-color);
}

/* Search Section */
.search-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.search-container h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.search-container .input-group {
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.search-container .form-control {
    border: none;
    padding: 15px;
    font-size: 1rem;
}

.search-container .btn {
    padding: 15px 25px;
}

/* Chatbot Section */
.chatbot-container {
    display: none;
}

/* Sponsors Section */
.sponsors {
    padding: var(--section-padding);
    background-color: var(--gray-color);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 800;
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.section-title p {
    max-width: 700px;
    margin: 0 auto;
}

.sponsor-logo {
    display: block;
    max-width: 80%;
    margin: 0 auto 30px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.sponsor-logo:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* About Expo Section */
.about-expo {
    padding: var(--section-padding);
}

.expo-space {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    height: 100%;
    transition: var(--transition);
}

.expo-space:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.expo-space h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

/* Stats Section */
.stats {
    padding: var(--section-padding);
    background-color: var(--primary-color);
    color: var(--light-color);
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    display: block;
    margin-bottom: 10px;
    line-height: 1;
}

.stat-title {
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* Newsletter Section */
.newsletter {
    padding: var(--section-padding);
    background-color: var(--secondary-color);
    color: var(--light-color);
}

.newsletter h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.newsletter p {
    font-size: 1.1rem;
    margin-bottom: 0;
    opacity: 0.9;
}

.newsletter-form .input-group {
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form .form-control {
    padding: 15px;
    border: none;
}

.newsletter-form .btn {
    padding: 15px 25px;
    font-weight: 600;
}

/* Footer */
footer {
    padding: 80px 0 20px;
    background-color: var(--dark-color);
    color: #aaa;
}

.footer-logo {
    margin-bottom: 20px;
    max-width: 180px;
}

footer h4 {
    color: var(--light-color);
    margin-bottom: 25px;
    font-size: 1.2rem;
}

footer p {
    margin-bottom: 20px;
}

footer ul li {
    margin-bottom: 10px;
}

footer ul li a {
    color: #aaa;
    transition: var(--transition);
}

footer ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--light-color);
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.contact-info li i {
    margin-right: 10px;
    color: var(--primary-color);
}

.copyright {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Scroll to top button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 99;
}

.scroll-top.active {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--light-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(238, 126, 34, 0.2);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Scroll Down Indicator */
.scroll-down {
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-down a {
    display: block;
    color: var(--primary-color);
    font-size: 1.5rem;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-20px) translateX(-50%);
    }

    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}

/* Improved Animations */
[data-aos] {
    pointer-events: auto;
}

[data-aos].animated {
    pointer-events: auto;
}

/* Navbar Scrolled Effect */
.navbar-scrolled {
    padding: 10px 0;
    background-color: var(--light-color);
    box-shadow: var(--box-shadow);
}

.navbar-scrolled .navbar-brand img {
    height: 35px;
}

/* Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    transition-delay: calc(var(--animation-order) * 0.1s);
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animations for different elements */
.expo-space.animate-on-scroll {
    transition-delay: calc(var(--animation-order, 0) * 0.1s);
}

.stat-item.animate-on-scroll {
    transition-delay: calc(var(--animation-order, 0) * 0.15s);
}

.sponsor-logo.animate-on-scroll {
    transition-delay: calc(var(--animation-order, 0) * 0.05s);
}

/* Additional improvements */
.chatbot-container .form-control:focus,
.search-container .form-control:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}

.btn-expo-area,
.btn-expo-map,
.btn-expo-program {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-expo-area::before,
.btn-expo-map::before,
.btn-expo-program::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1);
    transition: width 0.3s ease;
    z-index: -1;
}

.btn-expo-area:hover::before,
.btn-expo-map:hover::before,
.btn-expo-program:hover::before {
    width: 100%;
}

/* Improved chat messages */
.chat-messages {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

.chat-messages::-webkit-scrollbar {
    width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
    background: transparent;
}

.chat-messages::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 6px;
}

/* Improved footer links */
footer ul li a {
    display: inline-block;
    transition: all 0.3s ease;
}

footer ul li a:hover {
    transform: translateX(5px);
}

/* Improved sponsor logos */
.sponsor-logo {
    transition: all 0.5s ease;
}

.sponsor-logo:hover {
    transform: scale(1.1);
    filter: grayscale(0);
    opacity: 1;
}

/* Mobile Responsiveness Fixes */
@media (max-width: 1199.98px) {
    .section-title h2 {
        font-size: 2.2rem;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 991.98px) {
    :root {
        --section-padding: 60px 0;
    }

    .navbar-collapse {
        background-color: var(--light-color);
        padding: 15px;
        border-radius: var(--border-radius);
        box-shadow: var(--box-shadow);
    }

    .hero-section {
        height: auto;
        padding: 40px 0 80px;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 767.98px) {
    :root {
        --section-padding: 50px 0;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section .lead {
        font-size: 1.1rem;
    }

    .expo-buttons {
        flex-direction: column;
        align-items: center;
    }

    .expo-buttons .btn {
        width: 100%;
        margin-bottom: 10px;
    }

    .search-container,
    .chatbot-container {
        padding: 15px;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .newsletter h2 {
        font-size: 1.5rem;
    }

    footer {
        padding: 50px 0 20px;
    }
}

@media (max-width: 575.98px) {
    .hero-section h1 {
        font-size: 1.8rem;
    }

    .section-title h2 {
        font-size: 1.5rem;
    }

    .expo-space {
        padding: 20px;
    }

    .stat-item {
        padding: 10px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .scroll-top {
        width: 40px;
        height: 40px;
        bottom: 20px;
        right: 20px;
    }
}

/* ===== AI ASSISTANT CONTAINER ===== */
.ai-assistant-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.ai-assistant-container h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.chat-interface {
    background-color: #f9f9f9;
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
}

.chat-messages {
    height: 200px;
    overflow-y: auto;
    padding: 15px;
    background-color: #f9f9f9;
    scrollbar-width: thin;
    scrollbar-color: rgba(238, 126, 34, 0.3) transparent;
}

.chat-messages::-webkit-scrollbar {
    width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
    background: transparent;
}

.chat-messages::-webkit-scrollbar-thumb {
    background-color: rgba(238, 126, 34, 0.3);
    border-radius: 6px;
}

.chat-message {
    margin-bottom: 15px;
    max-width: 80%;
}

.bot-message {
    margin-left: auto;
}

.user-message p {
    background-color: var(--primary-color);
    color: white;
    padding: 10px 15px;
    border-radius: 15px 15px 0 15px;
    margin-bottom: 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.bot-message {
    background-color: #e9e9e9;
    color: var(--text-color);
    padding: 10px 15px;
    border-radius: 15px 15px 15px 0;
    margin-bottom: 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.chat-interface .input-group {
    padding: 10px;
    background-color: white;
    /* border-top: 1px solid #e0e0e0; */
}

.chat-interface .form-control {
    border: 1px solid #e0e0e0;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    padding: 12px 15px;
}

.chat-interface .form-control:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}

.chat-interface .btn {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    background-color: var(--primary-color);
    color: white;
    padding: 0 20px;
}

.chat-interface .btn:hover {
    background-color: #d06a15;
}

/* Full Screen Chat Styles */
.chat-fullscreen-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.chat-fullscreen-overlay.active {
    display: flex;
    opacity: 1;
    justify-content: center;
    align-items: center;
}

.chat-fullscreen-container {
    width: 90%;
    max-width: 800px;
    height: 90%;
    max-height: 800px;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.chat-fullscreen-overlay.active .chat-fullscreen-container {
    transform: scale(1);
}

.chat-fullscreen-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: var(--primary-color);
    color: var(--light-color);
}

.chat-fullscreen-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.btn-close-chat {
    background: none;
    border: none;
    color: var(--light-color);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    transition: transform 0.3s ease;
}

.btn-close-chat:hover {
    transform: rotate(90deg);
}

.chat-fullscreen-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background-color: #f9f9f9;
    scrollbar-width: thin;
    scrollbar-color: rgba(238, 126, 34, 0.3) transparent;
}

.chat-fullscreen-messages::-webkit-scrollbar {
    width: 8px;
}

.chat-fullscreen-messages::-webkit-scrollbar-track {
    background: transparent;
}

.chat-fullscreen-messages::-webkit-scrollbar-thumb {
    background-color: rgba(238, 126, 34, 0.3);
    border-radius: 8px;
}

.chat-fullscreen-input {
    padding: 15px;
    background-color: white;
    border-top: 1px solid #e0e0e0;
}

.chat-fullscreen-input .input-group {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.chat-fullscreen-input .form-control {
    border: none;
    padding: 15px;
    font-size: 1rem;
}

.chat-fullscreen-input .form-control:focus {
    box-shadow: none;
}

.chat-fullscreen-input .btn {
    padding: 0 25px;
    background-color: var(--primary-color);
    border: none;
}

.chat-fullscreen-input .btn:hover {
    background-color: #d06a15;
}

/* Animation for chat messages */
@keyframes messageIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-message {
    animation: messageIn 0.3s ease forwards;
}

/* Mobile Responsiveness for Chat */
@media (max-width: 767.98px) {
    .chat-fullscreen-container {
        width: 100%;
        height: 100%;
        max-width: none;
        max-height: none;
        border-radius: 0;
    }

    .chat-fullscreen-header {
        padding: 10px 15px;
    }

    .chat-fullscreen-header h3 {
        font-size: 1.1rem;
    }

    .chat-fullscreen-messages {
        padding: 15px;
    }

    .chat-fullscreen-input {
        padding: 10px;
    }

    .chat-fullscreen-input .form-control {
        padding: 12px;
    }
}

/* ===== COMPANIES PAGE STYLES ===== */

/* Page Header */
.page-header {
    background-color: var(--gray-color);
    padding: 100px 0 16px;
    margin-bottom: 0;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.breadcrumb {
    background-color: transparent;
    margin-bottom: 0;
}

.breadcrumb-item a {
    color: var(--primary-color);
}

.breadcrumb-item.active {
    color: var(--secondary-color);
}

/* Companies Intro Section */
.companies-intro {
    padding: 60px 0;
    background-color: var(--light-color);
}

.intro-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.intro-content p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.intro-stats {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.stat-box {
    text-align: center;
}

.stat-box .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    display: block;
    line-height: 1;
}

.stat-box .stat-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--secondary-color);
    text-transform: uppercase;
}

/* Swiper Slider */
.companies-slider {
    width: 100%;
    height: 350px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--gray-color);
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: scale-down;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--primary-color) !important;
}

.swiper-pagination-bullet-active {
    background-color: var(--primary-color) !important;
}

/* Companies Filter Section */
.companies-filter {
    padding: 30px 0;
    background-color: var(--gray-color);
}

.filter-container {
    background-color: var(--light-color);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.search-box {
    position: relative;
}

.search-box input {
    padding: 12px 20px;
    padding-right: 50px;
    /* border-radius: 50px; */
    border: 1px solid #e0e0e0;
    font-size: 1rem;
}

.search-box i {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    cursor: pointer;
}

.search-box i:last-child {
    right: 50px;

}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.btn-filter {
    padding: 8px 15px;
    border-radius: 50px;
    background-color: transparent;
    border: 1px solid #e0e0e0;
    color: var(--text-color);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.btn-filter:hover,
.btn-filter.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--light-color);
}

/* Companies Grid Section */
.companies-grid {
    padding: 60px 0;
    background-color: var(--light-color);
}

.company-item {
    margin-bottom: 30px;
}

.company-card {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.company-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.company-logo {
    position: relative;
    padding: 20px;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
}

.company-logo img {
    max-width: 100%;
    max-height: 160px;
    border-radius: 5px;
    object-fit: contain;
    transition: var(--transition);
}

.company-logo:hover img {
    transform: scale(1.05);
}

.logo-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--primary-color);
    color: var(--light-color);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 50px;
    z-index: 1;
}

.company-info {
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f0f0f0;
}

.company-name {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0;
    color: var(--dark-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 75%;
}

.company-actions {
    display: flex;
    gap: 10px;
}

.btn-location-action {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--light-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.btn-location-action:hover {
    background-color: var(--gray-color);
    color: var(--text-color);
}

.btn-action {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--gray-color);
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 1.25rem;

}

.btn-action:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
}

/* Load More Button */
#loadMoreBtn {
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

#loadMoreBtn:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
    transform: translateY(-3px);
}

/* Lightbox Customization */
.lb-data .lb-caption {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--light-color);
}

.lb-data .lb-number {
    font-size: 0.9rem;
    color: var(--light-color);
}

/* Companies Page Responsive Styles */
@media (max-width: 1199.98px) {
    .intro-content h2 {
        font-size: 1.8rem;
    }

    .stat-box .stat-number {
        font-size: 2.2rem;
    }

    .companies-slider {
        height: 300px;
    }
}

@media (max-width: 991.98px) {
    .page-header {
        padding: 100px 0 30px;
    }

    .companies-intro {
        padding: 50px 0;
    }

    .intro-stats {
        gap: 20px;
    }

    .stat-box .stat-number {
        font-size: 2rem;
    }

    .companies-slider {
        height: 280px;
        margin-top: 20px;
    }

    .filter-buttons {
        justify-content: flex-start;
    }
}

@media (max-width: 767.98px) {
    .page-header h1 {
        font-size: 2rem;
    }

    .intro-content h2 {
        font-size: 1.5rem;
    }

    .intro-content p {
        font-size: 1rem;
    }

    .intro-stats {
        flex-wrap: wrap;
        gap: 15px;
    }

    .stat-box {
        flex: 1 0 calc(33.333% - 15px);
    }

    .stat-box .stat-number {
        font-size: 1.8rem;
    }

    .companies-slider {
        height: 250px;
    }

    .filter-buttons {
        overflow-x: auto;
        padding-bottom: 5px;
        justify-content: flex-start;
        flex-wrap: nowrap;
    }

    .btn-filter {
        white-space: nowrap;
    }

    .company-logo {
        height: 180px;
    }

    .company-logo img {
        max-height: 140px;
    }

    .company-name {
        font-size: 0.9rem;
        max-width: 50%;
    }

    .company-actions {
        gap: 5px;
    }

    /* .btn-action {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    } */
}

@media (max-width: 575.98px) {
    .page-header {
        padding: 100px 0 20px;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    .companies-intro {
        padding: 40px 0;
    }

    .intro-content h2 {
        font-size: 1.3rem;
    }

    .stat-box .stat-number {
        font-size: 1.5rem;
    }

    .stat-box .stat-label {
        font-size: 0.8rem;
    }

    .companies-slider {
        height: 200px;
    }

    .company-logo {
        height: 160px;
        padding: 15px;
    }

    .company-logo img {
        max-height: 120px;
    }

    .company-info {
        padding: 10px;
    }

    .company-name {
        font-size: 0.8rem;
        max-width: 45%;
    }

    /* .btn-action {
        width: 25px;
        height: 25px;
        font-size: 0.7rem;
    } */
}