/* 
   Construction Company Website Styles
   Colors:
   - Primary: #2C302E
   - Secondary: #474A48
   - Foreground: #909590
   - Accent: #9AE19D
   - Accent Secondary: #537A5A
*/

/* ===== Base Styles ===== */
:root {
    --color-primary: #2C302E;
    --color-secondary: #474A48;
    --color-foreground: #909590;
    --color-accent: #9AE19D;
    --color-accent-secondary: #537A5A;
    --color-light: #FFFFFF;
    --color-light-bg: #F9F9F9;
    --color-border: #E5E5E5;
    
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Open Sans', sans-serif;
    
    --transition-standard: all 0.3s ease;
    --box-shadow-standard: 0 5px 15px rgba(0, 0, 0, 0.1);
    --box-shadow-hover: 0 10px 25px rgba(0, 0, 0, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-foreground);
    background-color: var(--color-light);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    color: var(--color-primary);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 20px;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition-standard);
}

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

ul, ol {
    list-style: none;
}

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

.container {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 0 15%;
    max-width: 100%;
    margin: 0;
}

.section-padding {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--color-light-bg);
}

.bg-dark {
    background-color: var(--color-primary);
    color: var(--color-light);
}

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

.mt-50 {
    margin-top: 50px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 4px;
    font-family: var(--font-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-standard);
    cursor: pointer;
    border: none;
    text-align: center;
    text-decoration: none;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 14px;
}

.btn-block {
    display: block;
    width: 100%;
}

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

.btn-primary:hover {
    background-color: var(--color-secondary);
    color: var(--color-light);
    transform: translateY(-3px);
    box-shadow: var(--box-shadow-hover);
}

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

.btn-accent:hover {
    background-color: var(--color-accent-secondary);
    color: var(--color-light);
    transform: translateY(-3px);
    box-shadow: var(--box-shadow-hover);
}

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

.btn-light:hover {
    background-color: var(--color-primary);
    color: var(--color-light);
    transform: translateY(-3px);
    box-shadow: var(--box-shadow-hover);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-light);
    border: 2px solid var(--color-light);
}

.btn-outline:hover {
    background-color: var(--color-light);
    color: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: var(--box-shadow-hover);
}

/* Enhanced styling for navigation contact button */
.main-nav ul li a.btn-primary {
    padding: 10px 20px;
    border-radius: 30px;
    background: linear-gradient(to right, var(--color-accent), var(--color-accent-secondary));
    color: var(--color-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(83, 122, 90, 0.3);
    transition: all 0.3s ease;
}

.main-nav ul li a.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(83, 122, 90, 0.4);
    color: var(--color-primary);
}

.main-nav ul li a.btn-primary::after {
    display: none;
}

/* ===== Section Headers ===== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    color: var(--color-primary);
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--color-accent);
}

.section-header p {
    color: var(--color-foreground);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
}

.section-subtitle {
    color: var(--color-foreground);
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
}

.accent-line {
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--color-accent);
    margin: 0 auto 20px;
}

.accent-text {
    color: var(--color-accent);
    font-weight: 600;
    margin-bottom: 15px;
    display: block;
}

/* ===== Header ===== */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(90deg, rgba(44, 48, 46, 0.9) 0%, #1e402e 100%);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition-standard);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 15px 0;
}

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

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

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-menu a {
    color: var(--color-light);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: var(--transition-standard);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-menu a.active {
    color: var(--color-accent);
}

.nav-menu a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--color-light);
    margin: 5px 0;
    transition: var(--transition-standard);
}

/* Header Scroll State */
#header.scrolled {
    background: linear-gradient(90deg, var(--color-primary) 0%, #1e402e 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}

#header.scrolled .logo img {
    max-height: 50px;
}

/* ===== Hero Section ===== */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: url('../images/front.jpg') no-repeat center center;
    background-size: cover;
    color: var(--color-light);
    overflow: hidden;
}

