/**
 * Main CSS File
 * Construction Company Portfolio Website
 */

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
:root {
    /* Main Colors */
    --primary-color: #FFB400; /* Construction Yellow */
    --secondary-color: #1A2B48; /* Deep Blue */
    --dark-color: #333333; /* Dark Gray */
    --light-color: #F5F5F5; /* Light Gray */
    --white-color: #FFFFFF;
    --black-color: #000000;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    
    /* Typography */
    --body-font: 'Cairo', sans-serif;
    --heading-font: 'Cairo', sans-serif;
    
    /* Shadows */
    --box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    --box-shadow-hover: 0 15px 35px rgba(0, 0, 0, 0.2);
    --text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    
    /* Transitions */
    --transition: all 0.3s ease;
    
    /* Borders */
    --border-radius: 8px;
    --border-radius-lg: 15px;
    --border-radius-sm: 4px;
}

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

html {
    scroll-behavior: smooth;
}

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

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

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 20px;
}

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

a:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

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

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

section {
    padding: 80px 0;
    position: relative;
}

.btn {
    padding: 12px 30px;
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

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

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

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

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

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

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

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

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

.section-title {
    margin-bottom: 60px;
    text-align: center;
    position: relative;
}

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

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

.section-title p {
    max-width: 700px;
    margin: 0 auto;
}

/* 3D Effects */
.depth-effect {
    transform-style: preserve-3d;
    perspective: 1000px;
}

.shadow-3d {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1),
                0 5px 15px rgba(0, 0, 0, 0.07);
}

.shadow-3d:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2),
                0 10px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.card-3d {
    transition: var(--transition);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.card-3d:hover {
    transform: translateY(-10px) rotateX(5deg);
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--white-color);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

/*--------------------------------------------------------------
# Top Bar
--------------------------------------------------------------*/
.top-bar {
    background-color: var(--secondary-color);
    padding: 8px 0;
}

.top-bar .contact-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar .contact-info .phone,
.top-bar .contact-info .email {
    display: flex;
    align-items: center;
    color: var(--white-color);
    font-size: 14px;
    opacity: 0.8;
    transition: var(--transition);
}

.top-bar .contact-info .phone:hover,
.top-bar .contact-info .email:hover {
    opacity: 1;
}

.top-bar .contact-info i {
    color: var(--primary-color);
    font-size: 14px;
    margin-right: 8px;
}

[dir="rtl"] .top-bar .contact-info i {
    margin-right: 0;
    margin-left: 8px;
}

.top-bar .contact-info span {
    color: var(--white-color);
}

.top-bar .social-links {
    display: flex;
    align-items: center;
    background: none;
    padding: 0;
}

.top-bar .social-links a {
    color: var(--white-color);
    margin: 0 8px;
    font-size: 14px;
    transition: var(--transition);
    opacity: 0.8;
}

.top-bar .social-links a:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.language-switch {
    display: flex;
    align-items: center;
    background: none;
    padding: 0;
}

.language-switch a {
    color: var(--white-color);
    text-decoration: none;
    font-size: 14px;
    opacity: 0.8;
    transition: var(--transition);
}

.language-switch a:hover {
    opacity: 1;
    transform: translateY(-2px);
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.header {
    background-color: var(--white-color);
    box-shadow: var(--box-shadow);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 999;
    transition: var(--transition);
}

.header.scrolled {
    padding: 10px 0;
}

.navbar-brand img.logo {
    max-height: 60px;
    transition: var(--transition);
}

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

.navbar-nav .nav-item {
    margin: 0 10px;
}

.navbar-nav .nav-link {
    color: var(--secondary-color);
    font-weight: 600;
    padding: 10px 0;
    position: relative;
}

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

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-item.active .nav-link::after {
    width: 100%;
}

.navbar-nav .nav-item.active .nav-link {
    color: var(--primary-color);
}

.header-buttons {
    margin-left: 20px;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 30px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white-color);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--white-color);
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.hero-buttons .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.hero-buttons .btn-primary:hover {
    background-color: var(--primary-color-dark);
    border-color: var(--primary-color-dark);
    transform: translateY(-2px);
}

.hero-buttons .btn-outline-light {
    color: var(--white-color);
    border-color: var(--white-color);
}

.hero-buttons .btn-outline-light:hover {
    background-color: var(--white-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.hero-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 43, 72, 0.85);
    z-index: 1;
}

.hero-3d-element {
    position: absolute;
    bottom: -100px;
    right: 10%;
    width: 300px;
    height: 300px;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}

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

/*--------------------------------------------------------------
# Page Banner
--------------------------------------------------------------*/
.page-banner {
    position: relative;
    padding: 100px 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--white-color);
    text-align: center;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 43, 72, 0.8);
}

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

