/* Welcome Page Styles */

/* Hero Section */
.hero-section {
    background-color: #f8f9fa;
    padding: 4rem 0;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.hero-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,123,255,0.1) 0%, rgba(0,0,0,0) 100%);
    z-index: 0;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    color: var(--dark-color, #343a40);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-section .lead {
    color: #6c757d;
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.hero-section img {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease;
}

.hero-section img:hover {
    transform: translateY(-5px);
}

/* Product Cards */
.product-card {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    background-color: #fff;
}

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

.product-image {
    height: 200px;
    overflow: hidden;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

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

.product-description {
    color: #6c757d;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

/* Service Cards */
.service-card {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    background-color: #fff;
}

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

.service-icon {
    color: var(--primary-color, #007bff);
}

.service-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.service-description {
    color: #6c757d;
    font-size: 0.95rem;
}

/* Testimonial Cards */
.testimonial-card {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    background-color: #fff;
    position: relative;
}

.testimonial-card:before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 15px;
    font-size: 3rem;
    color: #f0f0f0;
    font-family: Georgia, serif;
    z-index: 0;
    opacity: 0.5;
}

.testimonial-content {
    position: relative;
    z-index: 1;
}

.testimonial-author h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0;
}

.testimonial-author .company {
    color: #6c757d;
    font-size: 0.9rem;
}

/* Partners Section */
.partners-section {
    background-color: #f8f9fa;
    padding: 3rem 0;
    border-radius: 8px;
}

.partner-logo {
    padding: 1rem;
    background-color: white;
    border-radius: 8px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.partner-logo img {
    max-height: 60px;
    max-width: 100%;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.partner-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* News Section */
.news-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: white;
    height: 100%;
}

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

.news-image {
    position: relative;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.news-date {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: rgba(0, 123, 255, 0.9);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    text-align: center;
    line-height: 1.2;
}

.news-date .day {
    display: block;
    font-size: 1.2rem;
    font-weight: bold;
}

.news-date .month {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.news-content h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.news-content p {
    color: #6c757d;
    margin-bottom: 1rem;
}

.news-content .btn-link {
    color: #007bff;
    padding: 0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-content .btn-link:hover {
    color: #0056b3;
}

/* Counter Section */
.counter-section {
    background-color: #f8f9fa;
    border-radius: 8px;
}

.counter-item {
    padding: 1.5rem;
    transition: transform 0.3s ease;
}

.counter-item:hover {
    transform: translateY(-10px);
}

.counter-icon {
    color: var(--primary-color, #007bff);
    margin-bottom: 1rem;
}

.counter-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #343a40;
    margin-bottom: 0.5rem;
}

.counter-text {
    color: #6c757d;
    font-size: 1.1rem;
}

/* FAQ Section */
.faq-section {
    padding: 2rem 0;
}

.accordion-item {
    border: 1px solid rgba(0,0,0,.125);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,.05);
    transition: all 0.3s ease;
}

.accordion-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,.1);
}

.accordion-button {
    font-weight: 600;
    padding: 1.25rem 1.5rem;
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-color, #007bff);
    color: white;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0,0,0,.125);
}

.accordion-body {
    padding: 1.5rem;
    background-color: #f8f9fa;
}

/* Call to Action Section */
.cta-section {
    background-color: var(--primary-color, #007bff);
    color: white;
    border-radius: 8px;
    padding: 3rem 2rem;
    margin: 0 1rem;
}

.cta-title {
    font-size: 2rem;
    font-weight: 700;
}

.cta-text {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

.cta-section .btn-primary {
    background-color: white;
    color: var(--primary-color, #007bff);
    border-color: white;
    font-weight: 600;
    padding: 10px 30px;
}

.cta-section .btn-primary:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

/* Section Headers */
.section-header {
    margin-bottom: 2rem;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark-color, #343a40);
}

.section-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    max-width: 700px;
    margin: 0 auto;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .cta-title {
        font-size: 1.6rem;
    }
    
    .product-image {
        height: 180px;
    }
}