.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 48, 46, 0.8);
    backdrop-filter: blur(5px);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 0 15%;
    max-width: 100%;
    margin: 0;
    padding-top: 80px !important;
}

.hero-content {
    max-width: 100%;
    text-align: left;
    margin: 0;
    padding: 20px 0;
}

.hero-content h4.accent-text {
    color: var(--color-accent);
    font-size: 1.4rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-content h1 {
    color: var(--color-light);
    font-size: 4rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    color: var(--color-light);
    font-size: 1.4rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 15px !important;
}

.hero-buttons .btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 4px;
    font-family: var(--font-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-standard);
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    font-size: 1rem;
    position: relative;
    z-index: 3;
    opacity: 1;
    visibility: visible;
}

.hero-buttons .btn-accent {
    background-color: var(--color-accent);
    color: var(--color-primary);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-buttons .btn-outline {
    background-color: transparent;
    color: var(--color-light);
    border: 2px solid var(--color-light);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.scroll-down {
    display: none !important;
}

.scroll-down-indicator {
    width: 50px;
    height: 50px;
    background-color: var(--color-accent);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-primary);
    font-size: 20px;
    cursor: pointer;
    animation: bounce 2s infinite;
    box-shadow: var(--box-shadow-standard);
    transition: var(--transition-standard);
}

.scroll-down-indicator:hover {
    background-color: var(--color-accent-secondary);
    color: var(--color-light);
    transform: scale(1.1);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* ===== About Section ===== */
.about-section {
    padding: 100px 0;
}

.about-section .container {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 0 15%;
    max-width: 100%;
    margin: 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    padding: 20px 0;
}

.about-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow-standard);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

.about-text {
    padding: 20px 0;
}

.about-text h3 {
    color: var(--color-primary);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about-text p {
    color: var(--color-foreground);
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 20px;
    flex-shrink: 0;
}

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

.feature-text p {
    color: var(--color-foreground);
    font-size: 1rem;
    margin-bottom: 0;
}

@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        margin-bottom: 30px;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
}

/* ===== Services Section ===== */
.services-section {
    padding: 100px 0;
    background-color: var(--color-light-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.service-item {
    background: var(--color-light);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: var(--box-shadow-standard);
    transition: var(--transition-standard);
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 32px;
}

.service-item h3 {
    color: var(--color-primary);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-item p {
    color: var(--color-foreground);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Enhanced Filter Buttons */
.project-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
    gap: 12px;
}

.filter-btn {
    padding: 10px 22px;
    background-color: var(--color-white);
    border: 2px solid var(--color-accent);
    border-radius: 30px;
    color: var(--color-accent);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--color-accent);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(83, 122, 90, 0.2);
}

/* Projects Section */
.projects-section {
    padding: 100px 0;
    background-color: var(--color-light);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 40px;
    justify-content: center;
}

.project-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    background-color: var(--color-light);
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.project-item:hover {
    transform: translateY(-10px);
}

.project-icon {
    width: 60px;
    height: 60px;
    background-color: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.project-icon i {
    font-size: 1.75rem;
    color: var(--color-light);
}

.project-item:hover .project-icon {
    background-color: var(--color-accent-secondary);
    transform: scale(1.1);
}

.project-item:hover .project-icon i {
    color: var(--color-light);
}

.project-info {
    text-align: center;
}

.project-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--color-text);
}

.project-info p {
    font-size: 1rem;
    margin-bottom: 0;
    color: var(--color-text-light);
}

.company-overview {
    margin-top: 60px;
    padding: 40px;
    background-color: var(--color-light-bg);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.company-overview p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: 0;
}

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

.mt-50 {
    margin-top: 50px;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    background-color: var(--color-accent);
    color: var(--color-light);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

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

@media (max-width: 1200px) {
    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .company-overview {
        padding: 30px;
    }
}

/* ===== Team Section ===== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.team-member {
    background-color: var(--color-light);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow-standard);
    transition: var(--transition-standard);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
}

.team-image {
    position: relative;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: var(--transition-standard);
}

.team-member:hover .team-image img {
    transform: scale(1.05);
}

.team-info {
    padding: 25px;
    text-align: center;
}

.team-info h3 {
    margin-bottom: 5px;
}

.team-info p {
    color: var(--color-accent-secondary);
    font-weight: 600;
    margin-bottom: 15px;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.team-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--color-light-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-primary);
    transition: var(--transition-standard);
}

.team-social a:hover {
    background-color: var(--color-accent);
    color: var(--color-primary);
    transform: translateY(-3px);
}

/* ===== Testimonials Section ===== */
.testimonials-section {
    background: url('../images/testimonial-bg.jpg') no-repeat center center/cover;
    position: relative;
}

.testimonials-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(44, 48, 46, 0.9);
}

.testimonials-section .section-header h2,
.testimonials-section .section-subtitle {
    color: var(--color-light);
}

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-card {
    background-color: var(--color-light);
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--box-shadow-standard);
    margin: 20px;
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    font-family: Georgia, serif;
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 80px;
    color: var(--color-accent);
    opacity: 0.3;
    line-height: 1;
}

.testimonial-content {
    position: relative;
    z-index: 1;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
}

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

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    margin-bottom: 5px;
}

