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

html {
    scroll-behavior: smooth !important;
    scroll-padding-top: 170px;
}

/* Enhanced smooth scrolling for better browser support */
html, body {
    scroll-behavior: smooth !important;
    -webkit-overflow-scrolling: touch;
}

/* Ensure smooth scrolling works on all elements */
* {
    scroll-behavior: inherit;
}

/* Improve scrolling performance */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Smooth scrolling for specific elements */
.smooth-scroll {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* Optimize animations for better performance */
.project-card,
.news-item,
.gallery-item {
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
}

:root {
    --primary-color: #1a1a1a;
    --accent-color: #c9302c;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #f8f8f8;
    --bg-white: #ffffff;
    --border-color: #e5e5e5;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-color);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    font-weight: 800;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 2rem;
    font-weight: 700;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 1rem;
    font-weight: 600;
}

p {
    margin-bottom: 1.5rem;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    opacity: 0;
    animation: fadeIn 0.5s ease-in forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Optimize image loading performance */
img[loading="lazy"] {
    content-visibility: auto;
}

/* Smooth background image loading */
[style*="background-image"] {
    background-color: #e5e5e5;
    transition: background-image 0.3s ease-in-out;
}

/* Removed shimmer animation - background images should be static */
.hero, .featured-project {
    /* animation removed */
}

/* @keyframes shimmer removed - not needed */

/* Performance optimization hints */
.hero-image, .featured-project-image {
    will-change: opacity;
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

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

/* Buttons */
.btn-primary,
.btn-outline {
    display: inline-block;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background-color: #a02622;
    border-color: #a02622;
}

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

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

/* Header - Consistent across all pages */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

/* Header background overlay - removed as no longer needed */

.header-top {
    background-color: var(--bg-light);
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-light);
}

.header-top-content {
    display: flex;
    justify-content: flex-end;
}

.contact-info span {
    margin-left: 20px;
}

.header-main {
    padding: 15px 0;
    background-color: white;
}

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

.logo {
    flex: 0 0 auto;
}

.logo img {
    height: 140px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.03);
}

.main-nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
    margin: 0;
    padding: 0;
    align-items: center;
    /* Prevent flex container from wrapping and maintain stable layout */
    flex-wrap: nowrap;
}

.main-nav a {
    font-size: 15px;
    font-weight: 600;
    color: var(--primary-color);
    position: relative;
    padding: 12px 0;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
    /* Ensure consistent width to prevent layout shifts */
    white-space: nowrap;
    text-transform: uppercase;
}

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

.main-nav a:hover,
.main-nav a.active {
    color: var(--accent-color);
}

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

/* Underline for dropdown items using ::before instead of ::after (since ::after is used for arrow) */
.main-nav > ul > li.has-dropdown > a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.main-nav > ul > li.has-dropdown > a:hover::before,
.main-nav > ul > li.has-dropdown > a.active::before {
    width: calc(100% - 16px);
}

/* The ::after for dropdown items is used for the arrow, not the underline */

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    flex: 0 0 auto;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    margin-top: 170px;
    height: calc(100vh - 170px);
    min-height: 600px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #e8e8e8 0%, #d5d5d5 100%);
}

.hero-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #e8e8e8;
    transition: opacity 0.6s ease-in-out;
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0));
    z-index: 1;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    color: white;
    text-align: center;
    z-index: 2;
}

.hero-content h1 {
    color: white;
    margin-bottom: 20px;
    font-size: clamp(3rem, 6vw, 5rem);
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.9), 
                 1px 1px 3px rgba(0, 0, 0, 0.8),
                 0 0 20px rgba(0, 0, 0, 0.8);
    font-weight: 800;
}

.hero-content p {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9),
                 1px 1px 2px rgba(0, 0, 0, 0.8),
                 0 0 15px rgba(0, 0, 0, 0.7);
    color: white;
}

.hero-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.hero-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.hero-dots .dot.active {
    background-color: white;
}

/* Company Intro Section (Merged) */
.company-intro-section {
    padding: 120px 0;
    background-color: #f5f5f5;
    background-image: url('../img/Altrip_Buero_RZ.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.intro-overlay {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 248, 248, 0.92) 100%);
    z-index: 1;
}

.company-intro-section .container {
    position: relative;
    z-index: 2;
}

.intro-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.intro-text-content {
    max-width: 900px;
    margin: 0 auto 80px;
    text-align: center;
}

.intro-text-content h2 {
    font-size: 3rem;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.intro-text-content h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #c9302c, #e74c3c);
    border-radius: 2px;
}

.intro-description {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
    text-align: justify;
}

.intro-description:last-of-type {
    margin-bottom: 0;
}

.lead {
    font-size: 1.25rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* Featured Project Section */
.featured-project {
    position: relative;
    width: 100%;
    height: 750px;
    overflow: hidden;
    margin: 0;
}

.featured-project-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.featured-project-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #d0d0d0;
    transition: opacity 0.5s ease-in-out;
    /* Removed background-attachment: fixed for better mobile performance */
}

.featured-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(201, 48, 44, 0.85) 0%, rgba(26, 26, 26, 0.75) 100%);
}

.featured-project-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    color: white;
    padding: 0 40px;
    width: 100%;
    max-width: 900px;
    text-align: center;
}

.project-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
    opacity: 0.9;
    text-align: center;
}

.project-name {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
    color: white;
    text-align: center;
}

