/* General Styles */
:root {
    --primary-color: #3654b7;
    --primary-dark: #2a4493;
    --primary-light: #5b78ce;
    --secondary-color: #333333;
    --background-color: #ffffff;
    --light-gray: #f5f5f5;
    --medium-gray: #cccccc;
    --dark-gray: #555555;
    --text-color: #333333;
    --light-text: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 15px;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
    color: var(--text-color);
}

h2 {
    font-size: 2rem;
    color: var(--text-color);
}

h3 {
    font-size: 1.3rem;
    color: var(--dark-gray);
    font-weight: normal;
}

h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: bold;
}

p {
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

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

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style-type: none;
    margin-bottom: 15px;
}

section {
    padding: 50px 0;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-block;
    color: var(--primary-color);
    padding: 8px 16px;
    border: none;
    background: none;
    cursor: pointer;
    position: relative;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    color: var(--primary-dark);
}

.btn-secondary::after {
    content: '→';
    margin-left: 5px;
    transition: all 0.3s ease;
}

.btn-secondary:hover::after {
    margin-left: 10px;
}

/* Header */
header {
    background-color: var(--background-color);
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: bold;
}

nav ul {
    display: flex;
    margin: 0;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: var(--text-color);
    font-weight: bold;
    font-size: 0.9rem;
}

nav ul li a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background-color: var(--light-gray);
    padding: 60px 0;
}

.hero h1 {
    margin-bottom: 20px;
    max-width: 800px;
}

.hero p {
    max-width: 800px;
    margin-bottom: 30px;
}

/* Industries Section */
.industries {
    background-color: var(--background-color);
}

.industries h2 {
    margin-bottom: 10px;
}

.industries h3 {
    margin-bottom: 20px;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.industry-card {
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

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

.industry-card h4 {
    margin-bottom: 10px;
}

/* Services Section */
.services {
    background-color: var(--light-gray);
}

.services h2 {
    margin-bottom: 10px;
}

.services h3 {
    margin-bottom: 20px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.service-card {
    background-color: var(--background-color);
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

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

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-info {
    padding: 20px;
}

.service-info h4 {
    margin-bottom: 10px;
}

/* About Us Section */
.about-us {
    background-color: var(--background-color);
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.about-image {
    flex: 1;
    min-width: 300px;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text h2 {
    margin-bottom: 10px;
}

.about-text h3 {
    margin-bottom: 20px;
}

.about-text h4 {
    margin-top: 20px;
    margin-bottom: 10px;
}

.about-text ul {
    padding-left: 20px;
}

.about-text ul li {
    margin-bottom: 10px;
    position: relative;
}

.about-text ul li::before {
    content: "•";
    position: absolute;
    left: -15px;
    color: var(--primary-color);
}

/* Blog Section */
.blog {
    background-color: var(--light-gray);
}

.blog h2 {
    margin-bottom: 10px;
}

.blog h3 {
    margin-bottom: 20px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.blog-card {
    background-color: var(--background-color);
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

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

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-info {
    padding: 20px;
}

.blog-info h4 {
    margin-bottom: 10px;
}

.read-more {
    display: inline-block;
    margin-top: 10px;
    font-weight: bold;
    color: var(--primary-color);
}

.read-more:hover {
    color: var(--primary-dark);
}

/* Contact Section */
.contact {
    background-color: var(--background-color);
}

.contact h2 {
    margin-bottom: 10px;
}

.contact h3 {
    margin-bottom: 20px;
}

.contact-form {
    max-width: 600px;
    margin: 30px auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--medium-gray);
    border-radius: 5px;
}

.form-group textarea {
    resize: vertical;
}

.form-group.location,
.form-group.phone,
.form-group.email {
    display: flex;
    align-items: center;
}

.form-group.location p,
.form-group.phone p,
.form-group.email p {
    display: flex;
    align-items: center;
    margin: 0;
}

.form-group.location img,
.form-group.phone img,
.form-group.email img {
    margin-right: 10px;
}

/* Thank You Page */
.thank-you {
    padding: 80px 0;
    text-align: center;
}

.thank-you-content {
    max-width: 800px;
    margin: 0 auto;
}

.thank-you-content h1 {
    margin-bottom: 20px;
}

.thank-you-content p {
    margin-bottom: 15px;
}

.thank-you-content a.btn-secondary {
    margin-top: 20px;
}

/* Legal Pages */
.legal-page {
    padding: 50px 0;
}

.legal-page h1 {
    margin-bottom: 30px;
    text-align: center;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h2 {
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.legal-content p {
    margin-bottom: 15px;
}

.legal-content ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.legal-content ul li {
    margin-bottom: 10px;
    position: relative;
}

.legal-content ul li::before {
    content: "•";
    position: absolute;
    left: -15px;
    color: var(--primary-color);
}

/* Footer */
footer {
    background-color: var(--light-gray);
    padding: 20px 0;
    border-top: 1px solid var(--medium-gray);
}

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

.copyright {
    font-size: 0.9rem;
    color: var(--dark-gray);
}

.footer-links a {
    margin-left: 20px;
    font-size: 0.9rem;
    color: var(--dark-gray);
}

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

/* Responsive Styles */
@media (max-width: 991px) {
    .services-grid, .blog-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    
    nav ul {
        margin-top: 15px;
        justify-content: center;
    }
    
    nav ul li {
        margin: 0 10px;
    }
    
    .hero {
        padding: 40px 0;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .industries-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-links {
        margin-top: 15px;
    }
    
    .footer-links a {
        margin: 0 10px;
    }
}

@media (max-width: 576px) {
    section {
        padding: 40px 0;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .industries-grid, .services-grid, .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .industry-card, .service-card, .blog-card {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .contact-form {
        padding: 0 15px;
    }
}