/* 
   Color Theme Based on Logo:
   - Brown: #9a5b47 (Contractors)
   - Dark Gray: #5d6466 (Goods)
   - Red: #e63a32 (Works)
   - Light Gray: #c5c5c5 (Consulting Services)
*/

/* Force all elements to be visible */
* {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #9a5b47;
    --secondary-color: #e63a32;
    --tertiary-color: #5d6466;
    --light-color: #c5c5c5;
    --dark-color: #333;
    --white-color: #fff;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Account for fixed header */
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    overflow-x: hidden;
    opacity: 1;
}

body.loaded {
    opacity: 1;
}

/* Ensure content visibility */
body.loaded section {
    visibility: visible !important;
    opacity: 1 !important;
}

body.loaded .feature-card {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.fade {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

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

section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
}

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

ul {
    list-style: none;
}

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

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

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

.section-header h2 span {
    color: var(--primary-color);
}

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

.section-header p {
    color: var(--tertiary-color);
    font-size: 1.1rem;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
    z-index: -1;
}

.btn:hover::before {
    width: 100%;
}

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

.primary-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

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

.secondary-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition);
}

header.sticky {
    padding: 10px 0;
    background-color: rgba(255, 255, 255, 0.95);
}

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

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

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

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo h1 span {
    font-weight: 400;
    color: var(--tertiary-color);
}

nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    position: relative;
    font-weight: 500;
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--dark-color);
    margin: 5px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, rgba(154, 91, 71, 0.5) 0%, rgba(93, 100, 102, 0.5) 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px; /* Add padding to account for fixed header */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1541888946425-d81bb19240f5?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1170&q=80') no-repeat center center/cover;
    opacity: 0.6;
    z-index: -1;
    filter: brightness(1.1);
}

.hero-content {
    max-width: 700px;
    color: var(--white-color);
    animation: fadeInUp 1s ease;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2;
    background-color: rgba(0, 0, 0, 0.2);
    padding: 30px;
    border-radius: 10px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 700;
}

.hero-content h1 span {
    color: var(--secondary-color);
    position: relative;
    display: inline-block;
}

.hero-content h1 span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--secondary-color);
    opacity: 0.5;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    animation: fadeInUp 1.2s ease 0.3s forwards;
    opacity: 0;
}

