/* Main Styles for P Square Pharma Website */

/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}

a {
    transition: all 0.3s ease;
}

.section-title {
    position: relative;
    margin-bottom: 30px;
    padding-bottom: 15px;
    font-weight: 700;
    color: #0056b3;
}

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

/* Header Styles */
.navbar-brand img {
    max-height: 60px;
}

.navbar .nav-link {
    font-weight: 600;
    padding: 0.5rem 1rem;
}

.navbar .nav-item.active .nav-link {
    color: #0056b3;
}

/* Hero Slider */
.hero-slider {
    position: relative;
}

.carousel-item {
    height: 500px;
    background-size: cover;
    background-position: center;
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
}

.carousel-caption {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 5px;
    bottom: 20%;
}

.carousel-caption h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

/* Welcome Section */
.welcome-section img {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Innovation Section */
.innovation-section img {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Performance Section */
.counter-box {
    padding: 20px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.counter-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.counter {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0056b3;
}

/* Clients Section */
.client-logo {
    padding: 20px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-logo img {
    max-height: 100px;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.client-logo:hover img {
    filter: grayscale(0%);
}

/* Certification Section */
.certification-item {
    padding: 10px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Blog Section */
.blog-card {
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

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

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

/* Footer Styles */
footer {
    background-color: #343a40;
}

footer h5 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

footer h5:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: #0056b3;
}

footer ul li {
    margin-bottom: 10px;
}

footer a {
    color: #fff;
    text-decoration: none;
}

footer a:hover {
    color: #0056b3;
    text-decoration: none;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .carousel-caption h1 {
        font-size: 1.8rem;
    }
    
    .carousel-caption p {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .carousel-caption h1 {
        font-size: 1.5rem;
    }
    
    .carousel-item {
        height: 350px;
    }
}