/* Import Moret Semibold Font */
@font-face {
    font-family: 'Moret';
    src: url('https://fonts.adobe.com/fonts/moret') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* CSS Custom Properties - Updated with Moret Semibold Font */
:root {
    --primary-color: #E7BF8B;
    --secondary-color: #1A1A1A;
    --accent-color: #E7BF8B;

    --dark-color: #000000;
    --light-color: #FFFFFF;
    --grey-color: #666666;
    --border-color: #E8E8E8;

    --gold-light: #F4E99B;
    --gold-dark: #B8860B;
    --gold-metallic: #E7BF8B;

    --success-color: #228B22;
    --error-color: #DC143C;
    --warning-color: #FF8C00;
    --info-color: #4682B4;

    --bg-dark: #0D0D0D;
    --bg-light: #F8F8F8;
    --bg-gold: rgba(231,191,139,0.1);

    /* Typography - Updated with Moret Semibold */
    --font-family: 'Moret', Georgia, serif;
    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-bold: 600;
    --font-weight-semi-bold: 600;

    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(231,191,139,0.1);
    --shadow-md: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(231,191,139,0.15);
    --shadow-lg: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(231,191,139,0.2);
    --shadow-gold: 0 0 20px rgba(231,191,139,0.3);

    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 12px;

    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Global Styles using Moret */
body {
    font-family: var(--font-family);
    font-weight: var(--font-weight-semi-bold);
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
    overflow-x: hidden;
    letter-spacing: 0.02em;
    font-feature-settings: "liga" 1, "kern" 1;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family);
    font-weight: var(--font-weight-bold);
    line-height: 1.3;
    letter-spacing: 0.01em;
    font-feature-settings: "liga" 1, "kern" 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    color: white;
    text-shadow: 0 4px 8px rgba(0,0,0,0.5);
    letter-spacing: -0.02em;
}

.section-title {
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--secondary-color);
    margin-bottom: var(--spacing-md);
    position: relative;
    text-shadow: 0 2px 4px rgba(231,191,139,0.1);
    letter-spacing: -0.01em;
}

.service-title,
.service-card h3 {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-color) !important;
    margin-bottom: var(--spacing-md);
    text-shadow: 0 2px 4px rgba(0,0,0,0.7);
    letter-spacing: 0.01em;
}

.timeline-content h4 {
    font-size: 1.125rem;
    font-weight: var(--font-weight-semi-bold);
    color: var(--primary-color) !important;
    margin-bottom: var(--spacing-xs);
    text-shadow: 0 1px 2px rgba(231,191,139,0.2);
}

.btn {
    font-family: var(--font-family);
    font-weight: var(--font-weight-semi-bold);
    letter-spacing: 0.02em;
    text-transform: uppercase;
    font-size: 0.95rem;
}

.company-name {
    font-family: var(--font-family);
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.01em;
}

.form-input,
.form-select,
.form-textarea {
    font-family: var(--font-family);
    font-weight: var(--font-weight-regular);
    letter-spacing: 0.01em;
}

.footer-logo h3,
.footer-section h4 {
    font-family: var(--font-family);
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.01em;
}

p, .service-description, .footer-description {
    font-family: var(--font-family);
    font-weight: var(--font-weight-regular);
    line-height: 1.7;
    letter-spacing: 0.01em;
}
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-weight: var(--font-weight-regular);
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
    overflow-x: hidden;
}

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-color);
    color: var(--dark-color);
    padding: 8px;
    text-decoration: none;
    border-radius: var(--border-radius-sm);
    z-index: 10000;
    transition: top var(--transition-fast);
    font-weight: var(--font-weight-semi-bold);
}

.skip-link:focus {
    top: 6px;
}

/* FIXED: Loading Screen - Updated with Complete Management */
.loader-wrapper {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(135deg,
    var(--secondary-color) 0%,
    #0a0a0a 50%,
    var(--bg-dark) 100%) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    z-index: 99999 !important;
    font-family: var(--font-family);
    overflow: hidden;
    backdrop-filter: blur(2px);
    }

