/* Global Styles */
:root {
    --primary-color: #e8491d;
    --secondary-color: #35424a;
    --accent-color: #4caf50;
    --light-color: #f4f4f4;
    --dark-color: #333;
    --text-color: #333;
    --border-color: #ddd;
    --success-color: #4caf50;
    --error-color: #e53935;
    --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    text-align: center;
}

body {
    font-family: 'Open Sans', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
    text-align: center;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    text-align: center;
}

/* Utility Classes */
.btn {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.btn:hover {
    background: #d43d0d;
}

.btn-primary {
    background: var(--primary-color);
}

.btn-secondary {
    background: var(--secondary-color);
}

.text-center {
    text-align: center;
}

.highlight {
    color: var(--primary-color);
}

/* Header Styles */
header {
    background: var(--secondary-color);
    color: white;
    padding-top: 15px;
    border-bottom: 3px solid var(--primary-color);
    text-align: center;
}

header a {
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 14px;
    text-align: center;
}

header ul {
    list-style: none;
    text-align: center;
}

header li {
    display: inline-block;
    padding: 0 20px;
    position: relative;
    text-align: center;
}

header #branding {
    float: none;
    display: inline-block;
    text-align: center;
}

header #branding h1 {
    margin: 0;
    font-size: 2rem;
    text-align: center;
}

header nav {
    float: none;
    margin-top: 10px;
    text-align: center;
    display: block;
}

header .current a {
    color: var(--primary-color);
    font-weight: bold;
}

header a:hover {
    color: #ccc;
}

/* Dropdown Styles */
.dropdown {
    position: relative;
    display: inline-block;
    text-align: center;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--secondary-color);
    min-width: 220px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 100;
    left: 50%;
    transform: translateX(-50%);
    top: 100%;
    padding: 10px 0;
    border-top: 3px solid var(--primary-color);
    text-align: center;
}

.dropdown-content li {
    padding: 0;
    display: block;
    text-align: center;
}

.dropdown-content a {
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    display: block;
    text-align: center;
}

.dropdown-content a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--primary-color);
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Email Signup */
.email-signup {
    background: rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.header-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    text-align: center;
}

.header-form h3 {
    margin: 0 0 10px 0;
    font-size: 18px;
    font-weight: 400;
    text-align: center;
}

.form-group {
    display: flex;
    width: 100%;
    max-width: 500px;
    justify-content: center;
}

.form-group input[type="email"] {
    flex-grow: 1;
    padding: 8px 15px;
    border: none;
    border-radius: 4px 0 0 4px;
    font-size: 14px;
    text-align: center;
}

.btn-subscribe {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
    text-align: center;
}

.btn-subscribe:hover {
    background: #d43d0d;
}

/* Page Header */
#page-header {
    background: var(--dark-color);
    color: white;
    padding: 40px 0;
    text-align: center;
}

#page-header h1 {
    margin-bottom: 10px;
    font-size: 2.5rem;
    text-align: center;
}

#page-header p {
    font-size: 1.2rem;
    opacity: 0.8;
    text-align: center;
}

.breadcrumb {
    margin-bottom: 20px;
    font-size: 14px;
    opacity: 0.7;
    text-align: center;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
    text-align: center;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Grid Layouts */
.grid, .features-grid, .services-grid, .applications-grid, .areas-grid, .testimonial-grid {
    display: grid;
    grid-gap: 20px;
    margin: 30px 0;
    justify-items: center;
}

.features-grid, .services-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.testimonial-grid {
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
}

.areas-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

/* Services and Features */
.service-card, .feature, .application, .area {
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: transform 0.3s ease;
}

.service-card:hover, .feature:hover {
    transform: translateY(-5px);
}

.service-card i, .feature i, .application i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: block;
    text-align: center;
}

.service-card h3, .feature h3, .application h3 {
    margin-bottom: 10px;
    color: var(--secondary-color);
    text-align: center;
}

/* Testimonials */
.testimonial {
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: var(--box-shadow);
    position: relative;
    text-align: center;
}

.testimonial p {
    margin-bottom: 15px;
    font-style: italic;
    text-align: center;
}

.testimonial p.client {
    font-weight: bold;
    color: var(--primary-color);
    font-style: normal;
    text-align: center;
}

.testimonial:before {
    content: '\201C';
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 4rem;
    color: rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;
}

/* Sections */
section {
    padding: 50px 0;
    text-align: center;
}

section h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--secondary-color);
    font-size: 2rem;
}

section#service-description {
    background: var(--light-color);
}

.service-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.service-content p {
    margin-bottom: 20px;
    max-width: 800px;
    text-align: center;
}

.service-image {
    margin: 20px 0;
    max-width: 800px;
    text-align: center;
}

.responsive-image {
    width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: var(--box-shadow);
}

/* Call to Action */
.cta-container {
    text-align: center;
    max-width: 800px;
}

.cta-buttons {
    margin-top: 20px;
    text-align: center;
}

.or-call {
    margin-top: 15px;
    font-size: 1.1rem;
    text-align: center;
}

/* Footer */
footer {
    background: var(--secondary-color);
    color: white;
    padding: 40px 0 20px;
    text-align: center;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-gap: 30px;
    margin-bottom: 30px;
    justify-items: center;
}

.footer-section h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
    text-align: center;
}

.footer-section p {
    margin-bottom: 10px;
    text-align: center;
}

.footer-section ul {
    list-style: none;
    text-align: center;
}

.footer-section ul li {
    margin-bottom: 10px;
    text-align: center;
}

.footer-section a {
    color: white;
    text-decoration: none;
    text-align: center;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.social-links a {
    font-size: 1.5rem;
    margin-right: 15px;
    text-align: center;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

/* Media Queries */
@media(max-width: 768px) {
    header #branding,
    header nav,
    header nav li {
        float: none;
        text-align: center;
        display: block;
    }
    
    header nav {
        margin-top: 20px;
        text-align: center;
    }
    
    header li {
        padding: 0 10px;
        text-align: center;
    }
    
    .dropdown-content {
        position: relative;
        width: 100%;
        box-shadow: none;
        text-align: center;
        left: 0;
        transform: none;
    }
    
    .form-group {
        flex-direction: column;
        max-width: 90%;
        align-items: center;
    }
    
    .form-group input[type="email"] {
        border-radius: 4px;
        margin-bottom: 10px;
        width: 100%;
    }
    
    .btn-subscribe {
        border-radius: 4px;
        width: 100%;
    }
    
    .service-content {
        text-align: center;
    }
    
    .service-content p {
        text-align: center;
    }
    
    .features-grid, 
    .services-grid, 
    .applications-grid {
        grid-template-columns: 1fr;
    }
}

@media(max-width: 500px) {
    header li {
        display: block;
        margin-bottom: 10px;
        text-align: center;
    }
    
    #page-header h1 {
        font-size: 2rem;
    }
} 