.project-info {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.95;
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.featured-project .btn-primary {
    background: white;
    color: var(--accent-color);
    padding: 15px 40px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.featured-project .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

/* New styles for enhanced featured project section */
.project-details-row {
    display: flex;
    gap: 40px;
    margin: 30px auto;
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    animation: fadeInUp 1s ease 0.6s both;
    justify-content: center;
    max-width: 600px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.detail-item {
    text-align: center;
    transition: transform 0.3s ease;
    cursor: default;
}

.detail-item:hover {
    transform: translateY(-5px);
}

.detail-item:hover .detail-number {
    transform: scale(1.1);
}

.detail-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    line-height: 1;
    margin-bottom: 8px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.detail-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
    color: white;
}

.project-buttons {
    display: flex;
    gap: 20px;
    margin-top: 35px;
    justify-content: center;
}

.project-buttons .btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 15px 40px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.project-buttons .btn-secondary:hover {
    background: white;
    color: var(--accent-color);
    transform: translateY(-2px);
}

/* Featured Projects Carousel Styles */
.featured-projects-carousel {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.featured-project-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(100px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    pointer-events: none;
}

.featured-project-wrapper.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

/* Carousel Navigation */
.featured-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    z-index: 20;
    pointer-events: none;
}

.featured-prev,
.featured-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
}

.featured-prev {
    left: 40px;
}

.featured-next {
    right: 40px;
}

.featured-prev:hover,
.featured-next:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.featured-prev svg,
.featured-next svg {
    color: white;
}

/* Project Indicators */
.featured-indicators {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 20;
}

.featured-indicators .indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.featured-indicators .indicator.active {
    background: white;
    transform: scale(1.3);
}

.featured-indicators .indicator:hover {
    background: rgba(255, 255, 255, 0.6);
}

.project-side-buttons {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 10;
}

.side-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.side-btn:hover {
    background: white;
    color: var(--accent-color);
    transform: scale(1.1);
}

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


.projects-section h2 {
    text-align: center;
    margin-bottom: 60px;
}

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

.project-card {
    background-color: white;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

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

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

.project-status {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--accent-color);
    color: white;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-status.sold {
    background-color: #666;
}

.project-content {
    padding: 30px;
}

.project-content h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.project-location {
    color: var(--accent-color);
    font-weight: 500;
    margin-bottom: 10px;
}

.project-details {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 15px;
}

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

.project-link {
    color: var(--accent-color);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.project-card:hover .project-link {
    transform: translateX(5px);
}

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

/* Services Section - Clean Grid Layout */
.services-section {
    padding: 100px 0;
    margin: 60px 0;
    background: #f5f5f5;
    position: relative;
}

.services-section .container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

.services-header {
    text-align: center;
    margin-bottom: 70px;
    position: relative;
}

.services-header h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    color: var(--primary-color);
    margin-bottom: 25px;
    font-weight: 800;
    position: relative;
    display: inline-block;
    letter-spacing: -0.5px;
}

.services-header h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #a30018;
    border-radius: 2px;
}

.services-header p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 30px auto 0;
    line-height: 1.6;
}

/* Services Grid Container */
.services-grid-container {
    display: grid;
    grid-template-columns: 1fr 500px 1fr;
    gap: 30px;
    align-items: start;
    max-width: 1300px;
    margin: 0 auto;
}

/* Service Columns */
.services-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Service Box Styling */
.service-box {
    margin-bottom: 50px;
}

.service-box h3 {
    font-size: 18px;
    font-weight: bold;
    margin: 0 0 10px;
    display: flex !important;
    align-items: center !important;
    color: var(--primary-color);
    position: relative;
}

/* Left column - dot on the right (image side), line extends from text to dot */
.services-left .service-box h3::before {
    content: "";
    flex-grow: 1;
    height: 2px;
    background-color: #a30018;
    margin-left: 8px;
    order: 1;
}

.services-left .service-box h3::after {
    content: "●";
    color: #a30018;
    margin-left: 8px;
    font-size: 14px;
    order: 2;
}

/* Right column - dot and line on the left (image side) */
.services-right .service-box h3 {
    flex-direction: row-reverse !important;
    justify-content: flex-end !important;
    display: flex !important;
}

.services-right .service-box h3::before {
    content: "●" !important;
    color: #a30018 !important;
    margin-left: 0 !important;
    margin-right: 8px !important;
    font-size: 14px !important;
    order: 3 !important;
    display: inline-block !important;
}

.services-right .service-box h3::after {
    content: "" !important;
    flex-grow: 1 !important;
    height: 2px !important;
    background-color: #a30018 !important;
    background: #a30018 !important;
    margin-left: 0 !important;
    margin-right: 8px !important;
    order: 2 !important;
    display: block !important;
    min-width: 50px !important;
}

.service-box p {
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    color: #333;
}

/* Center Image */
.services-center-image {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 100px;
}

.services-center-image img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Highlight Link */
.highlight-link {
    color: #a30018;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.highlight-link:hover {
    color: #7a0012;
    text-decoration: underline;
}

/* Responsive Design for Services Grid */
@media (max-width: 1200px) {
    .services-grid-container {
        grid-template-columns: 1fr 400px 1fr;
        gap: 25px;
    }
}

@media (max-width: 992px) {
    .services-grid-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .services-center-image {
        order: -1;
        max-width: 500px;
        margin: 0 auto 40px;
    }
    
    .services-column {
        max-width: 600px;
        margin: 0 auto;
    }
    
    /* Reset flex direction for right column on mobile */
    .services-right .service-box h3 {
        flex-direction: row;
    }
    
    /* Hide lines on mobile */
    .services-left .service-box h3::before,
    .services-right .service-box h3::before {
        display: none;
    }
    
    /* Reset both columns to have dot on left on mobile */
    .services-left .service-box h3::after,
    .services-right .service-box h3::after {
        content: none;
    }
    
    .services-left .service-box h3::before,
    .services-right .service-box h3::before {
        content: "●";
        color: #a30018;
        margin-right: 8px;
        margin-left: 0;
        font-size: 14px;
        order: 0;
        flex-grow: 0;
        display: inline;
    }
    
    .service-box {
        text-align: left;
        margin-bottom: 30px;
    }
    
    .service-box h3 {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .services-section {
        padding: 80px 0;
        margin: 40px 0;
    }
    
    .services-header {
        margin-bottom: 50px;
    }
    
    .services-header h2 {
        font-size: 2rem;
    }
    
    .services-header p {
        font-size: 1rem;
    }
    
    .services-grid-container {
        gap: 30px;
        padding: 0 15px;
    }
    
    .service-box h3 {
        font-size: 16px;
    }
    
    .service-box p {
        font-size: 13px;
    }
    
    .services-center-image {
        margin-bottom: 30px;
    }
}


/* Responsive Design for Services Section */
@media (max-width: 1300px) {
    .services-layout {
        min-height: auto;
        padding: 40px 20px;
    }
    
    .central-drawing {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        width: 100%;
        max-width: 500px;
        height: 300px;
        margin: 0 auto 60px;
    }
    
    .service-item {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
        width: 100%;
        max-width: 600px;
        margin: 0 auto 40px !important;
        text-align: left !important;
    }
    
    .service-item .service-title {
        justify-content: flex-start !important;
        flex-direction: row !important;
    }
    
    .service-item .service-description {
        text-align: left !important;
    }
    
    .service-line {
        width: 60px !important;
        margin: 0 15px !important;
    }
}

@media (max-width: 768px) {
    .services-header h2 {
        font-size: 1.8rem;
    }
    
    .central-drawing {
        height: 250px;
        margin-bottom: 40px;
    }
    
    .service-item {
        padding: 0 15px;
    }
    
    .service-title {
        font-size: 1rem;
    }
    
    .service-description {
        font-size: 0.9rem;
    }
    
    .service-line {
        width: 40px !important;
        margin: 0 10px !important;
    }
}

/* Central Architectural Image - Square Center */
.services-central-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 420px;
    height: 420px;
    z-index: 5;
    border-radius: 25px;
    overflow: hidden;
    border: 8px solid rgba(255, 255, 255, 0.95);
    box-shadow: 
        0 0 0 4px rgba(201, 48, 44, 0.15),
        0 25px 60px rgba(0, 0, 0, 0.25);
}

