:root {
    --primary-color: #FFA500;
    --primary-dark: #E67E22;
    --secondary-color: #1a2530;
    --accent-color: #d35400;
    --light-gray: #f4f4f4;
    --medium-gray: #e0e0e0;
    --dark-gray: #555;
    --text-color: #333;
    --white: #fff;
    --box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease-in-out;
    --light-grey: #f5f5f5;
    --medium-grey: #e0e0e0;
    --dark-grey: #333333;
    --heading-font: 'Arial', sans-serif;
    --body-font: 'Helvetica', sans-serif;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    background-color: var(--white);
    line-height: 1.6;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.2rem;
}

/* Improved section styling */
section {
    padding: 4rem 0;
}

section.about,
section.specialization,
section.operation,
section.approach {
    background-color: var(--white);
}

section:nth-child(even) {
    background-color: var(--light-gray);
}

/* Improved page header with higher contrast */
.page-header {
    background-color: #121920;
    color: var(--white);
    padding: 3rem 0;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-header:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary-color), var(--primary-dark));
}

.page-header h1 {
    color: #555555;
    margin-bottom: 0;
    font-size: 2.8rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Improved section intro text */
.section-intro {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--dark-gray);
    max-width: 800px;
    margin: 0 auto 2.5rem;
    text-align: center;
}

/* Enhanced list styling */
.specialization-list,
.location-list {
    list-style: none;
    padding: 0;
}

.specialization-list li,
.location-list li {
    padding: 1rem 0;
    border-bottom: 1px solid var(--medium-gray);
    font-size: 1.05rem;
    transition: var(--transition);
    display: flex;
    align-items: flex-start;
}

.specialization-list li:hover,
.location-list li:hover {
    transform: translateX(5px);
}

.specialization-list li i,
.location-list li i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 1.2rem;
}

/* Improved services grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
}

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

.service-card i,
.service-icon i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: var(--transition);
    display: inline-block;
}

.service-card:hover i {
    transform: scale(1.2);
}

.service-card h3 {
    margin-bottom: 1rem;
}

/* Project card improvements */
.projects-grid,
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.project-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

.project-image {
    height: 200px;
    background-color: var(--medium-gray);
    position: relative;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-details,
.project-card h3,
.project-card p {
    padding: 1.5rem;
}

.project-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

/* Improved placeholder handling */
.placeholder {
    position: relative;
    background: linear-gradient(135deg, var(--medium-gray) 25%, var(--light-gray) 25%, var(--light-gray) 50%, var(--medium-gray) 50%, var(--medium-gray) 75%, var(--light-gray) 75%);
    background-size: 20px 20px;
    animation: placeholderAnimation 2s linear infinite;
}

@keyframes placeholderAnimation {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 40px 40px;
    }
}

