/* Main Styles */
:root {
    --primary: #1a73e8;
    --primary-light: #e8f0fe;
    --secondary: #20c997;
    --secondary-light: #e6f8f5;
    --dark: #343a40;
    --light: #f8f9fa;
    --gray: #6c757d;
    --success: #28a745;
    --warning: #ffc107;
    --danger: #dc3545;
}

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

/* Animations */
.company-card, .offer-card, .package-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Header & Navigation */
.navbar {
    padding: 15px 0;
}

.navbar-brand img {
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.nav-link {
    font-weight: 500;
    padding: 8px 16px !important;
    border-radius: 4px;
    transition: all 0.3s ease;
}

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

/* Hero Section */
.hero-section {
    padding: 80px 0;
    background-color: #f5f9ff;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 35%;
    height: 100%;
    background-color: var(--primary-light);
    clip-path: polygon(100% 0, 0 0, 100% 100%);
    z-index: 0;
}

/* Section Titles */
.section-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
    font-weight: 600;
    color: var(--dark);
}

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

/* Company Cards */
.company-logo {
    height: 80px;
    object-fit: contain;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.company-card:hover .company-logo {
    transform: scale(1.1);
}

.company-detail-logo {
    height: 60px;
    object-fit: contain;
}

/* Offer Cards */
.offer-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.ribbon {
    position: absolute;
    z-index: 1;
    overflow: hidden;
    width: 150px;
    height: 150px;
}

.ribbon span {
    position: absolute;
    display: block;
    width: 225px;
    padding: 8px 0;
    background-color: var(--danger);
    color: #fff;
    text-align: center;
    font-size: 12px;
    font-weight: bold;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.ribbon-top-right {
    top: -10px;
    right: -10px;
}

.ribbon-top-right span {
    left: -25px;
    top: 30px;
    transform: rotate(45deg);
}

/* Package List */
.package-tests-list {
    max-height: 130px;
    overflow: hidden;
    padding-left: 20px;
}

.view-more-tests {
    cursor: pointer;
    color: var(--primary);
    display: block;
    margin-top: 8px;
}

.sticky-top {
    top: 20px;
    z-index: 100;
}

.package-categories .btn {
    margin-right: 6px;
    margin-bottom: 6px;
}

/* Feature Boxes */
.feature-box {
    padding: 20px;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.feature-icon i {
    font-size: 24px;
    color: var(--primary);
}

/* Testimonials */
.testimonial-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.rating i {
    font-size: 14px;
}

/* Footer */
.footer-heading {
    position: relative;
    padding-bottom: 12px;
    font-weight: 600;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary);
}

.social-icons a {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

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

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 40px 0;
        text-align: center;
    }
    
    .hero-section::before {
        display: none;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .company-logo {
        height: 60px;
    }
}

@media (max-width: 576px) {
    .navbar {
        padding: 10px 0;
    }
    
    .feature-box {
        margin-bottom: 20px;
    }
}