.architectural-illustration {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: white;
}

.architectural-illustration img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    transition: all 0.5s ease;
}

.architectural-illustration:hover img {
    opacity: 0.9;
    transform: scale(1.02);
}

.architectural-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg, 
        rgba(26, 26, 26, 0.1) 0%, 
        transparent 30%, 
        transparent 70%, 
        rgba(201, 48, 44, 0.1) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.architectural-illustration:hover .architectural-overlay {
    opacity: 1;
}

.drawing-tools {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

/* Blueprint Papers */
.blueprint-papers {
    position: relative;
    width: 80px;
    height: 60px;
}

.paper {
    position: absolute;
    width: 70px;
    height: 50px;
    background: white;
    border: 2px solid #0066cc;
    border-radius: 4px;
    opacity: 0.9;
}

.paper-1 {
    top: 0;
    left: 0;
    transform: rotate(-5deg);
    z-index: 3;
}

.paper-2 {
    top: 5px;
    left: 5px;
    transform: rotate(2deg);
    z-index: 2;
}

.paper-3 {
    top: 10px;
    left: 10px;
    transform: rotate(-2deg);
    z-index: 1;
}

/* Drafting Tools */
.drafting-tools {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}

.ruler {
    width: 60px;
    height: 4px;
    background: #ffd700;
    border-radius: 2px;
    position: relative;
}

.ruler::after {
    content: '';
    position: absolute;
    left: 10px;
    top: -2px;
    width: 2px;
    height: 8px;
    background: #333;
    border-radius: 1px;
}

.pencil {
    width: 50px;
    height: 6px;
    background: linear-gradient(90deg, #ffd700 0%, #333 80%, #333 100%);
    border-radius: 3px;
    transform: rotate(15deg);
}

.compass {
    width: 8px;
    height: 30px;
    background: #666;
    border-radius: 4px;
    position: relative;
    transform: rotate(-10deg);
}

.compass::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: #333;
    border-radius: 50%;
}

/* Services Grid - Circular Flower Layout */
.services-grid {
    position: relative;
    width: 100%;
    height: 750px;
}

/* Service Cards - Rounded Design */
.service-card {
    position: absolute;
    width: 260px;
    background: white;
    border-radius: 30px;
    padding: 25px 20px;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.1),
        0 4px 12px rgba(0, 0, 0, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.9);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(15px);
    z-index: 2;
    transform-origin: center center;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 
        0 25px 60px rgba(0, 0, 0, 0.15),
        0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: rgba(201, 48, 44, 0.4);
    z-index: 10;
}

/* Perfect Circle Positioning - 6 cards around larger center */
.service-card[data-position="top-left"] {
    top: 20px;
    left: 80px;
    transform: rotate(0deg);
}

.service-card[data-position="top-right"] {
    top: 20px;
    right: 80px;
    transform: rotate(0deg);
}

.service-card[data-position="middle-left"] {
    top: 50%;
    left: -10px;
    transform: translateY(-50%) rotate(0deg);
}

.service-card[data-position="middle-right"] {
    top: 50%;
    right: -10px;
    transform: translateY(-50%) rotate(0deg);
}

.service-card[data-position="bottom-left"] {
    bottom: 20px;
    left: 80px;
    transform: rotate(0deg);
}

.service-card[data-position="bottom-right"] {
    bottom: 20px;
    right: 80px;
    transform: rotate(0deg);
}

/* Hover transforms maintaining positioning */
.service-card[data-position="top-left"]:hover {
    transform: rotate(0deg) translateY(-10px) scale(1.03);
}

.service-card[data-position="top-right"]:hover {
    transform: rotate(0deg) translateY(-10px) scale(1.03);
}

.service-card[data-position="middle-left"]:hover {
    transform: translateY(-50%) translateY(-10px) scale(1.03);
}

.service-card[data-position="middle-right"]:hover {
    transform: translateY(-50%) translateY(-10px) scale(1.03);
}

.service-card[data-position="bottom-left"]:hover {
    transform: rotate(0deg) translateY(-10px) scale(1.03);
}

.service-card[data-position="bottom-right"]:hover {
    transform: rotate(0deg) translateY(-10px) scale(1.03);
}

/* Service Icons - More Rounded */
.service-icon {
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, var(--accent-color), #e74c3c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(201, 48, 44, 0.3);
}

.service-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

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

.service-icon svg {
    width: 32px;
    height: 32px;
    color: white;
    stroke-width: 2.5;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* Service Content */
.service-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 18px;
    line-height: 1.3;
}

.service-content p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 20px;
}

.service-learn-more {
    color: var(--accent-color);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
    position: relative;
}

.service-learn-more::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.service-learn-more:hover::after {
    width: 100%;
}

.service-learn-more:hover {
    transform: translateX(5px);
    color: #a02622;
}

/* Round connection points that touch the center image */
.service-card::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    background: var(--accent-color);
    border: 3px solid white;
    border-radius: 50%;
    box-shadow: 0 3px 10px rgba(201, 48, 44, 0.4);
    z-index: 10;
    transition: all 0.3s ease;
}

/* Position round points to touch center image */
.service-card[data-position="top-left"]::before {
    bottom: -8px;
    right: 50px;
}

.service-card[data-position="top-right"]::before {
    bottom: -8px;
    left: 50px;
}

.service-card[data-position="middle-left"]::before {
    top: 50%;
    right: -8px;
    transform: translateY(-50%);
}

.service-card[data-position="middle-right"]::before {
    top: 50%;
    left: -8px;
    transform: translateY(-50%);
}

.service-card[data-position="bottom-left"]::before {
    top: -8px;
    right: 50px;
}

.service-card[data-position="bottom-right"]::before {
    top: -8px;
    left: 50px;
}

/* Hover effect for round points */
.service-card:hover::before {
    transform: scale(1.2);
    box-shadow: 0 5px 15px rgba(201, 48, 44, 0.6);
}

.service-card[data-position="middle-left"]:hover::before {
    transform: translateY(-50%) scale(1.2);
}

