/* Construction Subdomain Styles */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #e67e22; /* Orange theme for construction */
    --secondary-color: #2c3e50;
    --accent-color: #f39c12;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --text-color: #333;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --info-color: #3498db;
    --danger-color: #e74c3c;
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f5f5f5;
    overflow-x: hidden;
}

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

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

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

.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 500;
}

.btn:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Header Styles */
.construction-header {
    height: 100vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://via.placeholder.com/1920x1080');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    position: relative;
}

.header-overlay {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.construction-header h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 3px;
}

.construction-header p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    max-width: 800px;
}

.scroll-down {
    position: absolute;
    bottom: 50px;
    font-size: 2rem;
    cursor: pointer;
}

/* Navigation */
/* Navigation styles are inherited from main CSS */

/* Section Styles */
section {
    padding: 80px 0;
}

section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 15px;
}

section h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: var(--primary-color);
}

.intro {
    background-color: white;
    text-align: center;
}

.intro p {
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.2rem;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-item {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-color);
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    background-color: rgba(230, 126, 34, 0.1);
    width: 100px;
    height: 100px;
    line-height: 100px;
    border-radius: 50%;
    margin: 0 auto 20px;
}

.feature-item h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.feature-item p {
    margin-bottom: 20px;
    color: #666;
}

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

.services-tabs {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.tabs-navigation {
    display: flex;
    border-bottom: 1px solid #eee;
    background-color: var(--secondary-color);
}

.tab-btn {
    padding: 15px 25px;
    background-color: transparent;
    border: none;
    color: white;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
}

.tab-btn.active {
    background-color: var(--primary-color);
}

.tab-btn:hover {
    background-color: rgba(230, 126, 34, 0.7);
}

.tabs-content {
    padding: 30px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.tab-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
}

.tab-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.tab-details h3 {
    margin-bottom: 20px;
    font-size: 1.8rem;
    color: var(--primary-color);
}

.tab-details p {
    margin-bottom: 15px;
}

.tab-details ul {
    list-style: none;
    margin-bottom: 20px;
}

.tab-details li {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
}

.tab-details li i {
    color: var(--success-color);
    margin-right: 10px;
    margin-top: 5px;
}

/* Projects Gallery */
.projects {
    background-color: white;
    text-align: center;
}

.projects p {
    max-width: 800px;
    margin: 0 auto 40px;
}

.projects-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.project-item {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 250px;
}

.project-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

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

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

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-item:hover .project-overlay {
    opacity: 1;
}

.project-overlay h3 {
    color: white;
    margin-bottom: 10px;
    font-size: 1.3rem;
    text-align: left;
}

.project-overlay p {
    color: #ddd;
    margin-bottom: 15px;
    font-size: 0.9rem;
    text-align: left;
}

.btn-details {
    background-color: var(--primary-color);
    color: white;
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 0.8rem;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

/* Expertise Section */
.expertise {
    background-color: var(--secondary-color);
    color: white;
}

.expertise h2 {
    color: white;
}

.expertise h2:after {
    background-color: var(--primary-color);
}

.expertise-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    align-items: center;
}

.expertise-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.expertise-quote {
    font-style: italic;
    font-size: 1.2rem;
    padding-left: 20px;
    border-left: 4px solid var(--primary-color);
    margin: 30px 0;
}

.expertise-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
}

/* Stats Container */
.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    line-height: 1;
}

.stat-title {
    font-size: 1rem;
    font-weight: 500;
}

/* Construction Testimonials */
.construction-testimonials {
    background-color: white;
}

.testimonial {
    padding: 0 15px;
}

.testimonial-content {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
}

.testimonial-content:before {
    content: '\201C';
    position: absolute;
    top: 0;
    left: 20px;
    font-size: 5rem;
    color: var(--primary-color);
    opacity: 0.2;
    line-height: 1;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 3px solid var(--primary-color);
}

.testimonial-author h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.testimonial-author p {
    font-size: 0.9rem;
    margin: 0;
    color: #777;
    font-style: normal;
}

/* CTA Section */
.construction-cta {
    background-image: linear-gradient(rgba(44, 62, 80, 0.9), rgba(44, 62, 80, 0.9)), url('https://via.placeholder.com/1920x500');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
}

.construction-cta h2 {
    color: white;
}

.construction-cta h2:after {
    background-color: var(--primary-color);
}

.construction-cta p {
    margin-bottom: 40px;
    font-size: 1.2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.cta-btn {
    padding: 15px 30px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    background-color: white;
    color: var(--primary-color);
    transform: translateY(-5px);
}

.cta-btn-outline {
    background-color: transparent;
    border: 2px solid white;
}

.cta-btn-outline:hover {
    background-color: white;
    color: var(--primary-color);
}

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

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

.contact-form {
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 15px;
    width: 40px;
    height: 40px;
    background-color: rgba(230, 126, 34, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-map {
    margin-top: 30px;
    border-radius: 8px;
    overflow: hidden;
}

/* Animations */
.animate__animated {
    visibility: visible !important;
}

[data-delay="200"] {
    animation-delay: 0.2s;
}

[data-delay="400"] {
    animation-delay: 0.4s;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 30px;
}

.success-message i {
    font-size: 4rem;
    color: var(--success-color);
    margin-bottom: 20px;
}

.error-message {
    color: var(--danger-color);
    padding: 10px 15px;
    background-color: rgba(231, 76, 60, 0.1);
    border-left: 3px solid var(--danger-color);
    margin-top: 20px;
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .construction-header h1 {
        font-size: 3rem;
    }
    
    .construction-header p {
        font-size: 1.2rem;
    }
    
    .tab-grid {
        grid-template-columns: 1fr;
    }
    
    .tab-image {
        order: 1;
    }
    
    .tab-details {
        order: 2;
    }
    
    .expertise-grid {
        grid-template-columns: 1fr;
    }
    
    .expertise-image {
        order: 1;
    }
    
    .expertise-content {
        order: 2;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    .construction-header h1 {
        font-size: 2.5rem;
    }
    
    .tabs-navigation {
        flex-wrap: wrap;
    }
    
    .tab-btn {
        width: 50%;
        text-align: center;
        padding: 10px;
    }
    
    .projects-gallery {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 576px) {
    .construction-header h1 {
        font-size: 2rem;
    }
    
    .construction-header p {
        font-size: 1rem;
    }
    
    section h2 {
        font-size: 2rem;
    }
    
    .tab-btn {
        width: 100%;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-btn {
        width: 100%;
        margin-bottom: 15px;
    }
}