.loader-wrapper.hidden {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: scale(0.95) !important;
}

/* FIXED: Scroll Progress Indicator - Completely Hidden During Loading */
.scroll-progress {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 3px !important;
    background: linear-gradient(90deg, var(--primary-color), var(--gold-light)) !important;
    z-index: 1000 !important;
    transition: width 0.1s ease !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(-100%) !important;
}

.scroll-progress.visible {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

.scroll-progress.loading-active {
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(-100%) !important;
    width: 0% !important;
    display: none !important;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #1A1A1A;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: none; /* Remove this line */
    z-index: 1000;
    transition: all var(--transition-normal);
}

.header.scrolled {
    background: rgba(26, 26, 26, 0.95);
    box-shadow: none;
}

.navbar {
    padding: var(--spacing-sm) 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.logo {
    height: 80px;
    width: auto;
}

.company-name {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
    text-shadow: 0 1px 2px rgba(231, 191, 139, 0.2);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--light-color);
    font-weight: var(--font-weight-semi-bold);
    position: relative;
    padding: var(--spacing-xs) 0;
    transition: color var(--transition-fast);
    outline: none !important;
    box-shadow: none !important;
}

.header.scrolled .nav-link {
    color: white;
}


.nav-link:hover {
    color: var(--primary-color);
}

.nav-link.active {
    color: var(--primary-color) !important;
}

.nav-link:focus,
.nav-link:active,
.nav-link:focus-visible {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}


.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--secondary-color);
    margin: 3px 0;
    transition: var(--transition-normal);
    transform-origin: center;
}

.header.scrolled .hamburger span {
    background: var(--accent-color);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Section Styles */
section {
    padding: var(--spacing-xxl) 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xxl);
}

.section-title {
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--secondary-color);
    margin-bottom: var(--spacing-md);
    position: relative;
    text-shadow: 0 2px 4px rgba(231, 191, 139, 0.1);
}

.section-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--gold-metallic));
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--grey-color);
    max-width: 600px;
    margin: 0 auto;
    font-weight: var(--font-weight-medium);
}

/* Hero Section - Updated with Perfect Center Alignment */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--bg-dark) 100%);
}

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

.parallax-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 120%;
    height: 120%;
    background: url('../images/hero-construction-bg.jpg') center/cover;
    opacity: 0.2;
    will-change: transform;
}

.construction-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.construction-particles::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('../images/construction-particles.png') repeat;
    animation: particlesFloat 20s linear infinite;
    opacity: 0.1;
}

/* Perfect Hero Content Center Alignment */
.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    padding: 0 var(--spacing-md);
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 100vh;
}

.hero-text-container {
    max-width: 700px;
    margin-bottom: var(--spacing-xxl);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    color: white;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    font-family: var(--font-family);
}

.title-line {
    display: block;
}

.typing-text {
    color: var(--accent-color);
    white-space: nowrap;
    overflow: hidden;
    border-right: 3px solid var(--accent-color); /* Optional: Remove if you don't want the cursor */
    animation: simpleTyping 4s steps(30, end) forwards;
    display: inline-block;
    max-width: 100%;
    text-shadow: none;
  }
  
.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-sm);
    line-height: 1.6;
    font-weight: var(--font-weight-medium);
}

/* Perfect Center Alignment for Hero Buttons */
.hero-buttons {
    display: flex !important;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    margin: 2rem;
    text-align: center !important;
}

.btn {
    padding: var(--spacing-md) var(--spacing-xl);
    border: none;
    border-radius: var(--border-radius-md);
    font-size: 1rem;
    font-weight: var(--font-weight-semi-bold);
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-normal);
    min-width: 150px;
    font-family: var(--font-family);
    margin: 0 auto;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), var(--gold-metallic));
    color: var(--dark-color);
    font-weight: var(--font-weight-bold);
    box-shadow: var(--shadow-gold);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    background: linear-gradient(45deg, var(--gold-metallic), var(--accent-color));
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(231, 191, 139, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid var(--accent-color);
}

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