.service-card[data-position="middle-right"]:hover::before {
    transform: translateY(-50%) scale(1.2);
}

/* Text alignment - Center for rounded design */
.service-card-left,
.service-card-right {
    text-align: center;
}

/* Responsive design */
@media (max-width: 1200px) {
    .services-layout {
        height: 700px;
        max-width: 1200px;
    }
    
    .service-item {
        width: 320px;
    }
    
    .central-drawing {
        width: 450px;
        height: 320px;
    }
}

@media (max-width: 1024px) {
    .services-layout {
        height: 600px;
    }
    
    .service-item {
        width: 280px;
    }
    
    .central-drawing {
        width: 380px;
        height: 270px;
    }
}

@media (max-width: 768px) {
    .services-layout {
        height: 1000px;
        flex-direction: column;
        gap: 40px;
    }
    
    .service-item {
        position: relative;
        width: 100%;
        text-align: center;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
    }
    
    .service-item .service-title {
        justify-content: center !important;
        flex-direction: row !important;
    }
    
    .central-drawing {
        position: relative;
        transform: none;
        width: 280px;
        height: 200px;
        order: 1;
    }
}
        width: 320px;
        height: 320px;
        border-radius: 20px;
    }
    
    .services-grid {
        height: 620px;
    }
    
    .service-card {
        width: 220px;
        padding: 20px 15px;
    }
    
    /* Adjust positioning for smaller center image */
    .service-card[data-position="top-left"] {
        top: 25px;
        left: 70px;
    }
    
    .service-card[data-position="top-right"] {
        top: 25px;
        right: 70px;
    }
    
    .service-card[data-position="middle-left"] {
        left: 0px;
    }
    
    .service-card[data-position="middle-right"] {
        right: 0px;
    }
    
    .service-card[data-position="bottom-left"] {
        bottom: 25px;
        left: 70px;
    }
    
    .service-card[data-position="bottom-right"] {
        bottom: 25px;
        right: 70px;
    }
    
    .service-icon {
        width: 55px;
        height: 55px;
        margin-bottom: 15px;
    }
    
    .service-icon svg {
        width: 26px;
        height: 26px;
    }
    
    .service-content h3 {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }
    
    .service-content p {
        font-size: 13px;
    }
}

@media (max-width: 992px) {
    .services-section {
        padding: 80px 0;
    }
    
    .services-header {
        margin-bottom: 60px;
    }
    
    .services-modern-layout {
        display: flex;
        flex-direction: column;
        gap: 40px;
        min-height: auto;
    }
    
    .services-central-image {
        position: static;
        transform: none;
        width: 100%;
        max-width: 500px;
        height: 300px;
        margin: 0 auto 40px;
        order: 1;
        border-radius: 15px;
    }
    
    .services-grid {
        position: static;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
        height: auto;
        order: 2;
    }
    
    .service-card {
        position: static !important;
        width: 100% !important;
        transform: none !important;
    }
    
    .service-card:hover {
        transform: translateY(-5px) !important;
    }
    
    .service-connector {
        display: none;
    }
    
    .drawing-tools {
        gap: 20px;
    }
    
    .blueprint-papers {
        width: 60px;
        height: 45px;
    }
    
    .paper {
        width: 55px;
        height: 40px;
    }
}

@media (max-width: 768px) {
    .services-section {
        padding: 60px 0;
    }
    
    .services-header h2 {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }
    
    .services-subtitle {
        font-size: 1.1rem;
        margin-top: 20px;
    }
    
    .services-central-image {
        height: 250px;
        margin-bottom: 30px;
        border-radius: 12px;
    }
    
    .architectural-illustration {
        border-radius: 10px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .service-card {
        padding: 25px 20px;
        border-radius: 15px;
    }
    
    .service-icon {
        width: 55px;
        height: 55px;
        border-radius: 15px;
        margin-bottom: 18px;
    }
    
    .service-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .service-content h3 {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }
    
    .service-content p {
        font-size: 13px;
        line-height: 1.6;
        margin-bottom: 15px;
    }
    
    .service-learn-more {
        font-size: 13px;
    }
    
    .drawing-tools {
        gap: 15px;
        transform: scale(0.8);
    }
}

@media (max-width: 480px) {
    .services-section {
        padding: 50px 0;
    }
    
    .services-header {
        margin-bottom: 50px;
    }
    
    .services-header h2 {
        font-size: 1.8rem;
    }
    
    .services-subtitle {
        font-size: 1rem;
    }
    
    .services-central-image {
        height: 200px;
        margin-bottom: 25px;
        border-radius: 10px;
    }
    
    .architectural-illustration {
        border-radius: 8px;
    }
    
    .service-card {
        padding: 20px 15px;
        border-radius: 12px;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
        border-radius: 12px;
        margin-bottom: 15px;
    }
    
    .service-icon svg {
        width: 22px;
        height: 22px;
    }
    
    .service-content h3 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    
    .service-content p {
        font-size: 12px;
        margin-bottom: 12px;
    }
    
    .drawing-tools {
        transform: scale(0.7);
    }
}





/* Full Width Image Breaker Section */
.image-breaker-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    max-height: 800px;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.image-breaker-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-breaker-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* background-attachment: fixed; - Removed for mobile performance */
    z-index: 1;
}

.image-breaker-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.75) 0%, rgba(201, 48, 44, 0.4) 100%);
    z-index: 2;
}

.image-breaker-content {
    position: relative;
    z-index: 3;
    color: white;
    text-align: center;
    width: 100%;
    padding: 0 20px;
}

.breaker-text {
    max-width: 800px;
    margin: 0 auto;
}

.breaker-subtitle {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    opacity: 0;
    animation: fadeInUp 1s ease 0.2s forwards;
}

.breaker-title {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    color: white;
    margin-bottom: 30px;
    line-height: 1.1;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
    opacity: 0;
    animation: fadeInUp 1s ease 0.4s forwards;
}

.breaker-description {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    opacity: 0;
    animation: fadeInUp 1s ease 0.6s forwards;
}

.breaker-btn {
    background-color: var(--accent-color);
    color: white;
    padding: 15px 40px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--accent-color);
    border-radius: 0;
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeInUp 1s ease 0.8s forwards;
}

