:root {
    --primary: #0047AB;
    --secondary: #FF6B00;
    --accent: #00A651;
    --light: #f8f9fa;
    --dark: #212529;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    padding-top: 80px;
}

.navbar {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 15px 0;
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary) !important;
}

.navbar-brand span {
    color: var(--secondary);
}

.nav-link {
    font-weight: 500;
    margin: 0 10px;
    color: var(--dark) !important;
}

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

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

.btn-primary:hover {
    background-color: #00388a;
    border-color: #00388a;
}

.btn-secondary {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: white;
}

.btn-secondary:hover {
    background-color: #e55a00;
    border-color: #e55a00;
    color: white;
}

.hero-section {
    background: linear-gradient(rgba(0, 71, 171, 0.8), rgba(0, 71, 171, 0.8)), url('https://images.unsplash.com/photo-1563014959-7aaa83350992?ixlib=rb-4.0.3') center/cover no-repeat;
    color: white;
    padding: 100px 0;
    border-radius: 0 0 20px 20px;
}

.section-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
    text-align: center;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--secondary);
}

.service-card {
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.feature-list li:before {
    content: '✓';
    color: var(--accent);
    font-weight: bold;
    margin-right: 10px;
}

.testimonial-card {
    background-color: var(--light);
    padding: 25px;
    border-radius: 10px;
    margin: 15px;
    position: relative;
}

.testimonial-card:after {
    content: ''';
    position: absolute;
    bottom: -20px;
    left: 20px;
    font-size: 100px;
    color: var(--primary);
    opacity: 0.1;
    font-family: Arial;
    transform: rotate(180deg);
}

.footer {
    background-color: var(--dark);
    color: white;
    padding: 60px 0 30px;
}

.footer a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
}

.footer a:hover {
    color: white;
    text-decoration: underline;
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s;
}

.social-icons a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.product-card {
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s;
    height: 100%;
}

.product-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

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

.price {
    color: var(--primary);
    font-weight: 600;
    font-size: 1.2rem;
}

.kra-badge {
    background: var(--accent);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.tab-content {
    padding: 20px;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 5px 5px;
}

.nav-tabs .nav-link.active {
    background: var(--primary);
    color: white;
    border: 1px solid var(--primary);
}

.page-header {
    background: linear-gradient(rgba(0, 71, 171, 0.8), rgba(0, 71, 171, 0.8)), url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?ixlib=rb-4.0.3') center/cover no-repeat;
    color: white;
    padding: 100px 0 60px;
    margin-top: -80px;
    padding-top: 180px;
}

@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .page-header {
        padding: 120px 0 40px;
        padding-top: 160px;
    }
}