/* CSS Variables */
:root {
    --primary-color: #0066cc;
    --secondary-color: #cc0000;
    --accent-color: #00a651;
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #f8f8f8;
    --border-color: #e0e0e0;
    --shadow-sm: 0 5px 20px rgba(0,0,0,0.08);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.1);
    --shadow-lg: 0 5px 30px rgba(0,0,0,0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --transition: all 0.3s ease;
}

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

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Header Top */
.header-top {
    background-color: #f8f8f8;
    padding: 5px 0;
    border-bottom: 1px solid #e0e0e0;
}

.header-top-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-top-right a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
}

.language-selector {
    font-size: 14px;
    cursor: pointer;
}

/* Header Main */
.header-main {
    padding: 20px 0;
    border-bottom: 1px solid #e0e0e0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo img {
    height: 50px;
    width: auto;
}

.logo span {
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #333;
}

.search {
    display: flex;
    align-items: center;
    width: 300px;
}

.search input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #e0e0e0;
    border-right: none;
    border-radius: 0;
    font-size: 14px;
}

.search button {
    padding: 8px 12px;
    border: 1px solid #e0e0e0;
    background-color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search button svg {
    color: #666;
}

/* Navigation */
nav {
    background-color: #0066cc;
    padding: 0;
    position: relative;
}

nav ul {
    display: flex;
    list-style: none;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}

nav ul li {
    position: relative;
    flex: 1;
    text-align: center;
}

nav ul li a {
    display: block;
    padding: 15px 10px;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
    width: 100%;
}

nav ul li a:hover {
    background-color: #cc0000;
}

/* Active Navigation State */
nav ul li a.active {
    background-color: #cc0000;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0066cc 0%, #004499 100%);
    padding: 100px 0;
    text-align: center;
    color: #fff;
}

.hero .container {
    flex-direction: column;
    gap: 30px;
}

.hero h1 {
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #fff;
}

.hero p {
    font-size: 20px;
    max-width: 700px;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #cc0000;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background-color 0.3s;
    border-radius: 4px;
}

.btn:hover {
    background-color: #a80000;
}

.btn-primary {
    background-color: #fff;
    color: #0066cc;
}

.btn-primary:hover {
    background-color: #f0f0f0;
}

.btn-secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.btn-large {
    padding: 16px 40px;
    font-size: 18px;
}

/* Project Scales Section */
.project-scales {
    padding: 80px 0;
    background-color: #f8f8f8;
}

.project-scales .container {
    flex-direction: column;
    gap: 50px;
}

.project-scales h2 {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    text-align: center;
}

.scale-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
}

.scale-card {
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s;
}

.scale-card:hover {
    border-color: #0066cc;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.scale-card h3 {
    font-size: 22px;
    color: #333;
    margin-bottom: 15px;
}

.scale-price {
    font-size: 32px;
    font-weight: bold;
    color: #0066cc;
    margin: 20px 0;
}

.scale-card p {
    color: #666;
    margin-bottom: 25px;
    font-size: 14px;
}

.btn-scale {
    display: inline-block;
    padding: 10px 25px;
    background-color: #0066cc;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn-scale:hover {
    background-color: #0052a3;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background-color: #fff;
}

.faq-section .container {
    flex-direction: column;
    gap: 40px;
}

.faq-section h2 {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    text-align: center;
}

.faq-list {
    list-style: none;
    width: 100%;
    max-width: 600px;
}

.faq-list li {
    padding: 20px 0;
    border-bottom: 1px solid #e0e0e0;
    font-size: 20px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 15px;
}

.faq-icon {
    width: 32px;
    height: 32px;
    background-color: #0066cc;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.faq-cta {
    margin-top: 20px;
}

/* What We Do Section */
.what-we-do {
    padding: 80px 0;
    background-color: #f8f8f8;
}

.what-we-do .container {
    flex-direction: column;
    gap: 50px;
}

.what-we-do h2 {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    width: 100%;
}

.service-box {
    background: #fff;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.service-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.service-box h3 {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.service-box p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* Case Studies Preview */
.case-studies-preview {
    padding: 80px 0;
    background-color: #fff;
}

.case-studies-preview .container {
    flex-direction: column;
    gap: 50px;
}

.case-studies-preview h2 {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    text-align: center;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    width: 100%;
}

.case-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.case-image {
    width: 100%;
    height: 200px;
    background-color: #0066cc;
    display: flex;
    align-items: center;
    justify-content: center;
}

.case-placeholder {
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    padding: 20px;
}

.case-content {
    padding: 30px;
}

.case-content h3 {
    font-size: 22px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.case-content p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.btn-case {
    display: inline-block;
    padding: 10px 25px;
    background-color: #cc0000;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn-case:hover {
    background-color: #a80000;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0066cc 0%, #004499 100%);
}

.cta-section .container {
    justify-content: center;
}

.cta-box {
    text-align: center;
    color: #fff;
    max-width: 700px;
}

.cta-box h2 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 20px;
}

.cta-box p {
    font-size: 18px;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

/* Footer */
footer {
    background-color: #333;
    padding: 40px 0;
    color: #fff;
}

footer .container {
    flex-direction: column;
    gap: 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo img {
    height: 40px;
    width: auto;
}

.footer-logo span {
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
}

.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}

.footer-links a:hover {
    color: #cc0000;
}

.footer-bottom {
    width: 100%;
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #555;
    font-size: 14px;
    color: #999;
}

/* Blog Link Styles */
.blog-link {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.blog-link:hover {
    background-color: #f0f0f0;
    border-left: 4px solid #0066cc;
}

.blog-link h3 {
    color: #333;
    transition: color 0.3s;
}

.blog-link:hover h3 {
    color: #0066cc;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .scale-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .header-top-right {
        width: 100%;
        justify-content: flex-end;
    }
    
    .header-main {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .search {
        width: 100%;
    }
    
    nav ul {
        flex-direction: column;
    }
    
    nav ul li a {
        padding: 10px 15px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        padding: 0 20px;
    }
    
    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }
    
    .scale-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .case-grid {
        grid-template-columns: 1fr;
    }
    
    .project-scales h2,
    .faq-section h2,
    .what-we-do h2,
    .case-studies-preview h2,
    .cta-box h2 {
        font-size: 24px;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
    
    /* Mobile form improvements */
    .quote-form,
    .form-grid {
        grid-template-columns: 1fr !important;
    }
    
    .form-group.full-width {
        grid-column: 1 !important;
    }
    
    /* Mobile table improvements */
    .comparison-table {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .comparison-table table {
        min-width: 600px;
    }
    
    /* Mobile case tabs */
    .case-tabs {
        flex-direction: column;
    }
    
    .case-tab {
        border-bottom: 1px solid var(--border-color);
    }
    
    /* Mobile navigation */
    nav ul {
        flex-direction: column;
        width: 100%;
    }
    
    nav ul li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    nav ul li:last-child {
        border-bottom: none;
    }
    
    /* Mobile button sizing */
    .btn,
    .btn-primary,
    .btn-secondary,
    .submit-btn {
        width: 100%;
        text-align: center;
        padding: 14px 20px;
    }
    
    /* Mobile section padding */
    section {
        padding: 60px 0 !important;
    }
    
    /* Mobile heading sizes */
    h1 {
        font-size: 24px !important;
    }
    
    h2 {
        font-size: 20px !important;
    }
    
    /* Mobile container padding */
    .container {
        padding: 0 15px;
    }
}