.author-info p {
    color: var(--color-foreground);
    font-size: 14px;
    margin-bottom: 0;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition-standard);
}

.dot.active,
.dot:hover {
    background-color: var(--color-accent);
}

/* ===== Stats Section ===== */
.stats-section {
    padding: 100px 0;
    background-color: var(--color-primary);
    color: var(--color-light);
}

.stats-section .section-header h2 {
    color: var(--color-light);
}

.certifications-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.certification-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
}

.certification-item:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.certification-icon {
    width: 80px;
    height: 80px;
    background-color: var(--color-light);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    flex-shrink: 0;
    border: 2px solid var(--color-accent);
}

.certification-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.certification-text {
    flex: 1;
}

.certification-text h3 {
    color: var(--color-light);
    margin-bottom: 5px;
    font-size: 1.25rem;
}

.certification-text p {
    color: var(--color-accent);
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.cert-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--color-accent);
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cert-link:hover {
    color: var(--color-light);
    transform: translateX(5px);
}

.cert-link i {
    font-size: 0.8rem;
}

.certification-description {
    text-align: center;
    max-width: 800px;
    margin: 50px auto 0;
}

.certification-description p {
    color: var(--color-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

@media (max-width: 992px) {
    .certifications-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .certifications-container {
        grid-template-columns: 1fr;
    }
    
    .certification-item {
        flex-direction: column;
        text-align: center;
    }
    
    .certification-icon {
        margin: 0 auto;
    }
}

/* ===== Contact Section ===== */
.contact-section {
    background-color: var(--color-light-bg);
    padding: 100px 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 50px;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.contact-card {
    background-color: var(--color-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: all 0.3s ease;
}

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

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 20px;
    flex-shrink: 0;
}

.contact-text h4 {
    color: var(--color-primary);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.contact-text p {
    color: var(--color-foreground);
    margin-bottom: 10px;
    line-height: 1.6;
}

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

.contact-text a:hover {
    color: var(--color-accent-secondary);
}

.map-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--color-accent);
    font-size: 0.9rem;
    margin-top: 10px;
}

.map-link:hover {
    color: var(--color-accent-secondary);
    transform: translateX(5px);
}

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

.contact-form h3 {
    color: var(--color-primary);
    margin-bottom: 30px;
    font-size: 1.5rem;
}

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

.form-control {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--color-border);
    border-radius: 5px;
    font-family: var(--font-secondary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(154, 225, 157, 0.2);
}

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

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-primary);
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-family: var(--font-primary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

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

@media (max-width: 992px) {
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 60px 0;
    }
    
    .contact-form {
        padding: 30px;
    }
}

/* ===== Footer ===== */
.footer {
    background-color: var(--color-primary);
    color: var(--color-light);
    padding: 80px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-about {
    max-width: 400px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo-img {
    max-width: 200px;
    margin-bottom: 15px;
}

.company-registration p {
    color: var(--color-accent);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.company-description {
    color: var(--color-light);
    line-height: 1.6;
    margin-bottom: 25px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-light);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--color-accent);
    color: var(--color-primary);
    transform: translateY(-3px);
}

.footer-links h3,
.footer-contact h3 {
    color: var(--color-light);
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3::after,
.footer-contact h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--color-accent);
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 15px;
}

.footer-links ul li a {
    color: var(--color-light);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.footer-links ul li a i {
    font-size: 0.8rem;
    color: var(--color-accent);
    transition: all 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--color-accent);
    transform: translateX(5px);
}

.footer-links ul li a:hover i {
    transform: translateX(5px);
}

.footer-contact ul {
    list-style: none;
    padding: 0;
}

.footer-contact ul li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-contact ul li i {
    color: var(--color-accent);
    font-size: 1.2rem;
    margin-top: 3px;
}

.footer-contact ul li p {
    color: var(--color-light);
    line-height: 1.6;
    margin: 0;
}

.footer-contact ul li a {
    color: var(--color-light);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-contact ul li a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    color: var(--color-light);
    margin: 0;
    font-size: 0.9rem;
}

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-about {
        grid-column: 1 / -1;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 60px 0 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-logo-img {
        max-width: 150px;
    }
}

/* ===== Back to Top Button ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--color-accent);
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-standard);
    z-index: 99;
    box-shadow: var(--box-shadow-standard);
}

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

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

/* ===== ISO Certifications Section ===== */
.certifications-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

.certification-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
    max-width: 350px;
    transition: var(--transition-standard);
}