.hero-shape {
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background-color: rgba(230, 58, 50, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background-color: rgba(154, 91, 71, 0.1);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
    animation-delay: 2s;
    z-index: 1;
}

/* Services Section */
.services {
    background-color: #f9f9f9;
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background-color: rgba(154, 91, 71, 0.1);
    border-radius: 50%;
    z-index: 0;
}

.services::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background-color: rgba(230, 58, 50, 0.1);
    border-radius: 50%;
    z-index: 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.service-card {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.service-card:hover::before {
    height: 100%;
}

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

.icon-container {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.icon-container i {
    font-size: 2rem;
    color: var(--white-color);
}

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

.goods {
    background-color: var(--tertiary-color);
}

.works {
    background-color: var(--secondary-color);
}

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

.service-card:hover .icon-container {
    transform: rotateY(360deg);
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.service-card p {
    margin-bottom: 20px;
    color: #666;
}

.read-more {
    color: var(--primary-color);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

.read-more i {
    margin-left: 5px;
    transition: var(--transition);
}

.read-more:hover i {
    transform: translateX(5px);
}

/* Projects Section */
.projects {
    position: relative;
}

.project-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.project-card {
    background-color: var(--white-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

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

.project-img {
    height: 250px;
    overflow: hidden;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.project-info {
    padding: 25px;
}

.project-info h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.project-info p {
    color: #666;
    margin-bottom: 15px;
}

.project-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    color: var(--tertiary-color);
}

.project-meta span {
    display: flex;
    align-items: center;
}

.project-meta i {
    margin-right: 5px;
}

/* About Section */
.about {
    background-color: #f9f9f9;
}

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

.about-text {
    animation: fadeInLeft 1s ease;
}

.about-text .section-header {
    text-align: left;
}

.about-text .section-header h2::after {
    left: 0;
}

.about-text p {
    margin-bottom: 20px;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background-color: var(--white-color);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.stat-item h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.about-image {
    position: relative;
    animation: fadeInRight 1s ease;
}

.about-image img {
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 5px solid var(--secondary-color);
    border-radius: 10px;
    z-index: -1;
}

/* Why Choose Us Section */
.why-us {
    position: relative;
    overflow: hidden;
    background-color: #ffffff;
    z-index: 2;
    box-shadow: none;
    padding: 100px 0;
}

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

.feature-card {
    padding: 30px;
    background-color: var(--white-color);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transform: translateY(0);
    opacity: 1 !important;
    visibility: visible !important;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
    z-index: -1;
    opacity: 0.05;
}

.feature-card:hover::before {
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
    border-bottom: 3px solid var(--primary-color);
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: rgba(154, 91, 71, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.feature-icon i {
    font-size: 1.8rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background-color: var(--primary-color);
}

.feature-card:hover .feature-icon i {
    color: var(--white-color);
    transform: rotateY(360deg);
}

.feature-card h3 {
    margin-bottom: 15px;
}

/* Testimonials Section */
.testimonials {
    background-color: #f9f9f9;
    position: relative;
}

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

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

.quote {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    opacity: 0.3;
}

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

.client-info {
    display: flex;
    align-items: center;
}

.client-info img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

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

.client-info p {
    margin-bottom: 0;
    color: #666;
    font-style: normal;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white-color);
    text-align: center;
    padding: 60px 0;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta p {
    margin-bottom: 30px;
    font-size: 1.2rem;
}

/* Contact Section */
.contact {
    position: relative;
}

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

.contact-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
}

.contact-item .icon {
    width: 50px;
    height: 50px;
    background-color: rgba(154, 91, 71, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.contact-item .icon i {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.contact-item h3 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.contact-item p {
    color: #666;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

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

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

/* Footer */
footer {
    background-color: #222;
    color: #ccc;
    padding: 80px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about img {
    height: 50px;
    margin-bottom: 20px;
}

.footer-about p {
    margin-bottom: 20px;
}

.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(--white-color);
    transition: var(--transition);
}

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

.footer-links h3,
.footer-services h3,
.footer-newsletter h3 {
    color: var(--white-color);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

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

.footer-links ul li,
.footer-services ul li {
    margin-bottom: 10px;
}

.footer-links ul li a,
.footer-services ul li a {
    color: #ccc;
    transition: var(--transition);
}

.footer-links ul li a:hover,
.footer-services ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-newsletter p {
    margin-bottom: 20px;
}

.footer-newsletter form {
    position: relative;
}

.footer-newsletter input {
    width: 100%;
    padding: 12px 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 30px;
    color: var(--white-color);
}

.footer-newsletter input:focus {
    outline: none;
}

.footer-newsletter button {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    padding: 0 15px;
    background-color: var(--primary-color);
    border: none;
    border-radius: 0 30px 30px 0;
    color: var(--white-color);
    cursor: pointer;
    transition: var(--transition);
}

.footer-newsletter button:hover {
    background-color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

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

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0);
    }
}

/* Section Divider */
.section-divider {
    display: none;
}

.section-divider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    clip-path: polygon(0 0, 100% 50%, 100% 100%, 0% 100%);
    z-index: 5;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.05);
}

/* Fix for sections with white background */
.why-us + .section-divider::before {
    background-color: #f9f9f9;
}

/* Page Banner */
.page-banner {
    background: linear-gradient(135deg, rgba(154, 91, 71, 0.9) 0%, rgba(93, 100, 102, 0.9) 100%);
    padding: 150px 0 80px;
    text-align: center;
    color: var(--white-color);
    position: relative;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1541888946425-d81bb19240f5?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1170&q=80') no-repeat center center/cover;
    opacity: 0.2;
    z-index: -1;
}

.page-banner h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.page-banner h1 span {
    color: var(--secondary-color);
}

.page-banner p {
    font-size: 1.2rem;
}

/* Services Detailed Page */
.services-detailed {
    padding: 80px 0;
}

.service-item {
    display: flex;
    align-items: center;
    margin-bottom: 80px;
    gap: 50px;
}

.service-item:nth-child(even) {
    flex-direction: row-reverse;
}

.service-icon {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-icon i {
    font-size: 3rem;
    color: var(--white-color);
}

.service-content {
    flex: 1;
}

.service-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.service-content p {
    margin-bottom: 20px;
    color: #666;
}

.service-features {
    list-style: none;
}

.service-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.service-features li i {
    color: var(--secondary-color);
    margin-right: 10px;
}

/* Projects Detailed Page */
.projects-detailed {
    padding: 80px 0;
}

.projects-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
    gap: 10px;
}

.filter-btn {
    padding: 10px 20px;
    background-color: #f5f5f5;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
}

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

.project-item {
    background-color: var(--white-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

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

.project-img {
    height: 250px;
    overflow: hidden;
}

.placeholder-img {
    width: 100%;
    height: 100%;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 1.2rem;
}

.placeholder-img::after {
    content: 'Image Placeholder';
}

.project-details {
    padding: 25px;
}

.project-details h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.project-details p {
    color: #666;
    margin-bottom: 15px;
}

/* About Detailed Page */
.about-detailed {
    padding: 80px 0;
}

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

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about-text h2 span {
    color: var(--primary-color);
}

.about-text p {
    margin-bottom: 20px;
}

.mission-vision {
    background-color: #f9f9f9;
    padding: 80px 0;
}

.mission-vision-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.mission, .vision {
    padding: 40px;
    background-color: var(--white-color);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.mission .icon, .vision .icon {
    width: 80px;
    height: 80px;
    background-color: rgba(154, 91, 71, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.mission .icon i, .vision .icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.mission h2, .vision h2 {
    margin-bottom: 20px;
    font-size: 2rem;
}

.core-values {
    padding: 80px 0;
}

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

.value-item {
    padding: 30px;
    background-color: var(--white-color);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: var(--transition);
}

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

.value-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(154, 91, 71, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.value-icon i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

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

.team {
    background-color: #f9f9f9;
    padding: 80px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-member {
    background-color: var(--white-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

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

.member-img {
    height: 300px;
    overflow: hidden;
}

.member-info {
    padding: 20px;
    text-align: center;
}

.member-info h3 {
    margin-bottom: 5px;
    font-size: 1.5rem;
}

.member-info .position {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 15px;
}

.member-info .bio {
    color: #666;
}

/* Contact Page */
.contact-info-section {
    padding: 80px 0;
}

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

.contact-card {
    padding: 40px;
    background-color: var(--white-color);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: var(--transition);
}

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

.contact-card .icon {
    width: 80px;
    height: 80px;
    background-color: rgba(154, 91, 71, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.contact-card .icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.contact-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.contact-card p {
    color: #666;
    margin-bottom: 10px;
}

.office-locations {
    background-color: #f9f9f9;
    padding: 80px 0;
}

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

.location-card {
    padding: 30px;
    background-color: var(--white-color);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.location-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.location-header i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 15px;
}

.location-header h3 {
    font-size: 1.5rem;
}

.location-card p {
    margin-bottom: 20px;
    color: #666;
}

.placeholder-map {
    width: 100%;
    height: 200px;
    background-color: #f5f5f5;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

.placeholder-map::after {
    content: 'Map Placeholder';
}

.contact-form-section {
    padding: 80px 0;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--white-color);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

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

/* Responsive Styles */
@media screen and (max-width: 992px) {
    .hero-content h1,
    .page-banner h1 {
        font-size: 2.8rem;
    }
    
    .about-content,
    .contact-content,
    .service-item,
    .mission-vision-content {
        grid-template-columns: 1fr;
    }
    
    .service-item {
        flex-direction: column;
        text-align: center;
    }
    
    .service-item:nth-child(even) {
        flex-direction: column;
    }
    
    .service-features li {
        justify-content: center;
    }
    
    .about-image::before {
        display: none;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--white-color);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
        z-index: 999;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .services-grid,
    .project-slider,
    .testimonial-slider {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 576px) {
    .section-header h2 {
        font-size: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
    }
}

/* Projects Page Styles */
.project-categories {
    padding: 30px 0;
    background-color: #f9f9f9;
}

.category-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.filter-btn {
    padding: 10px 20px;
    background-color: var(--white-color);
    color: var(--tertiary-color);
    border: 1px solid var(--light-color);
    border-radius: 30px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--primary-color);
    color: var(--white-color);
    border-color: var(--primary-color);
}

.featured-projects {
    padding: 80px 0;
}

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

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

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

.project-image {
    position: relative;
    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;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: var(--white-color);
    transform: translateY(20px);
    opacity: 0.9;
    transition: all 0.3s ease;
}

.project-item:hover .project-overlay {
    transform: translateY(0);
    opacity: 1;
}

.project-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.project-overlay p {
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.project-details-section {
    padding: 50px 0;
}

.project-details {
    margin-bottom: 80px;
    padding: 30px;
    border-radius: 10px;
    background-color: #f9f9f9;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.project-header {
    margin-bottom: 30px;
    border-bottom: 1px solid var(--light-color);
    padding-bottom: 15px;
}

.project-header h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.project-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.project-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--tertiary-color);
}

.project-meta i {
    color: var(--secondary-color);
}

.project-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.project-gallery {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.project-gallery img {
    width: 100%;
    height: auto;
    display: block;
}

.project-description h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    margin-top: 20px;
}

.project-description h3:first-child {
    margin-top: 0;
}

.project-description p {
    margin-bottom: 20px;
    color: var(--tertiary-color);
}

.project-description ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.project-description ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: var(--tertiary-color);
}

.project-description ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 10px;
    height: 10px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

/* Responsive Styles for Projects Page */
@media screen and (max-width: 992px) {
    .project-content {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media screen and (max-width: 768px) {
    .projects-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .category-filters {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    .filter-btn {
        flex: 0 0 auto;
    }
}

@media screen and (max-width: 576px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .project-item {
        height: 250px;
    }
    
    .project-header h2 {
        font-size: 1.8rem;
    }
    
    .project-meta {
        flex-direction: column;
        gap: 10px;
    }
} 