/* Porto Demo 11 Color Palette */
:root {
    --porto-primary: #0088cc;
    --porto-dark: #222529;
    --porto-light: #f4f4f4;
    --porto-white: #ffffff;
    --porto-gray: #777777;
    --porto-border: #e7e7e7;
    --porto-success: #28a745;
}

body {
    background-color: var(--porto-white);
    color: var(--porto-dark);
    font-family: 'Open Sans', 'Poppins', sans-serif;
    line-height: 1.6;
}

/* Header */
.navbar-top {
    background-color: var(--porto-dark);
    color: var(--porto-white);
    font-size: 0.8rem;
    padding: 8px 0;
}

.navbar-main {
    background-color: var(--porto-white);
    border-bottom: 1px solid var(--porto-border);
    padding: 20px 0;
}

.navbar-brand img {
    max-height: 45px;
}

.nav-link {
    color: var(--porto-dark) !important;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    padding: 10px 15px !important;
}

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

/* Icons & Badges */
.header-icon {
    font-size: 1.5rem;
    color: var(--porto-dark);
    position: relative;
    margin-left: 20px;
    text-decoration: none;
}

.header-icon .badge {
    position: absolute;
    top: -5px;
    right: -10px;
    font-size: 0.65rem;
    background-color: var(--porto-primary);
    border-radius: 50%;
    padding: 4px 6px;
}

/* Hero Slider */
.hero-slider {
    margin-bottom: 30px;
}

.hero-slider .carousel-item {
    height: 450px;
    background-size: cover;
    background-position: center;
}

.hero-slider .carousel-caption {
    background: transparent;
    text-align: left;
    left: 10%;
    right: auto;
    bottom: 25%;
    max-width: 500px;
    padding: 0;
}

.hero-slider .display-4 {
    font-weight: 800;
    color: var(--porto-dark);
    margin-bottom: 20px;
}

.hero-slider p {
    color: var(--porto-gray);
    font-size: 1.1rem;
}

/* Service Info Section */
.info-box {
    border: 1px solid var(--porto-border);
    padding: 25px;
    text-align: center;
    transition: all 0.3s;
}

.info-box:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.info-box i {
    font-size: 2.5rem;
    color: var(--porto-primary);
    margin-bottom: 15px;
}

.info-box h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 5px;
}

/* Category Cards */
.category-box {
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
    background: var(--porto-light);
    border-radius: 4px;
}

.category-box img {
    width: 100%;
    transition: transform 0.5s;
}

.category-box:hover img {
    transform: scale(1.05);
}

.category-content {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 10;
}

.category-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
}

/* Product Card */
.product-card {
    border: none;
    transition: all 0.3s;
    margin-bottom: 30px;
}

.product-card .img-container {
    position: relative;
    overflow: hidden;
}

.product-card img {
    width: 100%;
    transition: transform 0.3s;
}

.product-card:hover img {
    transform: scale(1.05);
}

.product-card .card-body {
    padding: 15px 0;
}

.product-card .card-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.product-card .price {
    color: var(--porto-primary);
    font-size: 1.2rem;
    font-weight: 700;
}

/* Footer */
footer {
    background-color: var(--porto-dark);
    color: #999;
    padding: 60px 0 20px;
}

footer h5 {
    color: var(--porto-white);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 25px;
}

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

footer a:hover {
    color: var(--porto-primary);
}

/* Buttons */
.btn-porto {
    background-color: var(--porto-primary);
    color: var(--porto-white);
    border-radius: 0;
    font-weight: 700;
    text-transform: uppercase;
    padding: 12px 30px;
    border: none;
}

.btn-porto:hover {
    background-color: #0077b3;
    color: var(--porto-white);
}

/* Utilities */
.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-weight: 800;
    font-size: 1.8rem;
    position: relative;
    padding-bottom: 15px;
}

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