.certification-item:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.15);
    box-shadow: var(--box-shadow-hover);
}

.certification-icon {
    width: 80px;
    height: 80px;
    background-color: var(--color-light);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    flex-shrink: 0;
    border: 2px solid var(--color-accent);
}

.certification-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.certification-text h3 {
    color: var(--color-light);
    margin-bottom: 5px;
    font-size: 1.25rem;
}

.certification-text p {
    color: var(--color-accent);
    margin-bottom: 0;
    font-size: 14px;
}

.certification-text .cert-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--color-accent);
    font-size: 14px;
    margin-top: 10px;
    transition: var(--transition-standard);
}

.certification-text .cert-link:hover {
    color: var(--color-light);
    transform: translateX(5px);
}

.certification-text .cert-link i {
    font-size: 12px;
}

.certification-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    color: var(--color-light);
}

.certification-description p {
    margin-bottom: 15px;
}

.certification-description p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .certification-item {
        max-width: 100%;
    }
}

/* ===== Contractors Carousel Section ===== */
.contractors-section {
    background-color: var(--color-light);
    padding: 100px 0;
}

.contractors-carousel {
    margin-top: 50px;
    overflow: hidden;
    position: relative;
}

.carousel-container {
    width: 100%;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    animation: scroll 30s linear infinite;
    width: max-content;
}

.carousel-slide {
    flex: 0 0 auto;
    width: 200px;
    height: 120px;
    margin: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-light);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.carousel-slide img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-220px * 12));
    }
}

@media (max-width: 768px) {
    .carousel-slide {
        width: 150px;
        height: 90px;
        margin: 0 15px;
    }
    
    @keyframes scroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-180px * 12));
        }
    }
}