.breaker-btn:hover {
    background-color: transparent;
    color: white;
    border-color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Contact Buttons */
.breaker-contact-buttons {
    position: absolute;
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 4;
}

.contact-button {
    width: 60px;
    height: 60px;
    background-color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(201, 48, 44, 0.3);
    opacity: 0;
    animation: slideInRight 1s ease 1s forwards;
}

.contact-button:hover {
    background-color: #a02622;
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(201, 48, 44, 0.5);
}

.contact-button svg {
    width: 24px;
    height: 24px;
}

.contact-button.email-button {
    animation-delay: 1.2s;
}

/* Animations */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .image-breaker-section {
        height: 80vh;
        min-height: 500px;
    }
    
    .breaker-contact-buttons {
        right: 20px;
    }
    
    .contact-button {
        width: 50px;
        height: 50px;
    }
    
    .contact-button svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 768px) {
    .image-breaker-section {
        height: 70vh;
        min-height: 450px;
    }
    
    .breaker-contact-buttons {
        position: static;
        transform: none;
        flex-direction: row;
        justify-content: center;
        margin-top: 40px;
        gap: 20px;
    }
    
    .breaker-title {
        font-size: 3rem;
    }
    
    .breaker-description {
        font-size: 1.1rem;
    }
    
    .breaker-btn {
        padding: 12px 30px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .image-breaker-section {
        height: 60vh;
        min-height: 400px;
    }
    
    .breaker-subtitle {
        font-size: 0.9rem;
        letter-spacing: 1px;
    }
    
    .breaker-title {
        font-size: 2.5rem;
        margin-bottom: 20px;
    }
    
    .breaker-description {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .breaker-btn {
        padding: 10px 25px;
        font-size: 0.85rem;
    }
    
    .contact-button {
        width: 45px;
        height: 45px;
    }
    
    .contact-button svg {
        width: 18px;
        height: 18px;
    }
}

/* Gallery Section */
.gallery-section {
    padding: 100px 0;
    background-color: var(--bg-light);
    background-image: url('../img/IMG_6669.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* background-attachment: fixed; - Removed for mobile performance */
    position: relative;
}

.gallery-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(248, 248, 248, 0.92);
    z-index: 1;
}

.gallery-section .container {
    position: relative;
    z-index: 2;
}

.gallery-section h2 {
    text-align: center;
    margin-bottom: 60px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    position: relative;
    z-index: 2;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    height: 300px;
    cursor: pointer;
}

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

.gallery-item:hover img {
    transform: scale(1.05);
}

/* References Section - Project Cards */
.references-section .projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.references-section .project-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

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

.references-section .project-card:hover .project-image img {
    transform: scale(1.05);
}

.references-section .project-status {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 8px 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 4px;
    color: white;
}

.references-section .status-planning {
    background-color: #ffc107;
}

.references-section .status-selling {
    background-color: #dc3545;
}

.references-section .project-content {
    padding: 30px;
}

.references-section .project-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.references-section .project-location {
    color: var(--accent-color);
    font-weight: 500;
    margin-bottom: 20px;
}

.references-section .project-details {
    background-color: var(--bg-light);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.references-section .detail-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.references-section .detail-row:last-child {
    margin-bottom: 0;
}

.references-section .detail-item {
    flex: 1;
}

.references-section .detail-label {
    display: block;
    font-size: 12px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.references-section .detail-value {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
}

.references-section .project-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
}

.references-section .project-link {
    color: var(--accent-color);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.references-section .project-link:hover {
    color: #a02622;
}

/* Intro Stats Grid */
.intro-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
    max-width: 1100px;
    margin: 0 auto;
}

.intro-stat-item {
    padding: 40px 20px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.intro-stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #c9302c, #e74c3c);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.intro-stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.intro-stat-item:hover::before {
    transform: scaleX(1);
}

.stat-item {
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(201, 48, 44, 0.1);
    transition: transform 0.3s ease, background-color 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-color);
}

.stat-number {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--accent-color);
    line-height: 1;
    text-shadow: none;
}

.stat-number.animated {
    color: var(--accent-color);
    animation: countUpPulse 0.5s ease-out forwards;
}

@keyframes countUpPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    position: relative;
    color: white;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* background-attachment: fixed; - Removed for mobile performance */
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(201, 48, 44, 0.4) 100%);
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    color: white;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

/* News Section */
.news-section {
    padding: 100px 0;
    background-color: var(--bg-white);
    background-image: url('../img/IMG20250415091348.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* background-attachment: fixed; - Removed for mobile performance */
    position: relative;
}

.news-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.95);
    z-index: 1;
}

.news-section .container {
    position: relative;
    z-index: 2;
}

.news-section h2 {
    text-align: center;
    margin-bottom: 60px;
    color: var(--primary-color);
    font-size: 2.5rem;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 2;
}

.news-item {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 1px solid rgba(201, 48, 44, 0.1);
    position: relative;
    overflow: hidden;
}

.news-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--accent-color), rgba(201, 48, 44, 0.3));
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.3s ease;
}

.news-item:hover::before {
    transform: scaleY(1);
}

.news-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border-color: var(--accent-color);
}

.news-item time {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(201, 48, 44, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 20px;
}

.news-item h3 {
    margin: 0 0 20px 0;
    font-size: 1.4rem;
    color: var(--primary-color);
    line-height: 1.3;
}

.news-item p {
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.7;
}

.news-link {
    color: var(--accent-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 14px;
    position: relative;
    padding-bottom: 2px;
}

.news-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.news-link:hover::after {
    width: 100%;
}

.news-link:hover {
    transform: translateX(5px);
}

/* Contact Section */
.contact-section {
    background-color: var(--bg-white);
    background-image: url('../img/IMG_6668.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* background-attachment: fixed; - Removed for mobile performance */
    padding: 0;
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.85) 0%, rgba(201, 48, 44, 0.7) 100%);
    z-index: 1;
}

.contact-header {
    padding: 100px 0 80px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.contact-header h2 {
    margin-bottom: 20px;
    color: white;
    font-size: 3rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.contact-header p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Contact Info Cards */
.contact-info-cards {
    padding: 0 0 60px;
    position: relative;
    z-index: 2;
}

.info-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.info-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #c9302c, #e74c3c);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.info-card:hover::before {
    transform: scaleX(1);
}

.info-card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, rgba(201, 48, 44, 0.1), rgba(231, 76, 60, 0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.info-card-icon svg {
    color: #c9302c;
    transition: transform 0.3s ease;
}

.info-card:hover .info-card-icon {
    background: linear-gradient(135deg, #c9302c, #e74c3c);
    transform: scale(1.1);
}

.info-card:hover .info-card-icon svg {
    color: white;
    transform: scale(1.1);
}

.info-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #2c3e50;
    font-weight: 700;
}

.info-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 15px;
}

.info-card-link {
    display: inline-flex;
    align-items: center;
    color: #c9302c;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.info-card-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #c9302c;
    transition: width 0.3s ease;
}

.info-card:hover .info-card-link {
    color: #a02622;
    transform: translateX(5px);
}

.info-card:hover .info-card-link::after {
    width: 100%;
}

.contact-content {
    padding: 80px 0 100px;
    position: relative;
    z-index: 2;
}

.contact-grid {
    display: flex;
    justify-content: center;
    align-items: start;
}

/* Contact Cards */
.contact-info-wrapper {
    display: grid;
    gap: 30px;
}

.contact-card {
    background-color: var(--bg-light);
    padding: 30px;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.contact-card.main-office {
    background-color: var(--primary-color);
    color: white;
}

.contact-card.main-office h3,
.contact-card.main-office p,
.contact-card.main-office .map-link {
    color: white;
}

.card-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(201, 48, 44, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.contact-card.main-office .card-icon {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.contact-card h3 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.contact-card p {
    line-height: 1.8;
    margin-bottom: 15px;
}

.contact-card a {
    color: var(--accent-color);
    font-weight: 500;
}

.contact-card a:hover {
    text-decoration: underline;
}

.map-link {
    display: inline-flex;
    align-items: center;
    margin-top: 10px;
}

/* Contact Form */
.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 50px;
    max-width: 800px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 3;
}

.contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 20px;
    z-index: -1;
}

.form-header {
    margin-bottom: 40px;
    text-align: center;
}

.form-header h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-weight: 700;
}

.form-header p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.6;
}

.contact-form {
    display: grid;
    gap: 20px;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid rgba(229, 229, 229, 0.8);
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.9);
    font-family: inherit;
    font-size: 15px;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(201, 48, 44, 0.15);
    background-color: white;
    transform: translateY(-2px);
}

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