.hero-stats {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: flex-start;
    gap: var(--spacing-xl); /* Ensure enough gap between items */
}

.stat-item {
    flex: 0 0 auto;
    min-width: 120px; /* Adjust size as needed */
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--accent-color);
    display: block;
    text-shadow: 0 0 10px rgba(231, 191, 139, 0.3);
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: var(--font-weight-medium);
}

/* About Section */
.about {
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
    align-items: start;
}

.mission-statement {
    margin-bottom: var(--spacing-xl);
}

.mission-statement h3 {
    font-size: 2rem;
    font-weight: var(--font-weight-bold);
    color: var(--secondary-color);
    margin-bottom: var(--spacing-md);
}

.company-values h3 {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--secondary-color);
    margin-bottom: var(--spacing-md);
}

.values-list {
    list-style: none;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-md);
    background: var(--bg-light);
    border-radius: var(--border-radius-md);
    transition: transform var(--transition-normal);
    border-left: 4px solid var(--primary-color);
}

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

.value-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.value-content h4 {
    font-size: 1.125rem;
    font-weight: var(--font-weight-semi-bold);
    color: var(--secondary-color);
    margin-bottom: var(--spacing-xs);
}

.timeline {
    position: relative;
    padding-left: var(--spacing-lg);
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-color), var(--gold-metallic));
}

.timeline-item {
    position: relative;
    margin-bottom: var(--spacing-xl);
}

.timeline-item::before {
    content: attr(data-year);
    position: absolute;
    left: -60px;
    top: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, var(--primary-color), var(--gold-metallic));
    color: var(--dark-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--font-weight-bold);
    font-size: 0.875rem;
    box-shadow: var(--shadow-gold);
}

.timeline-content {
    background: #1A1A1A;
    color: white;
    padding: var(--spacing-md);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    margin-left: var(--spacing-md);
    border-left: 3px solid var(--primary-color);
}

/* Timeline content h4 styling with gold color */
.timeline-content h4 {
    font-size: 1.125rem;
    font-weight: var(--font-weight-semi-bold);
    color: var(--primary-color) !important; /* Gold color #E7BF8B */
    margin-bottom: var(--spacing-xs);
    text-shadow: 0 1px 2px rgba(231, 191, 139, 0.2);
}

/* Services Section - Updated with White Text and Gold Titles */
.services {
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-xl);
}

.service-card {
    background: linear-gradient(135deg, var(--secondary-color), var(--bg-dark)) !important;
    color: white;
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(231, 191, 139, 0.1), transparent);
    transition: left 0.5s ease;
}

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

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-gold);
    border-color: var(--primary-color);
}

.service-icon {
    width: 80px;
    height: 80px;
    font-size: 2rem;
    margin: 0 auto var(--spacing-md);
    background: linear-gradient(45deg, var(--primary-color), var(--gold-metallic));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 4px 15px rgba(231, 191, 139, 0.3);
}

/* Service card h3 title styling with gold color */
.service-title,
.service-card h3 {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-color) !important; /* Gold color #E7BF8B */
    margin-bottom: var(--spacing-md);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
}

.service-description {
    color: white !important;
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
    font-weight: var(--font-weight-regular);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.service-features {
    margin-bottom: var(--spacing-lg);
}

.service-features ul {
    list-style: none;
    text-align: left;
}

.service-features li {
    padding: var(--spacing-xs) 0;
    color: white !important;
    position: relative;
    padding-left: var(--spacing-md);
    font-weight: var(--font-weight-regular);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color) !important;
    font-weight: bold;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.service-btn {
    background: var(--dark-color);
    color: var(--accent-color);
    border: 1px solid var(--primary-color);
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--border-radius-md);
    font-weight: var(--font-weight-semi-bold);
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    font-family: var(--font-family);
}

