/* Sections General Styling */
section {
    padding: 60px 0;
}

.section-title {
    font-family: var(--font-heading);
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 40px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* About Section */
#about {
    background-color: var(--light-accent-color);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.about-item {
    background-color: #fff;
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.about-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    filter: invert(25%) sepia(84%) saturate(1400%) hue-rotate(195deg) brightness(90%) contrast(95%); /* Primary Color tint */
}

.about-item h3 {
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    overflow: hidden;
    text-align: center;
    padding: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-card img {
    width: 80px; 
    height: 80px;
    object-fit: contain;
    margin-bottom: 20px;
    filter: grayscale(50%) opacity(0.7); 
    transition: filter 0.3s ease;
}

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

.service-card h3 {
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.service-card p {
    font-size: 0.95rem;
    color: #555;
    padding: 0 10px;
}

/* Products Section */
#products {
    background-color: var(--light-accent-color);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.product-card {
    background-color: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    text-align: center;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.product-card img {
    width: 100%;
    max-width: 200px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 15px;
    border-radius: 4px;
}

.product-card h3 {
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.product-card p {
    font-size: 0.9rem;
    color: #555;
}

.text-center {
    text-align: center;
}

/* References and Partners Section */
#references, #partners {
    background-color: var(--background-color); 
}

#partners {
    background-color: var(--light-accent-color);
}

/* Contact Section */
#contact {
    background-color: var(--primary-color);
    color: var(--light-text-color);
    padding-bottom: 80px; 
}

#contact .section-title {
    color: var(--light-text-color);
}

#contact .section-title::after {
    background-color: var(--accent-color);
}

#contact .section-subtitle {
    color: #e0e0e0;
}

.map-container {
    margin: 30px auto;
    max-width: 800px; 
    border-radius: var(--border-radius);
    overflow: hidden; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.map-container iframe {
    width: 100%;
    height: 350px; 
    display: block; 
}

.contact-details-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.contact-info {
    max-width: 600px;
    margin: 0 auto; 
    text-align: center;
    font-size: 1.1rem;
}

.contact-info p {
    margin-bottom: 10px;
}

.contact-info a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #fff;
    text-decoration: underline;
}

.contact-actions {
    text-align: center;
}

.contact-social-links {
    text-align: center;
    margin-top: 30px;
}

.contact-social-links h3 {
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 1.3rem;
    color: var(--light-text-color);
    margin-bottom: 15px;
}

.contact-social-links a {
    margin: 0 12px;
    display: inline-block;
}

.contact-social-links img {
    width: 30px; 
    height: 30px;
    filter: grayscale(100%) invert(90%) sepia(10%) saturate(100%) hue-rotate(180deg); 
    transition: filter 0.3s ease, transform 0.3s ease;
}

.contact-social-links a:hover img {
    filter: grayscale(0%) invert(0%) brightness(1.2); 
    transform: scale(1.2);
}