.form-footer {
    margin-top: 10px;
}

.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-light);
}

.checkbox input[type="checkbox"] {
    margin-top: 3px;
    cursor: pointer;
    width: 16px;
    height: 16px;
}

.checkbox a {
    color: var(--accent-color);
    text-decoration: underline;
}

.form-footer .btn-primary {
    width: 100%;
    padding: 18px 40px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--accent-color) 0%, #a02622 100%);
    border: none;
    box-shadow: 0 8px 25px rgba(201, 48, 44, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.form-footer .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.form-footer .btn-primary:hover::before {
    left: 100%;
}

.form-footer .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(201, 48, 44, 0.4);
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    color: #999;
}

.footer-top {
    padding: 80px 0 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-column h4 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: white;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.footer-logo {
    height: 110px;
    width: auto;
    margin-bottom: 30px;
    /* Removed filter to show logo as-is */
    transition: transform 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.05);
}

.footer-about p {
    line-height: 1.8;
    margin-bottom: 25px;
}

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

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

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

.footer-social svg {
    width: 20px;
    height: 20px;
    fill: white;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: #999;
    transition: color 0.3s ease;
    position: relative;
}

.footer-column ul li a:hover {
    color: white;
    padding-left: 5px;
}

.footer-column address {
    font-style: normal;
}

.footer-column address p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.footer-contact-info a {
    color: white;
    font-weight: 500;
}

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