.service-btn:hover {
    background: var(--primary-color);
    color: var(--dark-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

/* Projects Section */
.projects {
    background: white;
}

.project-filters {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
    flex-wrap: wrap;
}

.filter-btn {
    padding: var(--spacing-sm) var(--spacing-lg);
    border: 2px solid var(--border-color);
    background: white;
    color: var(--grey-color);
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    font-weight: var(--font-weight-semi-bold);
    font-family: var(--font-family);
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--dark-color);
    box-shadow: var(--shadow-gold);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.project-item {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    transition: transform var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.project-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-gold);
}

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

.project-placeholder-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    object-fit: cover;
    display: block;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.residential-bg {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.6)), 
                url('image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 300"><rect width="400" height="300" fill="%23654321"/><path d="M50 250h100v-100h100v100h100v-50l-150-100-150 100z" fill="%23E7BF8B"/><rect x="80" y="200" width="20" height="30" fill="%23000"/><rect x="120" y="200" width="20" height="30" fill="%23000"/><rect x="260" y="200" width="20" height="30" fill="%23000"/><rect x="300" y="200" width="20" height="30" fill="%23000"/></svg>');
}

.commercial-bg {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.6)), 
                url('image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 300"><rect width="400" height="300" fill="%23333"/><rect x="50" y="50" width="300" height="200" fill="%23E7BF8B"/><rect x="70" y="70" width="40" height="30" fill="%23000"/><rect x="130" y="70" width="40" height="30" fill="%23000"/><rect x="190" y="70" width="40" height="30" fill="%23000"/><rect x="250" y="70" width="40" height="30" fill="%23000"/><rect x="310" y="70" width="40" height="30" fill="%23000"/></svg>');
}

.infrastructure-bg {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.6)), 
                url('image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 300"><rect width="400" height="300" fill="%23444"/><rect x="0" y="200" width="400" height="100" fill="%23666"/><rect x="50" y="150" width="300" height="50" fill="%23E7BF8B"/><circle cx="100" cy="175" r="15" fill="%23000"/><circle cx="200" cy="175" r="15" fill="%23000"/><circle cx="300" cy="175" r="15" fill="%23000"/></svg>');
}

.industrial-bg {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.6)), 
                url('image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 300"><rect width="400" height="300" fill="%23555"/><rect x="50" y="100" width="300" height="150" fill="%23E7BF8B"/><rect x="100" y="50" width="20" height="50" fill="%23333"/><rect x="150" y="30" width="20" height="70" fill="%23333"/><rect x="200" y="40" width="20" height="60" fill="%23333"/><rect x="250" y="50" width="20" height="50" fill="%23333"/></svg>');
}

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

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(0, 0, 0, 0.9));
    display: flex;
    align-items: flex-end;
    padding: var(--spacing-lg);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

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

.project-info {
    color: white;
    width: 100%;
}

.project-title {
    font-size: 1.375rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-xs);
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
}

.project-category {
    color: var(--gold-dark);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: var(--font-weight-semi-bold);
    margin-bottom: var(--spacing-sm);
}

.project-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.925rem;
    line-height: 1.5;
    font-weight: var(--font-weight-regular);
}

.load-more-btn {
    display: block;
    margin: 0 auto;
    padding: var(--spacing-md) var(--spacing-xl);
    background: var(--secondary-color);
    color: var(--accent-color);
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius-md);
    font-size: 1rem;
    font-weight: var(--font-weight-semi-bold);
    cursor: pointer;
    transition: all var(--transition-normal);
    font-family: var(--font-family);
}

