:root {
    --primary-color: #0052cc; /* Blue from logo */
    --secondary-color: #0041a3; /* Darker blue */
    --accent-color: #c2185b; /* Red from logo */
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --font-family: 'Montserrat', sans-serif;
}

body {
    font-family: var(--font-family);
    margin: 0;
    padding: 0;
    background-color: var(--light-color);
    color: var(--dark-color);
    line-height: 1.6;
}

header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 1rem 5%;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 100px!important;
    width: auto;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 700;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-color);
}

main {
    padding: 2rem 5%;
}

section {
    padding: 4rem 0;
    text-align: center;
}

.hero {
    background-image: linear-gradient(to right, rgba(0, 82, 204, 0.8), rgba(0, 65, 163, 0.8)), url('../images/hero-background.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 6rem 1rem;
    border-radius: 8px;
    text-align: center;
    overflow: hidden;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-button {
    background-color: var(--accent-color);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 700;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #04a8c1;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

#about p {
    max-width: 800px;
    margin: 0 auto;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    text-align: left;
}

.card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.service-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
    filter: invert(25%) sepia(98%) saturate(2849%) hue-rotate(206deg) brightness(96%) contrast(101%);
}

#industries {
    background-color: #fff;
    padding: 4rem 0;
}

.industry-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    text-align: center;
    padding: 0 5%;
}

.industry-card {
    padding: 2rem;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    position: relative;
    color: white;
    z-index: 1;
    overflow: hidden;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.industry-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: -1;
}

.industry-card h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}


.contact-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    text-align: left;
}

.contact-form {
    flex: 1;
    padding: 2rem;
}

.contact-form h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 2rem;
    text-align: center;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
    font-weight: 700;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ced4da;
    border-radius: 5px;
    font-family: var(--font-family);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box; /* Ensure padding doesn't increase width */
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 82, 204, 0.25);
    outline: none;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form .cta-button {
    align-self: center;
    width: auto;
    min-width: 200px;
    margin-top: 1rem;
    cursor:pointer;
}

@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
        gap: 2rem;
    }
}


footer {
    text-align: center;
    padding: 2rem 0;
    margin-top: 2rem;
    background-color: var(--dark-color);
    color: white;
}

.footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: 1rem;
}

.about-text ul li{
    list-style:none;
}
.detail-container ul li{
    list-style:none;
}
.industry-list-container{ 
    display:flex;
    justify-content:center;
    align-items:center;
    flex-wrap:wrap;
}
.industry-item{
    width:25%;
    margin:15px;
    padding:50px;
    position:relative;
}
 

.industry-item h3{color:white!important;}

@media (max-width: 768px) {
   .industry-item{
       width:100%;
   } 
}