/* Footer Bottom */
.footer-bottom {
    padding: 30px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright p {
    margin: 0;
    font-size: 14px;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-legal a {
    color: #999;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: white;
}

.footer-legal span {
    color: #666;
}

/* Fixed Contact Button */
.fixed-contact-button {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 9999;
}

.contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background-color: var(--accent-color);
    color: white;
    border-radius: 8px 0 0 8px;
    transition: all 0.3s ease;
    box-shadow: -5px 0 20px rgba(201, 48, 44, 0.3);
    position: relative;
    overflow: hidden;
}

.contact-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.contact-btn:hover::before {
    left: 100%;
}

.contact-btn:hover {
    background-color: #a02622;
    transform: translateX(-10px);
    box-shadow: -10px 0 30px rgba(201, 48, 44, 0.5);
}

.contact-btn svg {
    width: 28px;
    height: 28px;
    stroke: currentColor;
    transition: transform 0.3s ease;
}

.contact-btn:hover svg {
    transform: scale(1.1);
}

/* Animation for initial appearance */
.fixed-contact-button {
    animation: slideInFromRight 1s ease 2s forwards;
    transform: translateY(-50%) translateX(100%);
}

@keyframes slideInFromRight {
    0% {
        transform: translateY(-50%) translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateY(-50%) translateX(0);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
    }
    
    .contact-grid {
        flex-direction: column;
        align-items: center;
    }

    .info-cards-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }

    .info-card {
        padding: 35px 25px;
    }

    .info-card h3 {
        font-size: 1.25rem;
    }

    .info-card p {
        font-size: 14px;
    }

    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }
    
    .footer-about {
        grid-column: 1 / -1;
        max-width: 100%;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-logo {
        height: 90px;
        margin: 0 auto 25px;
    }
    
    /* Featured project responsive styles */
    .project-details-row {
        flex-direction: column;
        gap: 20px;
        padding: 20px 0;
    }
    
    .detail-number {
        font-size: 2rem;
    }
    
    .project-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .project-buttons .btn-primary,
    .project-buttons .btn-secondary {
        width: 100%;
        text-align: center;
        padding: 12px 20px;
    }
    
    .featured-project-content {
        padding: 0 20px;
    }
    
    .project-name {
        font-size: 2rem !important;
    }
    
    .project-info {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .project-side-buttons {
        display: none;
    }
    
    /* Carousel responsive styles */
    .featured-prev,
    .featured-next {
        width: 50px;
        height: 50px;
    }
    
    .featured-prev {
        left: 20px;
    }
    
    .featured-next {
        right: 20px;
    }
}

@media (max-width: 768px) {
    .header {
        background-attachment: scroll;
    }
    
    .hero-image {
        background-attachment: scroll;
    }
    
    .company-intro-section {
        padding: 80px 0;
    }

    .intro-text-content {
        margin-bottom: 60px;
    }

    .intro-text-content h2 {
        font-size: 2.5rem;
    }

    .intro-description {
        font-size: 1.05rem;
    }

    .intro-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .services-section {
        background-attachment: scroll;
    }
    
    .gallery-section {
        background-attachment: scroll;
    }
    
    /* Mobile carousel styles */
    .featured-prev,
    .featured-next {
        width: 40px;
        height: 40px;
    }
    
    .featured-prev {
        left: 10px;
    }
    
    .featured-next {
        right: 10px;
    }
    
    .featured-indicators {
        bottom: 20px;
    }
    
    .featured-indicators .indicator {
        width: 10px;
        height: 10px;
    }
    
    .cta-section {
        background-attachment: scroll;
    }
    
    
    .image-breaker-bg {
        background-attachment: scroll;
    }
    
    .news-section {
        background-attachment: scroll;
        padding: 80px 0;
    }
    
    .news-section::before {
        background-color: rgba(255, 255, 255, 0.95);
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .news-item {
        padding: 30px;
        margin: 0 10px;
    }
    
    .contact-section {
        background-attachment: scroll;
    }
    
    .contact-header {
        padding: 80px 0 60px;
    }
    
    .contact-header h2 {
        font-size: 2.5rem;
    }
    
    .contact-content {
        padding: 60px 0 80px;
    }
    
    .contact-form-wrapper {
        margin: 0 20px;
        padding: 40px 30px;
        border-radius: 15px;
    }
    
    .form-header h3 {
        font-size: 1.8rem;
    }
    
    .company-intro-section {
        padding: 60px 0;
    }

    .intro-text-content {
        margin-bottom: 50px;
        padding: 0 20px;
    }

    .intro-text-content h2 {
        font-size: 2rem;
    }

    .intro-description {
        font-size: 1rem;
        text-align: left;
    }

    .intro-stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 20px;
    }

    .intro-stat-item {
        padding: 30px 20px;
    }
    
    .stat-number {
        font-size: 3rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }

    .fixed-contact-button {
        top: auto;
        bottom: 20px;
        right: 20px;
        transform: none;
    }
    
    .contact-btn {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        box-shadow: 0 5px 20px rgba(201, 48, 44, 0.3);
    }
    
    .contact-btn:hover {
        transform: scale(1.1);
        box-shadow: 0 8px 30px rgba(201, 48, 44, 0.5);
    }
    
    .contact-btn svg {
        width: 24px;
        height: 24px;
    }

    .header-top {
        display: none;
    }
    
    .header-main {
        padding: 10px 0;
    }
    
    .logo img {
        height: 80px;
    }
    
    .main-nav {
        display: none;
        position: fixed;
        top: 85px;
        left: 0;
        right: 0;
        background-color: white;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 20px;
        z-index: 999;
        max-height: calc(100vh - 85px);
        overflow-y: auto;
    }
    
    .main-nav.active {
        display: block !important;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }
    
    .main-nav ul li {
        border-bottom: 1px solid var(--border-color);
    }
    
    .main-nav ul li:last-child {
        border-bottom: none;
    }
    
    .main-nav ul li a {
        display: block;
        padding: 15px 10px;
        font-size: 16px;
    }
    
    .main-nav ul li a:hover,
    .main-nav ul li a.active {
        background-color: var(--bg-light);
        color: var(--accent-color);
    }
    
    .mobile-menu-toggle {
        display: flex;
        cursor: pointer;
        position: relative;
        z-index: 1001;
    }
    
    .mobile-menu-toggle span {
        transition: all 0.3s ease;
    }
    
    .hero {
        margin-top: 85px;
        height: calc(100vh - 85px);
        min-height: 500px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .projects-grid,
    .services-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .info-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 20px;
    }

    .info-card {
        padding: 35px 25px;
    }

    .info-card-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }

    .info-card h3 {
        font-size: 1.2rem;
    }

    .contact-info-cards {
        padding: 0 0 40px;
    }

    .contact-header {
        padding: 60px 0;
    }

    .contact-content {
        padding: 60px 0;
    }
    
    .contact-form-wrapper {
        padding: 30px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer-about {
        grid-column: 1;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .btn-primary,
    .btn-outline {
        padding: 12px 30px;
        font-size: 14px;
    }
    
    .project-content,
    .service-card,
    .news-item {
        padding: 20px;
    }
}

/* ============================================
   CONTACT PAGE ANIMATIONS
   ============================================ */

/* Contact Card Animations */
.contact-info-card {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.animate-card {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
}

.animate-card.animate-in {
    animation: cardFadeInUp 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

@keyframes cardFadeInUp {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Enhanced Card Hover Effects */
.contact-info-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(163, 0, 24, 0.15);
}

.contact-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(163, 0, 24, 0.05), transparent);
    transition: left 0.6s ease;
}

.contact-info-card:hover::before {
    left: 100%;
}

/* Icon Animations */
.card-icon {
    transition: all 0.3s ease;
    display: inline-block;
}

.contact-info-card:hover .card-icon {
    transform: rotateY(360deg) scale(1.1);
    color: #a30018;
}

@keyframes iconBounce {
    0%, 100% { transform: translateY(0); }
    25% { transform: translateY(-8px); }
    50% { transform: translateY(0); }
    75% { transform: translateY(-4px); }
}

/* Form Field Animations */
.form-group {
    position: relative;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.form-group.focused label {
    color: #a30018;
    transform: translateY(-2px);
    font-size: 0.9em;
}

.form-group input,
.form-group textarea,
.form-group select {
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: #a30018;
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(163, 0, 24, 0.1);
}

/* Animated Underline for Inputs */
.form-group::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #a30018;
    transition: width 0.4s ease;
}

.form-group.focused::after {
    width: 100%;
}

/* Button Ripple Effect */
.btn-primary, .btn-secondary {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: scale(0);
    animation: rippleEffect 0.6s ease-out;
}

@keyframes rippleEffect {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Success Button Animation */
.btn-primary.success {
    background: #4CAF50;
    animation: successPulse 0.6s ease;
}

@keyframes successPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Spinner Animation */
.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* Map Animation */
.map-area {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.map-area.map-animate-in {
    opacity: 1;
    transform: translateX(0);
}

/* Page Hero Animation */
.page-hero {
    position: relative;
    overflow: hidden;
}

.page-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 1.5s ease;
}

.page-hero.animated::after {
    left: 100%;
}

.page-hero h1 {
    opacity: 0;
    transform: translateY(30px);
    animation: heroTextReveal 1s ease forwards;
    animation-delay: 0.3s;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.9), 
                 1px 1px 3px rgba(0, 0, 0, 0.8),
                 0 0 20px rgba(0, 0, 0, 0.8);
}

.page-hero p {
    opacity: 0;
    transform: translateY(20px);
    animation: heroTextReveal 1s ease forwards;
    animation-delay: 0.5s;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9),
                 1px 1px 2px rgba(0, 0, 0, 0.8),
                 0 0 15px rgba(0, 0, 0, 0.7);
}

@keyframes heroTextReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Link Hover Animation */
.contact-info-card a {
    position: relative;
    display: inline-block;
    transition: color 0.3s ease;
}

.contact-info-card a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #a30018;
    transition: width 0.3s ease;
}