/* Enhanced button styling */
.button {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: var(--primary-color);
    color: var(--white) !important;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.primary-button {
    background-color: var(--primary-color);
    font-size: 1.1rem;
    padding: 1rem 2rem;
}

/* Improved CTA section */
.cta-section {
    background: linear-gradient(to right, var(--primary-color), var(--primary-dark));
    padding: 4rem 0;
    text-align: center;
    color: var(--white);
}

.cta-section h2 {
    color: var(--white);
    font-size: 2.2rem;
    margin-bottom: 2rem;
}

.cta-section h2:after {
    background-color: var(--white);
    margin: 0 auto;
    left: 0;
    right: 0;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cta-buttons .button {
    background-color: var(--white);
    color: var(--primary-color) !important;
    min-width: 150px;
}

.cta-buttons .button:hover {
    background-color: var(--secondary-color);
    color: var(--white) !important;
}

/* Enhanced contact section */
.contact-section {
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-info {
    padding: 2rem;
    background-color: var(--light-gray);
    border-radius: 8px;
}

.contact-method {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.contact-method i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 1rem;
    min-width: 30px;
    text-align: center;
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-item {
    padding: 1.5rem;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

.contact-item h3 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.contact-item p {
    font-size: 1.2rem;
    font-weight: 500;
    margin: 0;
    color: var(--accent-color);
}

/* Blog improvements */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.blog-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

.blog-image {
    height: 200px;
    background-color: var(--medium-gray);
    position: relative;
}

.blog-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.blog-card .blog-excerpt {
    margin-bottom: 1.5rem;
    flex: 1;
}

.blog-card .read-more {
    align-self: flex-start;
    margin-top: auto;
}

/* Improve blog read more links */
.blog-read-more {
    display: inline-block;
    padding: 8px 16px;
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s, transform 0.2s;
    margin-top: 1rem;
}

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

/* Make entire blog post card clickable */
.blog-post {
    position: relative;
    cursor: pointer;
}

.blog-post a.card-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    text-indent: -9999px;
}

/* Ensure text elements remain above the link */
.blog-post .blog-content {
    position: relative;
    z-index: 2;
}

/* Fix for blog meta styling */
.blog-meta {
    display: flex;
    font-size: 0.85rem;
    color: var(--dark-gray);
    margin-bottom: 1rem;
    gap: 1rem;
}

.blog-date, .blog-author {
    display: flex;
    align-items: center;
}

.blog-meta i {
    margin-right: 5px;
    color: var(--primary-color);
}

/* Improve blog content headers */
.blog-content h2 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    transition: color 0.3s;
}

.blog-post:hover .blog-content h2 {
    color: var(--primary-color);
}

.blog-content h2:after {
    width: 40px;
    transition: width 0.3s;
}

.blog-post:hover .blog-content h2:after {
    width: 60px;
}

/* Enhanced footer */
footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 2rem 0;
    text-align: center;
}

/* Responsive improvements */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .page-header {
        padding: 2rem 0;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid, 
    .projects-grid,
    .project-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-buttons .button {
        width: 100%;
    }
    
    section {
        padding: 3rem 0;
    }
}

/* Blog article styling improvements */
.blog-article {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.blog-article-header {
    margin-bottom: 2rem;
    text-align: center;
}

.blog-article-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.blog-article-intro {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--dark-gray);
    margin-bottom: 2rem;
    font-style: italic;
}

.blog-article h2 {
    font-size: 1.8rem;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
}

.blog-article ul {
    margin-bottom: 2rem;
    padding-left: 2rem;
}

.blog-article li {
    margin-bottom: 0.8rem;
}

.blog-article-contact {
    background-color: var(--light-gray);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 3rem;
    text-align: center;
    font-size: 1.1rem;
}

/* Animation effects */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

section {
    animation: fadeIn 0.5s ease-out;
}

/* Make checkmarks and icons pop */
.specialization-list li i,
.location-list li i,
.service-card i,
.contact-method i {
    display: inline-block;
    transition: transform 0.3s ease;
}

.specialization-list li:hover i,
.location-list li:hover i,
.service-card:hover i,
.contact-method:hover i {
    transform: scale(1.2);
}

/* Header */
header {
    background: #ffffff;
    color: #333333;
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

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

.logo img {
    height: 50px;
    margin-right: 10px;
}

.logo .logo-text {
    display: flex;
    flex-direction: column;
    min-height: 45px;
    justify-content: center;
}

.logo .logo-text h1 {
    margin: 0;
    color: #FFA500;
    line-height: 1;
    font-size: 1.5rem;
    letter-spacing: 1.5px;
}

.logo .logo-text .tagline {
    margin: 0;
    margin-top: 4px;
    margin-bottom: 4px;
    font-size: 0.9rem;
    color: #FFA500;
    line-height: 1;
}

.tagline {
    font-size: 0.8rem;
    letter-spacing: 1px;
    color: #FFA500;
    margin-top: 1px;
    line-height: 1;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 1.2rem;
}

nav ul li a {
    color: #333333;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
}

nav ul li a:hover {
    background-color: rgba(0, 0, 0, 0.05);
    color: #333333;
}

/* Add styles for language selector in nav */
.language-selector-container {
    margin-left: 1.5rem;
}

.language-selector {
    position: relative;
}

.selected-language {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #333333;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 4px;
    background-color: rgba(0, 0, 0, 0.05);
    font-size: 0.85rem;
    border: none;
    font-family: inherit;
}

.selected-language:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.language-dropdown {
    position: absolute;
    top: calc(100% + 5px);
    right: 0;
    width: 180px;
    background-color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    overflow: hidden;
    z-index: 1000;
    display: none;
    list-style: none;
    margin: 0;
    padding: 5px 0;
}

.language-dropdown li {
    margin: 0;
    padding: 0;
}

.language-dropdown li a {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    color: var(--text-color);
    text-decoration: none;
    transition: background-color 0.2s;
    font-size: 0.9rem;
}

.language-dropdown li a .flag {
    margin-right: 10px;
    font-size: 1.1em;
}

.language-dropdown a:hover,
.language-dropdown a.active {
    background-color: #f5f5f5;
    font-weight: 500;
}

/* Hero Section */
.hero {
    background-color: var(--accent-color);
    color: white;
    text-align: center;
    padding: 6rem 0;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.btn {
    display: inline-block;
    background-color: white;
    color: var(--accent-color);
    padding: 0.8rem 2rem;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s;
}

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

/* About Section */
.about {
    background-color: var(--light-grey);
    position: relative;
    z-index: 1;
}

.about-content {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.about-stats {
    flex: 1;
    display: flex;
    gap: 2rem;
    justify-content: space-between;
}

.stat {
    text-align: center;
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.label {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

/* Projects Section */
.projects {
    background-color: var(--light-grey);
    position: relative;
    z-index: 1;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.project-card {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e5e5;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.project-image {
    height: 200px;
    background-color: var(--medium-grey);
}

.project-card h3, .project-card p {
    padding: 0 1.5rem;
}

.project-card h3 {
    margin-top: 1.5rem;
}

.project-card p {
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

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

/* Projects intro paragraph */
.projects-intro {
    margin-bottom: 2rem;
    max-width: 900px;
    line-height: 1.7;
}

/* Improve project card descriptions */
.project-card p {
    margin-top: 0.5rem;
    line-height: 1.5;
}

/* Contact Section */
.contact {
    text-align: center;
}

.contact p {
    max-width: 600px;
    margin: 0 auto 3rem;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background-color: var(--dark-grey);
    background-image: linear-gradient(rgba(51, 51, 51, 0.95), rgba(51, 51, 51, 0.95)), 
                      url('https://www.transparenttextures.com/patterns/concrete-wall.png');
    color: white;
    padding: 2rem 0;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
    }
    
    .about-stats {
        width: 100%;
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    nav ul li {
        margin: 0.5rem 0;
    }
    
    header .container {
        flex-direction: column;
        text-align: center;
    }
    
    .logo {
        margin-bottom: 1rem;
    }
    
    .language-selector ul {
        justify-content: center;
    }
    
    .main-header {
        padding: 0.5rem 0;
    }
    
    .logo img {
        max-width: 50px;
        margin-right: 12px;
    }
    
    .logo h1 {
        font-size: 1.4rem;
    }
    
    .tagline {
        font-size: 0.72rem;
    }
}

/* Video Library Section */
.video-library {
    background-color: var(--dark-grey);
    background-image: linear-gradient(rgba(48, 48, 48, 0.92), rgba(48, 48, 48, 0.92)), 
                      url('https://www.transparenttextures.com/patterns/concrete-wall-2.png');
    color: white;
    padding: 4rem 0;
}

.video-library h2 {
    color: white;
    text-align: center;
    margin-bottom: 3rem;
}

.video-library h2:after {
    left: 50%;
    transform: translateX(-50%);
    background-color: white;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.video-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

.video-item:hover {
    transform: translateY(-8px);
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-item h3 {
    padding: 1rem;
    text-align: center;
    font-size: 1.2rem;
    color: white;
    margin: 0;
}

/* Responsive adjustments for video grid */
@media (max-width: 992px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .video-grid {
        grid-template-columns: 1fr;
    }
}

/* Contact Form Styles */
.contact-form-section {
    background-color: var(--light-grey);
    background-image: linear-gradient(rgba(245, 245, 245, 0.95), rgba(245, 245, 245, 0.95)), 
                      url('https://www.transparenttextures.com/patterns/concrete-wall-2.png');
    padding: 4rem 0;
}

.multi-step-form {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-top: 2rem;
    position: relative;
    overflow: hidden;
}

.form-step {
    border: none;
    margin: 0;
    padding: 0;
}

.form-step legend {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-color);
    width: 100%;
}

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

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

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="date"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent-color);
    outline: none;
    box-shadow: 0 0 5px rgba(48, 48, 48, 0.2);
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.radio-group.inline {
    flex-direction: row;
    gap: 1.5rem;
}

.radio-group label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: normal;
}

.radio-group input {
    margin-right: 0.5rem;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
}

.checkbox-group input {
    margin-right: 0.5rem;
    margin-top: 0.3rem;
}

.form-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    border-top: 1px solid #eee;
    padding-top: 1.5rem;
}

.next-step {
    margin-left: auto;
}

.hidden {
    display: none;
}

.submit-btn {
    background-color: var(--accent-color);
    color: white;
}

.submit-btn:hover {
    background-color: var(--primary-color);
}

/* Form transitions */
.form-step {
    transition: opacity 0.3s, transform 0.3s;
}

.form-step.hidden {
    display: none !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .multi-step-form {
        padding: 1.5rem;
    }
    
    .form-step legend {
        font-size: 1.3rem;
    }
    
    .radio-group.inline {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .form-nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    .form-nav button {
        width: 100%;
        margin: 0;
    }
}

/* Form submission spinner */
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    margin-right: 8px;
    vertical-align: middle;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Success message styling - using green for positive outcome */
.form-success {
    text-align: center;
    padding: 40px;
    background-color: rgba(76, 175, 80, 0.1); /* Light green background */
    border-left: 4px solid #4CAF50; /* Green accent border */
}

.form-success h3 {
    color: #4CAF50; /* Green heading for success */
    font-size: 28px;
    margin-bottom: 15px;
}

.form-success p {
    font-size: 18px;
    margin-bottom: 10px;
}

/* Honeypot field - hidden from humans but visible to bots */
.honeypot {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    height: 0;
    width: 0;
    z-index: -1;
    pointer-events: none;
}

/* Add this at the end of your CSS file */
.error {
    border: 1px solid #ff3333 !important;
    background-color: #fff6f6 !important;
}

/* Enhanced styling for quote form */
.quote-form-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.form-step {
    padding: 30px;
    border-top: 1px solid #eee;
}

.form-step h3 {
    color: #FFA500;
    margin-bottom: 25px;
    font-size: 22px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
select,
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s;
}

input:focus,
select:focus,
textarea:focus {
    border-color: #FF6B35;
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 107, 53, 0.2);
}

.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 5px;
}

.radio-group label {
    display: flex;
    align-items: center;
    margin-bottom: 0;
    cursor: pointer;
}

.radio-group input[type="radio"] {
    margin-right: 6px;
}

.checkbox-group label {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 3px;
}

.form-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

button.button {
    padding: 12px 24px;
    background-color: #FF6B35;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
}

button.prev-step {
    background-color: #666;
}

button.button:hover {
    background-color: #E85D2A;
}

button.prev-step:hover {
    background-color: #7f8c8d;
}

button.submit-btn {
    background-color: #FF6B35;
}

button.submit-btn:hover {
    background-color: #E85D2A;
}

/* Error styling */
.error {
    border-color: #e74c3c !important;
}

.radio-group.error {
    padding: 10px;
    background-color: rgba(231, 76, 60, 0.05);
    border-radius: 4px;
}

/* Form step indicator */
.form-progress {
    display: flex;
    justify-content: space-between;
    padding: 20px 30px;
    background-color: #f0f8ff;
}

.progress-step {
    display: flex;
    align-items: center;
}

.step-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #ddd;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    font-weight: bold;
}

.progress-step.active .step-number {
    background-color: #FF6B35;
}

.progress-step.completed .step-number {
    background-color: #2ecc71;
}

/* Add responsive styling with hamburger menu */
@media (max-width: 768px) {
    /* Hide regular nav menu on mobile */
    .main-header nav {
        display: none;
    }
    
    /* Show the hamburger menu instead */
    .hamburger-menu {
        display: block !important;
        position: relative;
        z-index: 1001;
    }
    
    /* More visible menu button with fallback */
    .menu-btn {
        position: relative;
        display: flex !important;
        flex-direction: column;
        justify-content: space-between;
        width: 60px !important;
        height: 60px !important;
        cursor: pointer;
        padding: 12px !important;
        z-index: 1001;
        background: transparent;
        border: none;
    }
    
    .menu-btn .bar {
        background-color: #333333 !important;
        height: 6px !important;
        width: 100%;
        margin: 6px 0 !important;
        transition: 0.3s;
        border-radius: 3px;
        display: block;
    }
    
    /* Active state for menu button */
    .menu-btn.active .bar {
        background-color: #333333 !important;
    }
    
    /* Mobile menu panel */
    .mobile-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 250px;
        height: 100vh;
        background-color: var(--dark-grey);
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
        z-index: 999;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        padding-top: 60px;
    }
    
    .mobile-menu.active {
        transform: translateX(0);
    }
    
    /* Mobile menu styling */
    .mobile-menu ul {
        list-style: none;
        padding: 0;
    }
    
    .mobile-menu ul li {
        margin: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .mobile-menu ul li a {
        display: block;
        padding: 15px 20px;
        color: white;
        text-decoration: none;
    }
    
    .mobile-menu ul li a:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }
    
    /* Language selector in mobile menu */
    .mobile-menu .language-selector-container {
        margin: 15px 20px;
    }
    
    /* Overlay when mobile menu is open */
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        display: none;
        z-index: 998;
    }
    
    .menu-overlay.active {
        display: block;
    }
    
    /* Services and projects grid on mobile */
    .services-grid, .project-grid, .video-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Fix desktop navigation bar */
@media (min-width: 769px) {
    /* Ensure desktop nav is visible */
    .main-header nav {
        display: flex !important;
    }
    
    /* Hide mobile elements on desktop */
    .hamburger-menu, 
    .mobile-menu, 
    .menu-overlay {
        display: none !important;
    }
    
    /* Reset any mobile styles that might affect desktop */
    nav ul {
        display: flex;
        flex-direction: row;
        justify-content: flex-end;
        align-items: center;
        padding: 0;
    }
    
    nav ul li {
        margin-left: 1.2rem;
        width: auto;
    }
    
    nav ul li a {
        padding: 0.4rem 0.8rem;
        width: auto;
    }
    
    /* Fix language selector positioning for desktop */
    .language-selector-container {
        margin-left: 1.5rem;
        width: auto;
    }
    
    .language-selector {
        width: auto;
    }
    
    .selected-language {
        width: auto;
    }
}

/* Ensure mobile styles don't leak to desktop */
@media (max-width: 768px) {
    /* Keep mobile nav hidden until toggled */
    .main-header nav {
        display: none;
    }
}

/* Fix mobile language selector visibility */
@media (max-width: 768px) {
    /* Mobile language selector improvements */
    .mobile-menu .language-selector-container {
        margin: 15px 20px;
    }
    
    .mobile-menu .language-dropdown {
        background-color: #222;
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
        position: relative;
        width: 100%;
        left: 0;
        top: 5px;
    }
    
    .mobile-menu .language-dropdown li a {
        color: #fff;
        padding: 12px 15px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .mobile-menu .language-dropdown li:last-child a {
        border-bottom: none;
    }
    
    .mobile-menu .language-dropdown a:hover,
    .mobile-menu .language-dropdown a.active {
        background-color: rgba(255, 255, 255, 0.1);
        color: #fff;
    }
    
    /* Make the language selector button more visible */
    .mobile-menu .selected-language {
        background-color: rgba(255, 255, 255, 0.1);
        width: 100%;
        padding: 12px 15px;
        justify-content: space-between;
    }
    
    .mobile-menu .selected-language:hover {
        background-color: rgba(255, 255, 255, 0.2);
    }
}

/* Improve mobile form layout */
@media (max-width: 768px) {
    /* Form container adjustments */
    .quote-form-section {
        padding: 30px 0;
    }
    
    .contact-form {
        padding: 20px 15px;
        border-radius: 6px;
    }
    
    /* Form step title */
    .form-step h3 {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }
    
    /* Input field styling */
    .form-group {
        margin-bottom: 16px;
    }
    
    .form-group label {
        font-size: 0.9rem;
        margin-bottom: 5px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px;
        font-size: 16px; /* iOS optimal size to prevent zoom */
        border-radius: 4px;
    }
    
    /* Radio and checkbox groups - stack vertically */
    .radio-group, .checkbox-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .radio-group label, .checkbox-group label {
        padding: 8px 0;
        width: 100%;
    }
    
    /* Form navigation buttons */
    .form-nav {
        flex-direction: column;
        gap: 10px;
        margin-top: 25px;
    }
    
    button.button {
        width: 100%;
        padding: 14px;
        font-size: 16px;
    }
    
    /* Fix the order of buttons on mobile */
    .form-nav button.prev-step {
        order: 2;
    }
    
    .form-nav button.next-step,
    .form-nav button.submit-btn {
        order: 1;
    }
    
    /* Simplify progress steps for mobile */
    .form-progress {
        padding: 15px 10px;
        overflow-x: auto;
        display: flex;
        justify-content: flex-start; /* Change from space-between */
        gap: 15px;
    }
    
    .progress-step {
        flex: 0 0 auto;
        font-size: 0.7rem;
    }
    
    .step-number {
        width: 25px;
        height: 25px;
        font-size: 0.7rem;
    }
    
    /* Fix error styling for mobile */
    .radio-group.error, 
    .checkbox-group.error {
        padding: 8px;
    }
    
    /* Form success message */
    .form-success {
        padding: 25px 15px;
    }
    
    .form-success h3 {
        font-size: 1.5rem;
    }
    
    .form-success p {
        font-size: 1rem;
    }
    
    /* Fix any input fields that might overflow */
    input, select, textarea {
        max-width: 100%;
    }
    
    /* Other contact details */
    .form-group.hidden {
        display: none;
    }
}

/* Extra small screens */
@media (max-width: 380px) {
    .contact-form {
        padding: 15px 12px;
    }
    
    .form-step h3 {
        font-size: 1.2rem;
    }
    
    .form-group label {
        font-size: 0.85rem;
    }
}

/* Targeted mobile navbar improvements */
@media (max-width: 768px) {
    /* Add these styles to the existing mobile styles */
    
    /* Slightly thinner header */
    header {
        padding: 6px 0;
    }
    
    /* Tighter container */
    .container {
        width: 95%;
        padding: 0 6px;
    }
    
    /* Smaller logo with better alignment */
    .logo img {
        max-width: 50px;
        margin-right: 12px;
    }
    
    .logo h1 {
        font-size: 1.4rem;
    }
    
    .tagline {
        font-size: 0.72rem;
    }
    
    /* Compact hamburger menu */
    .menu-btn {
        width: 60px !important;
        height: 60px !important;
        padding: 12px !important;
        transform: none !important;
    }
    
    /* Fix alignment of elements */
    .main-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    
    .hamburger-menu {
        margin-right: -6px;
        height: 60px !important;
        margin-top: 0 !important;
    }
    
    /* Adjust mobile menu positioning */
    .mobile-menu {
        padding-top: 55px;
    }
    
    /* Improve vertical alignment between logo and hamburger button */
    .logo {
        display: flex;
        align-items: center;
        height: 40px;
    }
    
    /* Ensure logo text is vertically centered */
    .logo-text {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    /* Set hamburger menu to same height as logo for alignment */
    .hamburger-menu {
        display: flex;
        align-items: center;
        height: 40px;
    }
    
    /* Center the button vertically */
    .menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Fix hamburger button vertical alignment */
@media (max-width: 768px) {
    /* Adjust hamburger menu position */
    .hamburger-menu {
        margin-top: -4px; /* Move button up slightly */
    }
    
    /* Adjust logo position for better alignment */
    .logo {
        margin-top: 2px;
    }
    
    /* Ensure consistent heights */
    .logo, .hamburger-menu {
        height: 42px;
    }
    
    /* Adjust button position */
    .menu-btn {
        transform: translateY(-1px);
    }
}

/* Fix title and tagline alignment */
@media (max-width: 768px) {
    /* Ensure logo text container has proper alignment */
    .logo-text {
        align-items: flex-start;
        text-align: left;
    }
    
    /* Ensure consistent alignment between title and tagline */
    .logo-text h1,
    .logo-text .tagline {
        text-align: left;
        padding-left: 0;
    }
    
    /* Adjust spacing to ensure clean alignment */
    .logo-text h1 {
        margin-bottom: 1px;
        line-height: 1.2;
    }
    
    .logo-text .tagline {
        margin-top: 0;
        line-height: 1;
    }
}

/* Specialization list styling */
.specialization-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.specialization-list li {
    margin-bottom: 16px;
    padding-left: 5px;
    line-height: 1.6;
}

/* Highlight checkmark emoji */
.specialization-list li .checkmark {
    margin-right: 8px;
    color: var(--accent-color);
}

@media (max-width: 768px) {
    .specialization-list li {
        margin-bottom: 20px;
    }
}

/* Location list styling - remove bullets before flags */
.location-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.location-list li {
    margin-bottom: 16px;
    padding-left: 5px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .location-list li {
        margin-bottom: 20px;
    }
}

/* Single video showcase styling */
.video-showcase {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}

.video-showcase .video-item {
    max-width: 800px;
    width: 100%;
}

.video-showcase .video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
}

.video-showcase .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.video-showcase h3 {
    text-align: center;
    margin-top: 15px;
    font-size: 1.2rem;
}

/* Fix contact section layout */
#contact {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('img/houses_back.jpg');
    background-size: cover;
    background-position: center center;
    min-height: 500px;
    color: white;
    position: relative;
    padding: 60px 0 150px; /* More padding at bottom */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#contact .container {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

/* Position the quote button at the bottom */
.quote-button-container {
    text-align: center;
    margin-top: auto;
    margin-bottom: 20px;
    padding-top: 100px; /* Add more space above the button */
}

/* Change hamburger menu button color to grey */
.menu-btn .bar {
    background-color: #666666; /* Medium grey color */
    height: 3px;
    width: 100%;
    margin: 5px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Adjust hover state */
.menu-btn:hover .bar {
    background-color: #333333; /* Darker grey on hover */
}

/* Ensure hamburger is hidden on larger screens */
@media (min-width: 769px) {
    .hamburger-menu {
        display: none !important;
    }
}

/* Only show hamburger on mobile */
@media (max-width: 768px) {
    .hamburger-menu {
        display: flex !important;
    }
}

/* Add back the h2 styling for the contact section */
#contact h2 {
    color: white; /* Ensure "Get in Touch" text is white */
    text-align: center;
}

#contact h2:after {
    background-color: var(--primary-color);
    margin: 0 auto;
    left: 0;
    right: 0;
}

/* Blog Styles */
.blog-header {
    background-color: #121920; /* Match the dark background of other page headers */
    color: var(--white);
    text-align: center;
    padding: 3rem 0;
    position: relative;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.blog-header:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary-color), var(--primary-dark));
}

.blog-header h1 {
    color: var(--white);
    margin-bottom: 0.5rem;
    font-size: 2.8rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.blog-header p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    color: var(--light-gray); /* Light gray for subtitle contrast */
}

.blog-grid {
    padding: 3rem 0;
    margin: 0;
}

.blog-post {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.blog-image {
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.blog-post:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-excerpt {
    flex: 1;
}

.blog-read-more {
    margin-top: auto;
    align-self: flex-start;
}

/* Responsive adjustments for blog */
@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* Contact Details Section */
.contact-details {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.contact-item {
    background-color: #f8f8f8;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.contact-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-item p {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--accent-color);
}

/* Blog card clickable styles */
.blog-card {
    display: block;
    color: inherit;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.blog-card-inner {
    height: 100%;
    padding: 25px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.read-more {
    display: inline-block;
    margin-top: 15px;
    color: #1a73e8;
    font-weight: 600;
}

.blog-card:hover .read-more {
    text-decoration: underline;
}

/* Ensure blog posts display properly as links */
a.blog-post {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* Minimal video background styling */
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.video-background video {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

/* Ensure the contact section has position relative for proper video positioning */
#contact.section {
    position: relative;
    background: none !important;
}

/* Fix for mobile list padding - high specificity targeting article content */
@media (max-width: 768px) {
    .article-content ul, 
    .article-content ol,
    .blog-content ul,
    .blog-content ol {
        padding-left: 30px !important;
        margin-left: 0 !important;
        width: auto !important;
        list-style-position: outside !important;
    }
    
    /* Additional control for list items if needed */
    .article-content li,
    .blog-content li {
        margin-bottom: 10px !important;
        padding-left: 5px !important;
    }
}

/* Enlarged hamburger menu for mobile devices with explicit color */
@media (max-width: 768px) {
    .hamburger-menu .fas.fa-bars {
        font-size: 28px; /* Increase from default size */
        color: #666666 !important; /* Force medium gray color with !important */
    }
    
    /* Add some padding for better touch target */
    .hamburger-menu {
        padding: 8px;
        color: #666666 !important; /* Ensure parent element has the right color too */
    }
}

/* Flag container styling for all screen sizes - default/desktop first */
.flag-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 10px;
}

.flag-container h3 {
    font-size: 2.2rem; /* Twice as big */
    margin-bottom: 10px;
}

.flag-container img {
    margin: 0 auto;
}

/* Mobile flag layout adjustment - must come AFTER the desktop styles */
@media (max-width: 768px) {
    .flag-container {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        text-align: left;
        margin-bottom: 5px;
    }
    
    .flag-container h3 {
        margin: 0 10px 0 0;
        margin-bottom: 0;
    }
}