.page-banner .page-title {
    color: var(--white-color);
    margin-bottom: 10px;
    text-shadow: var(--text-shadow);
}

.page-banner .breadcrumb {
    background: transparent;
    display: inline-flex;
    margin-top: 20px;
}

.page-banner .breadcrumb-item + .breadcrumb-item::before {
    color: var(--primary-color);
}

.page-banner .breadcrumb-item a {
    color: var(--primary-color);
}

.page-banner .breadcrumb-item.active {
    color: var(--white-color);
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about-image {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    background-color: var(--primary-color);
    z-index: -1;
    border-radius: var(--border-radius);
}

.about-image::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background-color: var(--secondary-color);
    z-index: -1;
    border-radius: var(--border-radius);
}

.about-content {
    padding: 30px;
}

.about-feature {
    margin-bottom: 30px;
    padding: 20px;
    background-color: var(--white-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

.about-feature .icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--secondary-color);
    font-size: 24px;
    transition: var(--transition);
}

.about-feature:hover .icon {
    background-color: var(--secondary-color);
    color: var(--white-color);
}

.about-feature h4 {
    margin-bottom: 15px;
}

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

.service-card {
    background: var(--white-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    height: 100%;
}

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

.service-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

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

.service-icon {
    position: absolute;
    top: 175px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-color);
    font-size: 1.5rem;
    z-index: 1;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.service-content {
    padding: 2rem 1.5rem 1.5rem;
    text-align: center;
    height: 100%;
}

.service-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.service-content p {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-content .btn {
    margin-top: auto;
}

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

.filters {
    margin-bottom: 40px;
}

.btn-filter {
    background: none;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 20px;
    margin: 0 5px 10px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

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

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

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.project-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

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

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

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

.project-link {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transform: scale(0);
    transition: var(--transition);
}

.project-card:hover .project-link {
    transform: scale(1);
}

.project-content {
    padding: 20px;
}

.project-content h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.project-content .location {
    color: var(--gray-color);
    font-size: 0.9rem;
    margin: 0;
}

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

[dir="rtl"] .project-content .location i {
    margin-right: 0;
    margin-left: 5px;
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials-section {
    background-color: var(--light-color);
    position: relative;
}

.testimonial-item {
    background-color: var(--white-color);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    margin: 15px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

.testimonial-content {
    position: relative;
    padding-left: 30px;
    margin-bottom: 20px;
}

.testimonial-content::before {
    content: '\f10d';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 0;
    left: 0;
    color: var(--primary-color);
    font-size: 20px;
}

.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-info h4 {
    margin-bottom: 5px;
}

.testimonial-author-info p {
    color: var(--primary-color);
    margin-bottom: 0;
}

.testimonial-rating {
    color: var(--primary-color);
    margin-top: 10px;
}

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

.contact-info {
    background: transparent;
    height: 100%;
}

.contact-info h3 {
    font-size: 1.75rem;
    margin-bottom: 30px;
    color: var(--dark-color);
}

.contact-info .contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.contact-info .contact-item i {
    color: var(--primary-color);
    margin-right: 10px;
    margin-top: 4px;
}

[dir="rtl"] .contact-info .contact-item i {
    margin-right: 0;
    margin-left: 10px;
}

.contact-info .contact-item p {
    margin: 0;
    color: var(--white-color);
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.info-item:last-child {
    margin-bottom: 0;
}

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

[dir="rtl"] .info-icon {
    margin-right: 0;
    margin-left: 20px;
}

.info-content h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.info-content p {
    color: var(--gray-color);
    margin: 0;
    line-height: 1.6;
}

.contact-form {
    background: var(--white-color);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    height: 100%;
}

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

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--dark-color);
    font-weight: 500;
}

.form-control {
    height: 50px;
    padding: 10px 20px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: none;
}

textarea.form-control {
    height: auto;
    resize: vertical;
}

.btn-primary {
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
}

/*--------------------------------------------------------------
# Map Section
--------------------------------------------------------------*/
.map-section {
    position: relative;
}

.map-container {
    width: 100%;
    height: 450px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
    background-color: var(--secondary-color);
    color: var(--white-color);
    position: relative;
}

.footer-widget {
    margin-bottom: 30px;
}

.footer-logo {
    max-height: 60px;
}

.footer-widget .widget-title {
    color: var(--primary-color);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer-widget .widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

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

.footer-links li a {
    color: var(--white-color);
    transition: var(--transition);
}

.footer-links li a:hover {
    color: var(--primary-color);
    padding-left: 10px;
}

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

.social-link {
    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-link:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-5px);
}

.newsletter-section {
    color: var(--white-color);
}

.newsletter-form {
    position: relative;
}

.newsletter-form .form-control {
    height: 50px;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    border: none;
}

.newsletter-form .btn {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    padding: 0 20px;
    height: 50px;
}

.copyright-section {
    background-color: rgba(0, 0, 0, 0.2);
}

.footer-bottom-links a {
    color: var(--white-color);
    margin-left: 15px;
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: var(--primary-color);
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(255, 180, 0, 0.3);
}

.back-to-top:hover {
    background-color: var(--secondary-color);
    color: var(--white-color);
}

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

/*--------------------------------------------------------------
# Responsive Styles
--------------------------------------------------------------*/
@media (max-width: 1199px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .hero-content h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 991px) {
    section {
        padding: 60px 0;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-section {
        height: auto;
        min-height: 600px;
    }
    
    .hero-image {
        width: 100%;
        opacity: 0.3;
    }
    
    .hero-overlay {
        background: linear-gradient(180deg, var(--secondary-color) 0%, rgba(26, 43, 72, 0.8) 100%);
    }
    
    .navbar-nav {
        margin-top: 20px;
    }
    
    .header-buttons {
        margin-top: 20px;
        margin-left: 0;
    }
    
    .service-card {
        margin-bottom: 30px;
    }
}

@media (max-width: 767px) {
    section {
        padding: 50px 0;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-section {
        min-height: 500px;
    }
    
    .section-title {
        margin-bottom: 40px;
    }
    
    .top-bar .contact-info {
        justify-content: center;
        margin-bottom: 10px;
    }
    
    .top-bar .d-flex {
        justify-content: center !important;
    }
    
    .about-image::before,
    .about-image::after {
        display: none;
    }
    
    .service-image {
        height: 180px;
    }
    
    .service-icon {
        top: 155px;
    }
    
    .service-content {
        padding: 1.5rem 1rem 1rem;
    }
    
    .service-content h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 575px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .btn {
        padding: 10px 20px;
    }
    
    .project-filters li {
        display: block;
        margin-bottom: 10px;
    }
    
    .project-filters li button {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

/*--------------------------------------------------------------
# Why Choose Us Section
--------------------------------------------------------------*/
.why-choose-section {
    padding: 80px 0;
    background-color: var(--white-color);
}

.feature-card {
    background: var(--white-color);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

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

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.feature-card p {
    color: var(--gray-color);
    margin: 0;
    line-height: 1.6;
}

/*--------------------------------------------------------------
# Page Header
--------------------------------------------------------------*/
.page-header {
    position: relative;
    padding: 100px 0;
    background-image: linear-gradient(rgba(26, 43, 72, 0.85), rgba(26, 43, 72, 0.85)), var(--banner-image, url('../images/banners/default.jpg'));
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--white-color);
    margin-bottom: 80px;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
}

.page-header h1 {
    color: var(--white-color);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
}

.page-header .breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
    justify-content: center;
    position: relative;
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: var(--white-color);
    opacity: 0.7;
}

.page-header .breadcrumb-item a {
    color: var(--white-color);
    opacity: 0.8;
    transition: var(--transition);
}

.page-header .breadcrumb-item a:hover {
    opacity: 1;
    color: var(--primary-color);
}

.page-header .breadcrumb-item.active {
    color: var(--primary-color);
}

/* Page-specific banners */
.about-page .page-header {
    --banner-image: url('../images/banners/about.jpg');
}

.projects-page .page-header {
    --banner-image: url('../images/banners/projects.jpg');
}

.services-page .page-header {
    --banner-image: url('../images/banners/services.jpg');
}

.contact-page .page-header {
    --banner-image: url('../images/banners/contact.jpg');
}

/*--------------------------------------------------------------
# Vision & Mission Section
--------------------------------------------------------------*/
.vision-mission-section {
    padding: 80px 0;
    background-color: var(--light-color);
}

.vision-card {
    background: var(--white-color);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
}

.vision-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.vision-icon {
    width: 90px;
    height: 90px;
    background: var(--primary-color);
    color: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin: 0 auto 25px;
}

.vision-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.vision-card p {
    color: var(--gray-color);
    margin: 0;
    line-height: 1.7;
}

/*--------------------------------------------------------------
# Values Section
--------------------------------------------------------------*/
.values-section {
    padding: 80px 0;
    background-color: var(--white-color);
}

.value-card {
    background: var(--white-color);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

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

.value-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.value-card p {
    color: var(--gray-color);
    margin: 0;
    line-height: 1.6;
}

/*--------------------------------------------------------------
# About Section Enhancements
--------------------------------------------------------------*/
.about-section {
    padding: 80px 0;
}

.about-image {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.shadow-3d {
    box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.1),
                -20px -20px 60px rgba(255, 255, 255, 0.5);
}

.about-content h2 {
    font-size: 2rem;
    margin-bottom: 25px;
    color: var(--dark-color);
}

.about-content .lead {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--gray-color);
}

.about-content p {
    color: var(--gray-color);
    line-height: 1.7;
}

/*--------------------------------------------------------------
# Project Details Page
--------------------------------------------------------------*/
.project-gallery {
    margin-bottom: 30px;
}

.project-main-slider {
    margin-bottom: 10px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.project-main-slider img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.project-thumb-slider {
    height: 100px;
}

.project-thumb-slider .swiper-slide {
    opacity: 0.4;
    cursor: pointer;
    transition: var(--transition);
}

.project-thumb-slider .swiper-slide-thumb-active {
    opacity: 1;
}

.project-thumb-slider img {
    width: 100%;
    height: 100px;
    object-fit: cover;
}

.project-info {
    height: 100%;
    border: 1px solid var(--border-color);
}

.project-info h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.project-info ul li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.project-info ul li:last-child {
    border-bottom: none;
}

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

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.feature-list li i {
    color: var(--primary-color);
    margin-right: 10px;
}

[dir="rtl"] .feature-list li i {
    margin-right: 0;
    margin-left: 10px;
}

.specifications-table th {
    width: 40%;
    background-color: var(--light-color);
}

.project-contact {
    height: 100%;
}

.project-contact h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.related-projects .project-card {
    margin-bottom: 0;
}

@media (max-width: 991px) {
    .project-main-slider img {
        height: 400px;
    }
    
    .project-info {
        margin-top: 30px;
    }
}

@media (max-width: 767px) {
    .project-main-slider img {
        height: 300px;
    }
    
    .project-thumb-slider {
        height: 80px;
    }
    
    .project-thumb-slider img {
        height: 80px;
    }
} 