/* Project Loading Animations - Add after existing .load-more-btn styles */
.project-item {
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.hidden-project {
    opacity: 0;
    transform: translateY(20px);
}

.load-more-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

.btn-loader {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 8px;
}

.load-more-btn:hover {
    background: var(--primary-color);
    color: var(--dark-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

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

.contact .section-title {
    color: white;
    text-shadow: 0 2px 4px rgba(231, 191, 139, 0.2);
}

.contact .section-title::after {
    background: linear-gradient(90deg, var(--primary-color), var(--gold-metallic));
}

.contact .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius-md);
    border: 1px solid rgba(231, 191, 139, 0.2);
    transition: transform var(--transition-normal);
}

.contact-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-gold);
}

.contact-icon {
    font-size: 1.5rem;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, var(--primary-color), var(--gold-metallic));
    color: var(--dark-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(231, 191, 139, 0.3);
}

.contact-details h4 {
    font-size: 1.125rem;
    font-weight: var(--font-weight-semi-bold);
    color: var(--accent-color);
    margin-bottom: var(--spacing-xs);
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(231, 191, 139, 0.2);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-label {
    display: block;
    font-weight: var(--font-weight-semi-bold);
    color: var(--accent-color);
    margin-bottom: var(--spacing-xs);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: var(--spacing-md);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-md);
    font-size: 1rem;
    transition: all var(--transition-fast);
    font-family: inherit;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-weight: var(--font-weight-regular);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(231, 191, 139, 0.2);
    background: rgba(255, 255, 255, 0.15);
}

.form-input.error,
.form-select.error,
.form-textarea.error {
    border-color: var(--error-color);
}

.form-input.success,
.form-select.success,
.form-textarea.success {
    border-color: var(--success-color);
}

.error-message {
    color: var(--error-color);
    font-size: 0.875rem;
    margin-top: var(--spacing-xs);
    display: none;
    font-weight: var(--font-weight-medium);
}

.error-message.show {
    display: block;
}

.form-submit {
    width: 100%;
    padding: var(--spacing-md);
    background: linear-gradient(45deg, var(--primary-color), var(--gold-metallic));
    color: var(--dark-color);
    border: none;
    border-radius: var(--border-radius-md);
    font-size: 1.125rem;
    font-weight: var(--font-weight-bold);
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    font-family: var(--font-family);
}

