/* business.css */

.business-hero {
    background: linear-gradient(rgba(0, 90, 156, 0.85), rgba(0, 90, 156, 0.85)), url('../images/hero.png') no-repeat center center/cover;
    padding: 100px 20px;
    text-align: center;
    color: white;
}

.business-hero h1 {
    font-size: 42px;
    margin-bottom: 15px;
    font-weight: 700;
}

.business-hero p {
    font-size: 18px;
    opacity: 0.9;
}

.products-section {
    padding: 60px 20px;
    text-align: center;
}

.products-section h2 {
    font-size: 32px;
    color: #005A9C;
    margin-bottom: 40px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.product-tile {
    background: white;
    padding: 30px 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #eef2f6;
    transition: all 0.3s ease;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.product-tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 90, 156, 0.15);
    border-color: #d1e3f2;
}

.product-category {
    display: inline-block;
    background: #e3f2fd;
    color: #1e88e5;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 15px;
    align-self: flex-start;
}

.product-tile h3 {
    margin: 0 0 10px 0;
    font-size: 22px;
    color: #333;
}

.product-short {
    color: #666;
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

.product-details {
    display: none;
    background: #f8fbff;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 3px solid #1e88e5;
    color: #444;
    font-size: 14px;
    line-height: 1.6;
    overflow: hidden;
    animation: fadeIn 0.4s ease forwards;
}

.know-more-btn {
    background: transparent;
    color: #005A9C;
    border: 2px solid #005A9C;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
    font-family: 'Inter', sans-serif;
}

.know-more-btn:hover {
    background: #005A9C;
    color: white;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .product-grid, .specialty-grid {
        grid-template-columns: 1fr;
    }
}

/* Specialities Grid Styling */
.specialty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.specialty-tile {
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #eef2f6;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 250px;
}

.specialty-tile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #1e88e5, #005A9C);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.specialty-tile:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 90, 156, 0.15);
    border-color: #d1e3f2;
}

.specialty-tile:hover::before {
    transform: scaleX(1);
}

.specialty-icon {
    font-size: 48px;
    margin-bottom: 20px;
    color: #1e88e5;
    background: rgba(30, 136, 229, 0.1);
    width: 90px;
    height: 90px;
    line-height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin-left: auto;
    margin-right: auto;
}

.specialty-tile:hover .specialty-icon {
    background: #1e88e5;
    color: #ffffff;
    transform: scale(1.1);
}

.specialty-tile h3 {
    margin: 0 0 15px 0;
    font-size: 24px;
    color: #333;
    font-weight: 700;
}

.specialty-desc {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}
