:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --accent-color: #f39c12;
    --dark-color: #343a40;
    --light-color: #f8f9fa;
    --gradient-blue: linear-gradient(135deg, #007bff 0%, #0062cc 100%);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    background-color: #fdfdfd;
}

/* Header */
.top-bar {
    font-size: 0.9rem;
    border-bottom: 1px solid #eee;
}

.navbar-brand {
    font-weight: 800;
    letter-spacing: -0.5px;
}

.nav-link {
    font-weight: 500;
    color: #555 !important;
    transition: color 0.3s;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
    background: var(--gradient-blue);
    min-height: 500px;
    padding: 80px 0;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/hero-bg-pattern.png') repeat; /* Optional pattern */
    opacity: 0.1;
}

.search-box {
    position: relative;
    z-index: 10;
}

.form-control:focus, .form-select:focus {
    box-shadow: none;
    border-color: #ddd;
}

/* Categories Slider */
.categories-wrapper {
    scrollbar-width: thin;
    scrollbar-color: #ccc transparent;
}

.category-card {
    min-width: 100px;
    transition: transform 0.3s;
}

.category-card:hover {
    transform: translateY(-5px);
}

.icon-box {
    width: 70px;
    height: 70px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Featured Companies */
.company-card {
    transition: all 0.3s ease;
    border-radius: 10px;
    overflow: hidden;
}

.company-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

.company-card img {
    height: 200px;
    object-fit: cover;
}

.favorite-btn {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.favorite-btn:hover {
    background-color: #ffeaea;
}

/* Special Categories */
.category-special-card {
    height: 250px;
    border-radius: 15px;
    transition: transform 0.3s;
}

.category-special-card:hover {
    transform: scale(1.02);
}

.category-special-card img {
    height: 100%;
    object-fit: cover;
}

.gradient-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 20px;
}

.icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

/* New Companies */
.company-card-small {
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s;
}

.company-card-small:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1) !important;
}

/* Events */
.event-card {
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

.event-card img {
    height: 200px;
    object-fit: cover;
}

/* Blog */
.blog-card {
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

.blog-card img {
    height: 200px;
    object-fit: cover;
}

/* Footer */
footer {
    background-color: #1a1a1a;
}

.hover-white:hover {
    color: white !important;
}

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    color: white;
    transform: scale(1.1);
}