.contact-info-card a:hover::after {
    width: 100%;
}

/* Floating Animation for Icons */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.contact-info-card:hover .card-icon svg {
    animation: float 2s ease-in-out infinite;
}

/* Pulse Animation for Phone Icon */
.contact-info-card:nth-child(2) .card-icon {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Stagger Animation for Cards */
.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.contact-info-card:nth-child(1) { animation-delay: 0.1s; }
.contact-info-card:nth-child(2) { animation-delay: 0.2s; }
.contact-info-card:nth-child(3) { animation-delay: 0.3s; }
.contact-info-card:nth-child(4) { animation-delay: 0.4s; }

/* Form Row Animation */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    opacity: 0;
    animation: slideInFromBottom 0.6s ease forwards;
}

.form-row:nth-child(1) { animation-delay: 0.2s; }
.form-row:nth-child(2) { animation-delay: 0.3s; }

@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Animations */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-info-card:hover {
        transform: translateY(-5px) scale(1.01);
    }
}

/* Dropdown Menu Styles */
.main-nav > ul > li {
    position: relative;
    /* Prevent flex items from growing/shrinking to maintain stable layout */
    flex-shrink: 0;
    flex-grow: 0;
}

.main-nav > ul > li.has-dropdown > a {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    flex-direction: row-reverse;
    /* Ensure the link width doesn't change on hover */
    width: max-content;
}

.main-nav > ul > li.has-dropdown > a::after {
    content: '▼';
    display: inline-block;
    font-size: 9px;
    color: #c9302c;
    transition: transform 0.3s ease, color 0.3s ease;
    line-height: 1;
    will-change: transform;
    flex-shrink: 0;
    order: -1;
}

.main-nav > ul > li.has-dropdown:hover > a::after {
    transform: rotate(180deg);
    color: #a02622;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: white;
    min-width: 240px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.12), 0 2px 10px rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    opacity: 0;
    visibility: hidden;
    z-index: 9999;
    overflow: hidden;
    padding: 12px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    /* Critical: Ensure dropdown is completely removed from document flow */
    pointer-events: none;
    /* Prevent any width calculation impact on parent */
    width: max-content;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background: white;
    border-left: 1px solid rgba(0, 0, 0, 0.06);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    transform: translateX(-50%) rotate(45deg);
    box-shadow: -3px -3px 5px rgba(0, 0, 0, 0.02);
}

.main-nav > ul > li.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    /* Re-enable pointer events when visible so users can interact with it */
    pointer-events: auto;
}

.dropdown-menu li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.dropdown-menu li a {
    display: flex;
    align-items: center;
    padding: 14px 18px;
    color: #2c3e50;
    font-size: 15px;
    font-weight: 500;
    position: relative;
    white-space: nowrap;
    border-radius: 10px;
    transition: all 0.25s ease;
    gap: 12px;
}

.dropdown-menu li a svg {
    flex-shrink: 0;
    transition: transform 0.25s ease;
    stroke: #c9302c;
}

.dropdown-menu li a:hover {
    background: linear-gradient(135deg, rgba(201, 48, 44, 0.08) 0%, rgba(201, 48, 44, 0.04) 100%);
    color: #c9302c;
    transform: translateX(4px);
    padding-left: 22px;
}

.dropdown-menu li a:hover svg {
    transform: scale(1.1);
}

.dropdown-menu li a.active {
    background: linear-gradient(135deg, rgba(201, 48, 44, 0.12) 0%, rgba(201, 48, 44, 0.06) 100%);
    color: #c9302c;
    font-weight: 600;
}

.dropdown-menu li a.active::after {
    content: '';
    position: absolute;
    right: 14px;
    width: 6px;
    height: 6px;
    background: #c9302c;
    border-radius: 50%;
}

/* Active state for parent when child is active */
.main-nav > ul > li.has-dropdown.active > a {
    color: #333;
}

/* Dropdown item spacing and animation */
.dropdown-menu li {
    opacity: 0;
    transform: translateY(-5px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.main-nav > ul > li.has-dropdown:hover .dropdown-menu li {
    opacity: 1;
    transform: translateY(0);
}

.main-nav > ul > li.has-dropdown:hover .dropdown-menu li:nth-child(1) {
    transition-delay: 0.05s;
}

.main-nav > ul > li.has-dropdown:hover .dropdown-menu li:nth-child(2) {
    transition-delay: 0.1s;
}

.dropdown-menu li + li {
    margin-top: 4px;
}

.dropdown-menu li:first-child a {
    margin-top: 0;
}

.dropdown-menu li:last-child a {
    margin-bottom: 0;
}

/* Add hover bridge to prevent dropdown from closing */
.main-nav > ul > li.has-dropdown::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 15px;
    background: transparent;
}

/* Mobile Dropdown Styles */
@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-top: none;
        background: var(--bg-light);
        margin-left: 20px;
        margin-top: 10px;
        border-radius: 0;
        display: none;
    }
    
    .main-nav ul li.has-dropdown.open .dropdown-menu {
        display: block;
    }
    
    .main-nav ul li.has-dropdown > a::after {
        float: right;
        transition: transform 0.3s ease;
    }
    
    .main-nav ul li.has-dropdown.open > a::after {
        transform: rotate(180deg);
    }
}

/* Projects Hero Section Enhanced */
.projects-hero {
    position: relative;
    overflow: hidden;
    min-height: 600px;
}

.projects-hero .hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    min-height: 500px;
}

.projects-hero .hero-text {
    z-index: 2;
}

.projects-hero .hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.projects-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.1;
}

.projects-hero .hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.projects-hero .stat-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.projects-hero .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    line-height: 1;
}

.projects-hero .stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.projects-hero .hero-graphic {
    position: relative;
    height: 100%;
    min-height: 400px;
}

.projects-hero .floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    width: 280px;
    top: 50px;
    right: 50px;
    animation: float 6s ease-in-out infinite;
    backdrop-filter: blur(10px);
}

.projects-hero .floating-card.secondary {
    top: auto;
    bottom: 50px;
    right: 150px;
    animation-delay: 3s;
}

.projects-hero .card-icon {
    color: var(--accent-color);
    margin-bottom: 20px;
}

.projects-hero .card-content h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.projects-hero .card-content p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.95rem;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.3;
}

@media (max-width: 1024px) {
    .projects-hero .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .projects-hero .hero-graphic {
        display: none;
    }
    
    .projects-hero .hero-stats {
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .projects-hero .hero-stats {
        gap: 30px;
    }
    
    .projects-hero .stat-number {
        font-size: 2rem;
    }
}