.form-submit:hover:not(:disabled) {
    background: linear-gradient(45deg, var(--gold-metallic), var(--accent-color));
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.form-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-loader {
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid var(--dark-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Updated Footer Styles for Better Alignment */
.footer {
    background: var(--dark-color);
    color: white;
    padding: var(--spacing-xxl) 0 var(--spacing-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
    align-items: start;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-section h4 {
    font-size: 1.25rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-md);
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.footer-logo img {
    height: 100px;
    width: 100px;
    object-fit: contain;
}

.footer-logo h3 {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
    margin: 0;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: var(--spacing-lg);
    font-weight: var(--font-weight-regular);
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: auto;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all var(--transition-normal);
    border: 1px solid rgba(231, 191, 139, 0.3);
}

.social-link:hover {
    background: var(--primary-color);
    color: var(--dark-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}

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

.footer-links li {
    margin-bottom: var(--spacing-sm);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color var(--transition-fast);
    font-weight: var(--font-weight-regular);
    font-size: 0.95rem;
}

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

.footer-links i {
    color: var(--primary-color);
    width: 16px;
    font-size: 0.875rem;
}

.newsletter-form {
    margin-top: var(--spacing-lg);
}

.newsletter-form h4 {
    margin-bottom: var(--spacing-sm);
}

.newsletter-input-group {
    display: flex;
    gap: var(--spacing-xs);
    margin-top: var(--spacing-sm);
}

.newsletter-input {
    flex: 1;
    padding: var(--spacing-sm) var(--spacing-sm);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius-md);
    font-size: 0.875rem;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-family: var(--font-family);
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(231, 191, 139, 0.2);
}

.newsletter-btn {
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--primary-color);
    color: var(--dark-color);
    border: none;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    font-weight: var(--font-weight-semi-bold);
    transition: var(--transition-fast);
    font-family: var(--font-family);
    white-space: nowrap;
}

.newsletter-btn:hover {
    background: var(--gold-metallic);
    transform: translateY(-2px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(231, 191, 139, 0.2);
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
    font-weight: var(--font-weight-regular);
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

.legal-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color var(--transition-fast);
    font-weight: var(--font-weight-regular);
}

.legal-link:hover {
    color: var(--accent-color);
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    padding: var(--spacing-md);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    max-width: 400px;
    transform: translateX(100%);
    transition: transform var(--transition-normal);
    z-index: 10000;
}

.notification.show {
    transform: translateX(0);
}

.notification.success {
    border-left: 4px solid var(--success-color);
}

.notification.error {
    border-left: 4px solid var(--error-color);
}

.notification-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.notification-message {
    flex: 1;
    font-weight: var(--font-weight-semi-bold);
    color: var(--dark-color);
}

.notification-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--grey-color);
    transition: color var(--transition-fast);
}

.notification-close:hover {
    color: var(--dark-color);
}

/* Ripple Effect */
.ripple-effect {
    position: relative;
    overflow: hidden;
}

.ripple-effect::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(231, 191, 139, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.ripple-effect:active::before {
    width: 300px;
    height: 300px;
}

/* Mobile Responsiveness for Footer */
@media (max-width: 768px) {
    /* Hero buttons mobile perfect centering */
    .hero-buttons {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: var(--spacing-sm);
        width: 100% !important;
        margin: -1rem;
        text-align: center !important;
    }

    .hero-buttons .btn {
        width: 100% !important;
        max-width: 280px !important;
        margin: -1rem;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: var(--spacing-xl);
        transition: left var(--transition-normal);
        box-shadow: var(--shadow-lg);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: var(--spacing-md) 0;
    }

    .nav-link {
        font-size: 1.125rem;
    }

    .hamburger {
        display: flex;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
        text-align: center;
    }
    
    .footer-section {
        align-items: center;
    }
    
    .footer-description {
        max-width: 100%;
        text-align: center;
    }
    
    .footer-links {
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-md);
    }
    
    .footer-legal {
        justify-content: center;
    }
    
    .fas {
        text-align: left;
    }

    .newsletter-input-group {
        flex-direction: column;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .newsletter-input {
        text-align: center;
    }

    .timeline-item::before {
        left: -50px;
        width: 40px;
        height: 40px;
        font-size: 0.75rem;
    }

    .project-filters {
        flex-wrap: wrap;
        gap: var(--spacing-xs);
    }

    .filter-btn {
        padding: var(--spacing-xs) var(--spacing-sm);
        font-size: 0.875rem;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr;
        gap: var(--spacing-lg);
    }
    
    .footer-section:last-child {
        grid-column: 1 / -1;
        margin-top: var(--spacing-lg);
        text-align: center;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.hidden { display: none; }
.visible { display: block; }

/* Focus Styles for Accessibility */
button:focus,
input:focus,
select:focus,
textarea:focus,
a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .btn,
    .notification {
        display: none;
    }

    body {
        font-size: 12pt;
        line-height: 1.4;
        color: black;
    }

    .hero {
        min-height: auto;
        padding: 2cm 0;
    }

    .section-title {
        page-break-after: avoid;
    }
}

/* Animation Keyframes */
@keyframes simpleTyping {
    from { width: 0; }
    to { width: 100%; }
  }

@keyframes progressFill {
    0% { width: 0%; }
    100% { width: 100%; }
}

@keyframes particlesFloat {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-100vh) rotate(360deg); }
}

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

.project-placeholder-image {
    width: 100%;
    height: 100%; /* Fixed uniform height */
    overflow: hidden; /* Ensures no overflow */
}

.project-placeholder-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;   /* Crop neatly */
    display: block;
}