/* ===== Responsive Styles ===== */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
    
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }
    
    .section-padding {
        padding: 80px 0;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        margin-bottom: 30px;
    }
    
    .about-image::before {
        display: none;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 540px;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--color-primary);
        padding: 20px;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: var(--transition-standard);
        z-index: 999;
    }
    
    .main-nav.active {
        transform: translateY(0);
    }
    
    .main-nav ul {
        flex-direction: column;
    }
    
    .main-nav ul li {
        margin: 0 0 15px 0;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
    
    .hero-buttons {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 15px !important;
    }
    
    .hero-buttons .btn {
        width: auto !important;
        min-width: 0 !important;
        max-width: 100%;
        display: inline-block;
        margin: 0 auto;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .services-grid,
    .projects-grid,
    .team-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .container {
        width: 100%;
        padding: 0 20px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .btn {
        padding: 12px 25px;
    }
}

/* Project Modal Styling */
.project-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    display: none;
    overflow-y: auto;
}

.project-modal-content {
    position: relative;
    background-color: #ffffff;
    margin: 50px auto;
    padding: 30px;
    width: 90%;
    max-width: 800px;
    border-radius: 10px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    animation: modalFadeIn 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.project-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 15px;
}

.project-modal-header h2 {
    font-size: 24px;
    color: var(--color-heading);
    margin: 0;
}

.close-project-modal {
    font-size: 28px;
    color: var(--color-text);
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 0;
    line-height: 1;
}

.close-project-modal:hover {
    color: var(--color-accent);
}

.project-modal-body {
    color: var(--color-text);
}

.project-modal-body h3 {
    font-size: 20px;
    color: var(--color-accent);
    margin: 20px 0 10px;
}

.project-modal-body p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.project-details-list {
    margin: 15px 0;
    padding: 0;
    list-style: none;
}

.project-details-list li {
    margin-bottom: 10px;
    display: flex;
}

.project-details-list li strong {
    min-width: 120px;
    color: var(--color-heading);
}

/* === Override: Force four columns on large screens === */
@media (min-width: 993px) {
    .projects-grid {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

/* Project Gallery Carousel */
.project-gallery {
    margin-top: 40px;
    margin-bottom: 40px;
    padding: 0;
    overflow: hidden;
    position: relative;
}

.project-gallery-title {
    text-align: center;
    margin-bottom: 20px;
}

.gallery-carousel {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.gallery-container {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

.gallery-track {
    display: flex;
    animation: scrollGallery 60s linear infinite;
}

.gallery-track:hover {
    animation-play-state: paused;
}

@keyframes scrollGallery {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(var(--gallery-animation-distance, -1800px));
    }
}

.gallery-slide {
    min-width: 160px;
    height: 120px;
    margin: 0 10px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.gallery-slide:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 10;
}

.gallery-nav button {
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.gallery-nav button:hover {
    background: rgba(0, 0, 0, 0.8);
}

.gallery-prev {
    margin-left: 10px;
}

.gallery-next {
    margin-right: 10px;
}

/* Project Lightbox */
.project-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.4);
}

@media (max-width: 768px) {
    .lightbox-close {
        top: -30px;
        right: 0;
    }
}

/* ===== Final Mobile Overrides (Hotfix) ===== */
@media (max-width: 767px) {
  .hero-section {
    height: auto !important;
    padding-top: 120px !important;
    padding-bottom: 80px !important;
  }
  .hero-section .container {
    padding: 0 4% !important;
    text-align: center !important;
  }
  .hero-content h1 {
    font-size: 1.7rem !important;
    line-height: 1.25 !important;
  }
  .hero-content p {
    font-size: 1rem !important;
  }
  .gallery-slide,
  .project-gallery .gallery-slide {
    width: 88vw !important;
    max-width: 320px !important;
    height: 190px !important;
  }
  .gallery-slide img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
  }
}

@media (min-width: 768px) {
  .hero-buttons {
    flex-direction: row !important;
    align-items: center !important;
    gap: 20px !important;
    justify-content: flex-start !important;
  }
  .hero-buttons .btn {
    width: auto !important;
    min-width: 0 !important;
    max-width: 100%;
    display: inline-block;
    margin: 0;
  }
}
